Skip to content

Commit

Permalink
feat: ditch python 3.7 support and upgrade requirements (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
khamaileon committed Jul 12, 2023
1 parent 10c7bb3 commit ae0fd22
Show file tree
Hide file tree
Showing 8 changed files with 881 additions and 773 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
strategy:
matrix:
python_version: [
3.7,
# 3.8, # only lowest & highest version should be enough, :cross_fingers:
3.8, # only lowest & highest version should be enough, :cross_fingers:
# 3.9,
# '3.10',
'3.11'
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ or **time-distance matrices**.
This list is hopefully growing with time and contributions by other developers. An up-to-date list is always available
in our documentation_.

**routing-py** is tested against CPython versions 3.7, 3.8, 3.9, 3.10, 3.11. PyPy3 is currently not supported, see `#60 <https://github.com/gis-ops/routingpy/issues/60>`_.
**routing-py** is tested against CPython versions 3.8, 3.9, 3.10, 3.11. PyPy3 is currently not supported, see `#60 <https://github.com/gis-ops/routingpy/issues/60>`_.

© routingpy contributors 2022 under the `Apache 2.0 License`_.

Expand Down
1,529 changes: 821 additions & 708 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ license = "Apache2"
readme = 'README.rst'

[tool.poetry.dependencies]
python = "^3.7.0"
python = "^3.8.0"
requests = "^2.20.0"
# For the Jupyter notebooks:
shapely = {version = "^2.0.0", optional = true}
Expand Down
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
certifi==2022.9.24 ; python_version >= "3.7" and python_version < "4"
charset-normalizer==2.1.1 ; python_version >= "3.7" and python_version < "4"
idna==3.4 ; python_version >= "3.7" and python_version < "4"
requests==2.28.1 ; python_version >= "3.7" and python_version < "4"
urllib3==1.26.12 ; python_version >= "3.7" and python_version < "4"
certifi==2023.5.7 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
charset-normalizer==3.1.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
idna==3.4 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
requests==2.31.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
urllib3==2.0.3 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
103 changes: 50 additions & 53 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,53 +1,50 @@
alabaster==0.7.12 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
atomicwrites==1.4.1 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and sys_platform == "win32"
attrs==22.1.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
babel==2.11.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
build==0.7.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
certifi==2022.9.24 ; python_version >= "3.7" and python_version < "4"
cfgv==3.3.1 ; python_version >= "3.7" and python_full_version < "4.0.0"
charset-normalizer==2.1.1 ; python_version >= "3.7" and python_version < "4"
colorama==0.4.6 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and sys_platform == "win32" or python_full_version >= "3.7.0" and python_full_version < "4.0.0" and os_name == "nt"
coverage==6.5.0 ; python_version >= "3.7" and python_full_version < "4.0.0"
distlib==0.3.6 ; python_version >= "3.7" and python_full_version < "4.0.0"
docutils==0.17.1 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
filelock==3.8.0 ; python_version >= "3.7" and python_full_version < "4.0.0"
identify==2.5.8 ; python_version >= "3.7" and python_full_version < "4.0.0"
idna==3.4 ; python_version >= "3.7" and python_version < "4"
imagesize==1.4.1 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
importlib-metadata==5.0.0 ; python_version >= "3.7" and python_version < "3.10"
iniconfig==1.1.1 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
jinja2==3.1.2 ; python_version >= "3.7" and python_full_version < "4.0.0"
markupsafe==2.1.1 ; python_version >= "3.7" and python_full_version < "4.0.0"
nodeenv==1.7.0 ; python_version >= "3.7" and python_full_version < "4.0.0"
packaging==21.3 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
pep517==0.13.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
platformdirs==2.5.3 ; python_version >= "3.7" and python_full_version < "4.0.0"
pluggy==1.0.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
pre-commit==2.20.0 ; python_version >= "3.7" and python_full_version < "4.0.0"
py==1.11.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
pygments==2.13.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
pyparsing==3.0.9 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
pytest==6.2.5 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
pytz==2022.6 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
pyyaml==6.0 ; python_version >= "3.7" and python_full_version < "4.0.0"
requests==2.28.1 ; python_version >= "3.7" and python_version < "4"
responses==0.10.16 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
setuptools-scm==6.4.2 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
setuptools==65.5.1 ; python_version >= "3.7" and python_full_version < "4.0.0"
six==1.16.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
snowballstemmer==2.2.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinx-rtd-theme==1.1.1 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinx==4.5.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinxcontrib-applehelp==1.0.2 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinxcontrib-devhelp==1.0.2 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinxcontrib-htmlhelp==2.0.0 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinxcontrib-jsmath==1.0.1 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinxcontrib-qthelp==1.0.3 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinxcontrib-serializinghtml==1.1.5 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
sphinxnotes-strike==1.2 ; python_full_version >= "3.7.0" and python_full_version < "4.0.0"
toml==0.10.2 ; python_full_version < "4.0.0" and python_version >= "3.7"
tomli==2.0.1 ; python_version >= "3.7" and python_full_version < "4.0.0"
typing-extensions==4.4.0 ; python_version >= "3.7" and python_version < "3.8"
urllib3==1.26.12 ; python_version < "4" and python_version >= "3.7"
virtualenv==20.16.6 ; python_version >= "3.7" and python_full_version < "4.0.0"
zipp==3.10.0 ; python_version >= "3.7" and python_version < "3.10"
alabaster==0.7.13 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
babel==2.12.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
build==0.7.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
certifi==2023.5.7 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
cfgv==3.3.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
charset-normalizer==3.1.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
colorama==0.4.6 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0" and (sys_platform == "win32" or os_name == "nt")
coverage==7.2.7 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
distlib==0.3.6 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
docutils==0.17.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
exceptiongroup==1.1.2 ; python_full_version >= "3.8.0" and python_version < "3.11"
filelock==3.12.2 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
identify==2.5.24 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
idna==3.4 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
imagesize==1.4.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
importlib-metadata==6.7.0 ; python_full_version >= "3.8.0" and python_version < "3.10"
iniconfig==2.0.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
jinja2==3.1.2 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
markupsafe==2.1.3 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
nodeenv==1.8.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
packaging==23.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
pep517==0.13.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
platformdirs==3.8.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
pluggy==1.2.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
pre-commit==2.21.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
pygments==2.15.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
pytest==7.4.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
pytz==2023.3 ; python_full_version >= "3.8.0" and python_version < "3.9"
pyyaml==6.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
requests==2.31.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
responses==0.10.16 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
setuptools-scm==7.1.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
setuptools==68.0.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
six==1.16.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
snowballstemmer==2.2.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinx-rtd-theme==1.2.2 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinx==4.5.0 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinxcontrib-applehelp==1.0.4 ; python_version >= "3.8" and python_full_version < "4.0.0"
sphinxcontrib-devhelp==1.0.2 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinxcontrib-htmlhelp==2.0.1 ; python_version >= "3.8" and python_full_version < "4.0.0"
sphinxcontrib-jquery==4.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinxcontrib-jsmath==1.0.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinxcontrib-qthelp==1.0.3 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinxcontrib-serializinghtml==1.1.5 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
sphinxnotes-strike==1.2 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
tomli==2.0.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
typing-extensions==4.7.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
urllib3==2.0.3 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
virtualenv==20.23.1 ; python_full_version >= "3.8.0" and python_full_version < "4.0.0"
zipp==3.15.0 ; python_full_version >= "3.8.0" and python_version < "3.10"
2 changes: 1 addition & 1 deletion routingpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
more info, please look at our `README`_.
Take a look at our `Examples`_ to see how simple you can compare routes from different providers.
**routingpy** is tested against 3.7, 3.8, 3.9, 3.10, 3.11 :strike:`and PyPy3` (`#60 <https://github.com/gis-ops/routing-py/issues/60>`_).
**routingpy** is tested against 3.8, 3.9, 3.10, 3.11 :strike:`and PyPy3` (`#60 <https://github.com/gis-ops/routing-py/issues/60>`_).
.. _`README`: https://github.com/gis-ops/routing-py#api
.. _`Examples`: https://github.com/gis-ops/routing-py#examples
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
long_description_content_type="text/x-rst",
author="Nils Nolde",
author_email="nils@gis-ops.com",
python_requires=">=3.7.0",
python_requires=">=3.8.0",
url="https://github.com/gis-ops/routing-py",
packages=find_packages(exclude=["*tests*"]),
install_requires=["requests>=2.20.0"],
Expand All @@ -46,7 +46,6 @@
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit ae0fd22

Please sign in to comment.