Skip to content

Commit

Permalink
try python 3.12, phase out 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstnbwnkl committed Jun 7, 2024
1 parent c269fd3 commit 943440c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 27 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
strategy:
matrix:
python_version: [
3.8, # only lowest & highest version should be enough, :cross_fingers:
# 3.9,
# '3.10',
'3.11'
3.9, # only lowest & highest version should be enough, :cross_fingers:
# 3.10,
# '3.11',
'3.12'
# pypy3 # didn't build on CI anymore, happy for help: https://github.com/gis-ops/routing-py/issues/60
]
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Publish wheels
on:
push:
branches-ignore:
- '*'
- "*"
tags:
- '*'
- "*"

jobs:
build_wheels:
Expand All @@ -16,7 +16,7 @@ jobs:
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: "3.10"

- name: Build Wheels
run: |
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: "3.10"

- name: Download artifact
uses: actions/download-artifact@v2
Expand Down
41 changes: 22 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,39 @@
[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools_scm>=6.2",
]
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"]
build-backend = "setuptools.build_meta"

[tool.poetry]
name = "routingpy"
version = "1.2.1"
description = "One lib to route them all."
authors = ["Nils Nolde <[email protected]>", "Tim Ellersiek <[email protected]>", "Christian Beiwinkel <[email protected]>"]
authors = [
"Nils Nolde <[email protected]>",
"Tim Ellersiek <[email protected]>",
"Christian Beiwinkel <[email protected]>",
]
license = "Apache2"
readme = 'README.rst'

[tool.poetry.dependencies]
python = "^3.8.0"
python = "^3.9.0"
requests = "^2.20.0"
# For the Jupyter notebooks:
shapely = {version = "^2.0.0", optional = true}
ipykernel = {version = "^6.0.0", optional = true}
matplotlib = {version = "^3.4.1", optional = true}
contextily = {version = "^1.1.0", optional = true}
geopandas = {version = "^0.8.2", optional = true}
descartes = {version = "^1.0.0", optional = true}
shapely = { version = "^2.0.0", optional = true }
ipykernel = { version = "^6.0.0", optional = true }
matplotlib = { version = "^3.4.1", optional = true }
contextily = { version = "^1.1.0", optional = true }
geopandas = { version = "^0.8.2", optional = true }
descartes = { version = "^1.0.0", optional = true }

[tool.poetry.extras]
notebooks = ["shapely", "ipykernel", "geopandas", "contextily", "matplotlib", "descartes"]
notebooks = [
"shapely",
"ipykernel",
"geopandas",
"contextily",
"matplotlib",
"descartes",
]

[tool.poetry.group.dev.dependencies]
sphinx = "^4.4.0"
Expand Down Expand Up @@ -61,11 +68,7 @@ exclude = '''
profile = "black"
line_length = 105
src_paths = ["routingpy", "tests"]
skip = [
".venv",
"build",
"dist",
]
skip = [".venv", "build", "dist"]

[tool.ruff]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
Expand Down

0 comments on commit 943440c

Please sign in to comment.