Skip to content

Commit fef0a2e

Browse files
committed
Change dependency locking strategy, add Python 3.8-3.12+ compatibility
Change the dependency version locking strategy to be loose in some cases and strict in others. Where the major version is 0, the compatible (minor) version is locked. Otherwise, with some exceptions, only the major version need be locked. One such exception is Great Expectations, which in v1 changed its API/ABI, namely in relation to Pandas (interestingly the latest version 1.4.2 requires a lower Pandas version 2.1.3 but the older one will work with the latest Pandas 2.2.3). For Python compatibility from v3.8 (or possibly lower but untested) up to v3.12 (and possibly beyond but untested), the explicit minimum NumPy version is specified with a major version ceiling. This allows for lower Python versions to be used, and not trip up on the NumPy being also of a lower version when upgrading. The Sphinx version can be upgraded to v8.x if using Python 3.10+.
1 parent 7918492 commit fef0a2e

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

requirements.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
click==8.1.7
2-
Jinja2==3.1.2
3-
pandas==2.0.3
4-
great-expectations==0.18.6
1+
click==8.*
2+
Jinja2==3.*
3+
pandas==2.*
4+
numpy>=1.24,<2
5+
great-expectations==0.18.22
56

67
# Testing Dependencies
7-
pytest==7.4.3
8+
pytest==8.*
89

910
# Documentation Dependencies
10-
Sphinx==7.1.2
11-
sphinxcontrib-apidoc==0.4.0
11+
Sphinx==7.*
12+
sphinxcontrib-apidoc~=0.5.0

0 commit comments

Comments
 (0)