@@ -13,14 +13,10 @@ name = "numcodecs"
1313description = """
1414A Python package providing buffer compression and transformation codecs \
1515for use in data storage and communication applications."""
16- readme = " README.rst"
17- dependencies = [
18- " numpy>=1.24" ,
19- ]
16+ readme = " README.rst"
17+ dependencies = [" numpy>=1.24" , " deprecated" ]
2018requires-python = " >=3.11"
21- dynamic = [
22- " version" ,
23- ]
19+ dynamic = [" version" ]
2420classifiers = [
2521 " Development Status :: 4 - Beta" ,
2622 " Intended Audience :: Developers" ,
@@ -33,9 +29,7 @@ classifiers = [
3329 " Programming Language :: Python :: 3" ,
3430 " Programming Language :: Python :: 3 :: Only" ,
3531]
36- maintainers = [
37- {
name =
" Alistair Miles" ,
email =
" [email protected] " },
38- ]
32+ maintainers = [{
name =
" Alistair Miles" ,
email =
" [email protected] " }]
3933license = { text = " MIT" }
4034
4135[project .urls ]
@@ -45,33 +39,13 @@ Documentation = "https://numcodecs.readthedocs.io/"
4539Homepage = " https://github.com/zarr-developers/numcodecs"
4640
4741[project .optional-dependencies ]
48- docs = [
49- " sphinx" ,
50- " sphinx-issues" ,
51- " pydata-sphinx-theme" ,
52- " numpydoc" ,
53- ]
54- test = [
55- " coverage" ,
56- " pytest" ,
57- " pytest-cov" ,
58- ]
59- test_extras = [
60- " importlib_metadata" ,
61- ]
62- msgpack = [
63- " msgpack" ,
64- ]
65- zfpy = [
66- " zfpy>=1.0.0" ,
67- " numpy<2.0.0" ,
68- ]
69- pcodec = [
70- " pcodec>=0.2,<0.3" ,
71- ]
72- crc32c = [
73- " crc32c>=2.7" ,
74- ]
42+ docs = [" sphinx" , " sphinx-issues" , " pydata-sphinx-theme" , " numpydoc" ]
43+ test = [" coverage" , " pytest" , " pytest-cov" ]
44+ test_extras = [" importlib_metadata" ]
45+ msgpack = [" msgpack" ]
46+ zfpy = [" zfpy>=1.0.0" , " numpy<2.0.0" ]
47+ pcodec = [" pcodec>=0.2,<0.3" ]
48+ crc32c = [" crc32c>=2.7" ]
7549
7650[project .entry-points ."zarr .codecs" ]
7751"numcodecs.blosc" = " numcodecs.zarr3:Blosc"
@@ -98,14 +72,14 @@ crc32c = [
9872
9973[tool .setuptools ]
10074license-files = [" LICENSE.txt" ]
101- package-dir = {"" = " ." }
75+ package-dir = { "" = " ." }
10276packages = [" numcodecs" , " numcodecs.tests" ]
10377zip-safe = false
10478
10579[tool .setuptools .package-data ]
10680numcodecs = [
10781 " tests/package_with_entrypoint/__init__.py" ,
108- " tests/package_with_entrypoint-0.1.dist-info/entry_points.txt"
82+ " tests/package_with_entrypoint-0.1.dist-info/entry_points.txt" ,
10983]
11084
11185[tool .setuptools_scm ]
@@ -118,13 +92,25 @@ skip = "./.git,fixture"
11892ignore-words-list = " ba, compiletime, hist, nd, unparseable"
11993
12094[tool .coverage .report ]
121- exclude_lines = [
122- " pragma: no cover" ,
123- " pragma: ${PY_MAJOR_VERSION} no cover" ,
124- ]
95+ exclude_lines = [" pragma: no cover" , " pragma: ${PY_MAJOR_VERSION} no cover" ]
12596
12697[tool .repo-review ]
127- ignore = [" PY005" , " PY007" , " PP302" , " PP308" , " PP309" , " GH103" , " GH212" , " PC111" , " PC140" , " PC160" , " PC170" , " PC180" , " MY100" , " RF103" ]
98+ ignore = [
99+ " PY005" ,
100+ " PY007" ,
101+ " PP302" ,
102+ " PP308" ,
103+ " PP309" ,
104+ " GH103" ,
105+ " GH212" ,
106+ " PC111" ,
107+ " PC140" ,
108+ " PC160" ,
109+ " PC170" ,
110+ " PC180" ,
111+ " MY100" ,
112+ " RF103" ,
113+ ]
128114
129115[tool .pytest .ini_options ]
130116addopts = " -ra --strict-config --strict-markers --cov=numcodecs --cov-report xml --doctest-modules --doctest-glob=*.pyx"
@@ -133,9 +119,7 @@ doctest_optionflags = [
133119 " ELLIPSIS" ,
134120 " IGNORE_EXCEPTION_DETAIL" ,
135121]
136- testpaths = [
137- " numcodecs/tests" ,
138- ]
122+ testpaths = [" numcodecs/tests" ]
139123norecursedirs = [
140124 " .git" ,
141125 " .github" ,
@@ -150,17 +134,15 @@ norecursedirs = [
150134]
151135log_cli_level = " INFO"
152136xfail_strict = true
153- filterwarnings = [
154- " error" ,
155- ]
137+ filterwarnings = [" error" ]
156138
157139[tool .cibuildwheel ]
158- environment = { DISABLE_NUMCODECS_AVX2 = 1 }
140+ environment = { DISABLE_NUMCODECS_AVX2 = 1 }
159141[tool .cibuildwheel .macos ]
160- environment = { MACOSX_DEPLOYMENT_TARGET = 10.9 , DISABLE_NUMCODECS_AVX2 = 1 , CFLAGS = " $CFLAGS -Wno-implicit-function-declaration" }
142+ environment = { MACOSX_DEPLOYMENT_TARGET = 10.9 , DISABLE_NUMCODECS_AVX2 = 1 , CFLAGS = " $CFLAGS -Wno-implicit-function-declaration" }
161143[[tool .cibuildwheel .overrides ]]
162144select = " *-macosx_arm64"
163- environment = { DISABLE_NUMCODECS_AVX2 = 1 , DISABLE_NUMCODECS_SSE2 = 1 }
145+ environment = { DISABLE_NUMCODECS_AVX2 = 1 , DISABLE_NUMCODECS_SSE2 = 1 }
164146
165147[tool .ruff ]
166148line-length = 100
@@ -189,13 +171,13 @@ ignore = [
189171 " FURB101" ,
190172 " FURB103" ,
191173 " PT001" ,
192- " PT004" , # deprecated
193- " PT005" , # deprecated
174+ " PT004" , # deprecated
175+ " PT005" , # deprecated
194176 " PT011" ,
195- " RUF001" ,
177+ " RUF001" ,
196178 " UP007" ,
197- " UP027" , # deprecated
198- " UP038" , # https://github.com/astral-sh/ruff/issues/7871
179+ " UP027" , # deprecated
180+ " UP038" , # https://github.com/astral-sh/ruff/issues/7871
199181]
200182
201183[tool .ruff .format ]
0 commit comments