Skip to content

Commit d346bbe

Browse files
authored
update pyproject.toml (#27)
Signed-off-by: Hao Wu <[email protected]>
1 parent 606728a commit d346bbe

File tree

2 files changed

+41
-474
lines changed

2 files changed

+41
-474
lines changed

pyproject.toml

Lines changed: 6 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ dynamic = [
1818
"version",
1919
"readme",
2020
]
21-
description = "NeMo project description"
21+
description = "A research project for emerging optimizers other than AdamW"
2222
license = {file = "LICENSE"}
23-
requires-python = ">=3.10"
23+
requires-python = ">=3.12"
2424
authors = [{ name = "NVIDIA", email = "[email protected]" }]
2525
maintainers = [{ name = "NVIDIA", email = "[email protected]" }]
2626
keywords = [
@@ -36,7 +36,7 @@ keywords = [
3636
"torch",
3737
]
3838
classifiers = [
39-
"Development Status :: 5 - Production/Stable",
39+
"Development Status :: 4 - Beta",
4040
"Environment :: Console",
4141
"Intended Audience :: Developers",
4242
"Intended Audience :: Information Technology",
@@ -45,7 +45,7 @@ classifiers = [
4545
"Natural Language :: English",
4646
"Operating System :: OS Independent",
4747
"Programming Language :: Python :: 3",
48-
"Programming Language :: Python :: 3.10",
48+
"Programming Language :: Python :: 3.12",
4949
"Topic :: Scientific/Engineering :: Artificial Intelligence",
5050
"Topic :: Scientific/Engineering :: Image Recognition",
5151
"Topic :: Scientific/Engineering :: Mathematics",
@@ -79,9 +79,6 @@ test = [
7979
"coverage>=7.8.1",
8080
"flake8>=7.2.0",
8181
"pylint>=3.3.7",
82-
"pytest>=8.3.5",
83-
"pytest-mock>=3.14.0",
84-
"pytest-runner>=6.0.1",
8582
]
8683
dev = [
8784
"pre-commit>=3.6.0",
@@ -92,8 +89,8 @@ dev = [
9289
[tool.uv]
9390
managed = true
9491

95-
[tool.setuptools]
96-
packages = ["emerging_optimizers"]
92+
[tool.setuptools.packages.find]
93+
include = ["emerging_optimizers", "emerging_optimizers.*"]
9794

9895
[tool.setuptools.dynamic]
9996
version = {attr = "emerging_optimizers.__version__"}
@@ -103,42 +100,8 @@ readme = {file = "README.md", content-type = "text/markdown"}
103100
Download = "https://github.com/NVIDIA-NeMo/Emerging-Optimizers/releases"
104101
Homepage = "https://github.com/NVIDIA-NeMo/Emerging-Optimizers"
105102

106-
[tool.pytest.ini_options]
107-
# durations=0 will display all tests execution time, sorted in ascending order starting from from the slowest one.
108-
# -vv will also display tests with durration = 0.00s
109-
addopts = "--verbose --pyargs --durations=0 --strict-markers" # always add these arguments to pytest
110-
testpaths = ["tests"]
111-
# directories to ignore when discovering tests
112-
norecursedirs = [
113-
"emerging_optimizers",
114-
"external",
115-
"examples",
116-
"docs",
117-
"scripts",
118-
"tools",
119-
"tutorials",
120-
"*.egg",
121-
".*",
122-
"_darcs",
123-
"build",
124-
"CVS",
125-
"dist",
126-
"venv",
127-
"{arch}"
128-
]
129-
# markers to select tests, use `pytest --markers` to see all available markers, `pytest -m "<marker>"` to select tests
130-
markers = [
131-
"unit: marks unit test, i.e. testing a single, well isolated functionality (deselect with '-m \"not unit\"')",
132-
"integration: marks test checking the elements when integrated into subsystems (deselect with '-m \"not integration\"')",
133-
"system: marks test working at the highest integration level (deselect with '-m \"not system\"')",
134-
"acceptance: marks test checking whether the developed product/model passes the user defined acceptance criteria (deselect with '-m \"not acceptance\"')",
135-
"docs: mark tests related to documentation (deselect with '-m \"not docs\"')",
136-
"skipduringci: marks tests that are skipped ci as they are addressed by Jenkins jobs but should be run to test user setups",
137-
"pleasefixme: marks tests that are broken and need fixing",
138-
]
139103

140104
[tool.ruff]
141-
142105
# Match black's line length
143106
line-length = 119
144107
target-version = "py310"

0 commit comments

Comments
 (0)