Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Add Python 3.11, drop below 3.8, update deps #159

Merged
merged 1 commit into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.8", "3.9", "3.10", "3.11"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

include 3.12?


steps:
- uses: actions/checkout@v1
Expand Down
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: python
python:
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11
install:
- sudo apt-get install libgeos-dev
- pip install -r requirements-dev.txt
Expand Down
8 changes: 4 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ verify_ssl = true
name = "pypi"

[packages]
geojson = ">=1.3.1"
pytest = "6.0.0"
requests = ">=2.20.0"
shapely = ">=1.6.4"
geojson = ">=3.0.1"
pytest = "7.4.0"
requests = ">=2.31.0"
shapely = ">=2.0.1"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New major version of shapely, are we confident we won't break things on our end?


[dev-packages]

Expand Down
4 changes: 2 additions & 2 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pytest>=6.2.0
pytest>=7.4.0
requests-mock[fixture]
tox>=3.20.1
tox>=4.6.3
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
geojson>=1.3.1
geojson>=3.0.1
pytest
requests>=2.8.1
shapely>=1.6.4
requests>=2.31.0
shapely>=2.0.1
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
keywords=["openstreetmap", "overpass", "wrapper"],
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Utilities",
],
Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py{37,38,39}
envlist = py{38,39,310,311}
skip_missing_interpreters = true

[testenv]
Expand All @@ -8,6 +8,7 @@ commands = python -m pytest

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.9: py39
3.10: py310
3.11: py311