Skip to content

Commit 8811a42

Browse files
committed
Loosen requirements/unify dev envs
This change makes it possible to run tox against python 3.9-3.13 with a supporting pyproject.toml file (forthcoming). This also unbreaks installing the dev package under python 3.9 by loosening the required version for numpy. Signed-off-by: Enji Cooper <[email protected]>
1 parent da20fca commit 8811a42

6 files changed

+26
-49
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
- [Extract](https://zepworks.com/deepdiff/current/extract.html): Extract an item from a nested Python object using its path.
1616
- [commandline](https://zepworks.com/deepdiff/current/commandline.html): Use DeepDiff from commandline.
1717

18-
Tested on Python 3.8+ and PyPy3.
18+
Tested on Python 3.9+ and PyPy3.
1919

2020
- **[Documentation](https://zepworks.com/deepdiff/8.4.2/)**
2121

requirements-cli.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
click==8.1.8
2-
pyyaml==6.0.2
1+
click~=8.1.8
2+
pyyaml~=6.0.2

requirements-dev.txt

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
-r requirements.txt
22
-r requirements-cli.txt
3-
bump2version==1.0.1
4-
jsonpickle==4.0.1
5-
coverage==7.6.10
6-
ipdb==0.13.13
7-
numpy==2.2.2
8-
pytest==8.3.4
9-
pytest-cov==6.0.0
10-
python-dotenv==1.0.1
11-
flake8==7.1.1
12-
python-dateutil==2.9.0.post0
13-
orjson==3.10.15
14-
wheel==0.45.1
15-
tomli==2.2.1
16-
tomli-w==1.2.0
17-
pydantic==2.10.6
18-
pytest-benchmark==5.1.0
19-
pandas==2.2.3
20-
polars==1.21.0
21-
setuptools==75.8.0
22-
types-setuptools==75.8.0
3+
bump2version~=1.0.1
4+
jsonpickle~=4.0.1
5+
coverage~=7.6.10
6+
ipdb~=0.13.13
7+
numpy~=2.2.2; python_version >= '3.10'
8+
numpy~=2.0; python_version < '3.10'
9+
pytest~=8.3.4
10+
pytest-cov~=6.0.0
11+
python-dotenv~=1.0.1
12+
flake8~=7.1.1
13+
python-dateutil~=2.9.0.post0
14+
orjson~=3.10.15
15+
wheel~=0.45.1
16+
tomli~=2.2.1
17+
tomli-w~=1.2.0
18+
pydantic~=2.10.6
19+
pytest-benchmark~=5.1.0
20+
pandas~=2.2.3
21+
polars~=1.21.0
22+
setuptools~=75.8.0; python_version > '3.8'

requirements-dev3.8.txt

-20
This file was deleted.

requirements-docs.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Sphinx==6.2.1 # We use the html style that is not supported in Sphinx 7 anymore.
2-
sphinx-sitemap==2.6.0
3-
sphinxemoji==0.3.1
1+
Sphinx~=6.2.1 # We use the html style that is not supported in Sphinx 7 anymore.
2+
sphinx-sitemap~=2.6.0
3+
sphinxemoji~=0.3.1

tests/test_serialization.py

-3
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,6 @@ def prefix_callback(**kwargs):
393393
(9, np.array([[ 101, 3533, 1998, 4532, 2024, 3415, 1012, 102]]), np.array)
394394
])
395395
def test_json_dumps_and_loads(self, test_num, value, func_to_convert_back):
396-
if test_num == 8 and py_current_version < 3.8:
397-
print(f"Skipping test_json_dumps_and_loads #{test_num} on Python {py_current_version}")
398-
return
399396
serialized = json_dumps(value)
400397
back = json_loads(serialized)
401398
if func_to_convert_back:

0 commit comments

Comments
 (0)