Skip to content

Commit

Permalink
Update to Python 3.12
Browse files Browse the repository at this point in the history
Updates the Python version to the latest(3.12).

Fixes #414

Signed-off-by: Rémy Greinhofer <remy.greinhofer@gmail.com>
  • Loading branch information
rgreinho committed Jan 21, 2024
1 parent b488c4a commit 72cc7ed
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 81 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: Gr1N/setup-poetry@v8
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.12"
cache: "poetry"
- name: Setup the project
run: poetry install
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: Gr1N/setup-poetry@v8
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.12"
cache: "poetry"
- name: Setup host
run: poetry install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: Gr1N/setup-poetry@v8
- uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.12"
cache: "poetry"
- name: install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: Gr1N/setup-poetry@v8
- uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.12"
cache: "poetry"
- name: Setup the project
run: poetry install
Expand Down
73 changes: 3 additions & 70 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 12 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ authors = [
license = "MIT"

[tool.poetry.dependencies]
python = "^3.10"
python = "^3.12, <4.0"
aiohttp = "^3.9.1"
boto3 = "^1.28.85"
geopandas = "^0.14.1"
Expand Down Expand Up @@ -106,15 +106,20 @@ select = ["D"]
convention = "pep257"

[tool.mypy]
strict = "true"
strict = true

[[tool.mypy.overrides]]
module = ["brokenspoke_analyzer.pyrosm.*"]
ignore_errors = "true"
module = [
"brokenspoke_analyzer.pyrosm.*",
"boto3",
"geopandas",
"osmnx",
"shapely",
"us",
]
ignore_errors = true
ignore_missing_imports = true

[[tool.mypy.overrides]]
module = ["boto3", "geopandas", "osmnx", "shapely", "us"]
ignore_missing_imports = "true"

[tool.sqlfluff.core]
dialect = "postgres"
Expand Down

0 comments on commit 72cc7ed

Please sign in to comment.