Skip to content

Commit

Permalink
Update dependencies to latest versions (#138)
Browse files Browse the repository at this point in the history
* Update dependencies to latest versions

Has been tested on Python 3.8 and Python 3.10

- Issue with dependencies of matplotlib on Python 3.8 identified.
- numpy will be deprecated soon

```
tests/test_sailor/test_sap_iot/test_fetch.py: 14 warnings
tests/test_sailor/test_sap_iot/test_wrappers.py: 6 warnings
tests/test_sailor/test_sap_iot/test_write.py: 15 warnings
  (...)/python3.10/site-packages/pandas/core/algorithms.py:522: DeprecationWarning: np.find_common_type is deprecated.  Please use `np.result_type` or `np.promote_types`.
  See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information.  (Deprecated NumPy 1.25)
```

* Update PR validation Python version to 3.10
  • Loading branch information
cloudyday authored Feb 13, 2024
1 parent a580c7c commit 149878c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 34 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'

- uses: actions/checkout@v2

Expand All @@ -36,7 +36,7 @@ jobs:
steps:
- uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.10'

- uses: actions/checkout@v2

Expand Down
3 changes: 2 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
furl>=2.1.3
pyjwt>=2.4.0
matplotlib
matplotlib<3.8; python_version <'3.10'
matplotlib>=3.8; python_version >='3.10'
pandas>=1.4.0,<2
plotnine
pyyaml
Expand Down
60 changes: 29 additions & 31 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile requirements.in
# pip-compile
#
cachetools==5.2.0
cachetools==5.3.2
# via -r requirements.in
certifi==2023.7.22
certifi==2023.11.17
# via requests
charset-normalizer==2.1.1
charset-normalizer==3.3.2
# via requests
contourpy==1.0.6
contourpy==1.2.0
# via matplotlib
cycler==0.11.0
cycler==0.12.1
# via matplotlib
fonttools==4.38.0
fonttools==4.47.2
# via matplotlib
furl==2.1.3
# via -r requirements.in
idna==3.4
idna==3.6
# via requests
isodate==0.6.1
# via -r requirements.in
joblib==1.2.0
joblib==1.3.2
# via scikit-learn
kiwisolver==1.4.4
kiwisolver==1.4.5
# via matplotlib
matplotlib==3.6.2
matplotlib==3.8.2 ; python_version >= "3.10"
# via
# -r requirements.in
# mizani
# plotnine
mizani==0.8.1
mizani==0.9.3
# via plotnine
numpy==1.23.5
numpy==1.26.3
# via
# contourpy
# matplotlib
Expand All @@ -46,47 +46,45 @@ numpy==1.23.5
# statsmodels
orderedmultidict==1.0.1
# via furl
packaging==22.0
packaging==23.2
# via
# matplotlib
# statsmodels
palettable==3.3.0
# via mizani
pandas==1.5.2
pandas==1.5.3
# via
# -r requirements.in
# mizani
# plotnine
# statsmodels
patsy==0.5.3
patsy==0.5.6
# via
# plotnine
# statsmodels
pillow==10.0.1
pillow==10.2.0
# via matplotlib
plotnine==0.10.1
plotnine==0.12.4
# via -r requirements.in
pyjwt==2.6.0
pyjwt==2.8.0
# via -r requirements.in
pyparsing==3.0.9
pyparsing==3.1.1
# via matplotlib
python-dateutil==2.8.2
# via
# matplotlib
# pandas
pytz==2022.6
pytz==2023.3.post1
# via pandas
pyyaml==6.0
pyyaml==6.0.1
# via -r requirements.in
rauth==0.7.3
# via -r requirements.in
requests==2.31.0
# via
# -r requirements.in
# rauth
scikit-learn==1.2.0
scikit-learn==1.4.0
# via -r requirements.in
scipy==1.10.0
scipy==1.12.0
# via
# mizani
# plotnine
Expand All @@ -99,9 +97,9 @@ six==1.16.0
# orderedmultidict
# patsy
# python-dateutil
statsmodels==0.13.5
statsmodels==0.14.1
# via plotnine
threadpoolctl==3.1.0
threadpoolctl==3.2.0
# via scikit-learn
urllib3==1.26.17
urllib3==2.1.0
# via requests

0 comments on commit 149878c

Please sign in to comment.