Skip to content
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
10 changes: 5 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
generate-deploy-docs:
strategy:
matrix:
python-version: ["3.14"]
python-version: ["3.12"]
os: [ubuntu-latest]
name: Generate documentation
runs-on: ${{ matrix.os }}
Expand All @@ -42,7 +42,7 @@ jobs:
shell: bash -el {0}
steps:
- name: Check out Git repository
uses: actions/checkout@v6
uses: actions/checkout@v7

- name: Get week number
run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV
Expand All @@ -64,12 +64,12 @@ jobs:
run: sphinx-build docs/source/ public -b dirhtml

- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@v6
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
# Upload generated html
path: "public/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
url: https://pypi.org/project/linkbikenet/

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Build package
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
caching:
strategy:
matrix:
python-version: ["3.10", "3.14"]
python-version: ["3.12", "3.15"]
os: [ ubuntu-latest ]
fail-fast: false
env:
Expand All @@ -31,10 +31,10 @@ jobs:
run:
shell: bash -elo pipefail {0}

name: Cache for ${{ matrix.python-version }} on ${{ matrix.os }}
name: cache (${{ matrix.python-version }} on ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Get week number
run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV
Expand All @@ -51,7 +51,7 @@ jobs:
needs: caching
strategy:
matrix:
python-version: ["3.10", "3.14"]
python-version: ["3.12", "3.15"]
os: [ ubuntu-latest ]
submodule:
- { name: "linkbikenet", pytest_args: "tests/test_linkbikenet.py" }
Expand All @@ -66,7 +66,7 @@ jobs:
shell: bash -el {0}

steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Get week number
run: echo "WEEK=$(date +'%V')" >> $GITHUB_ENV
Expand All @@ -87,7 +87,7 @@ jobs:
pytest ${{ matrix.submodule.pytest_args }} --cov --cov-branch --cov-report=xml

- name: Upload results to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: BikeNetKit/LinkBikeNet
11 changes: 8 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,19 @@ repos:
- id: mixed-line-ending
- id: check-illegal-windows-names

- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.1.0"
- repo: local # https://github.com/prettier/prettier/discussions/16227#discussioncomment-18456780
hooks:
- id: prettier
name: prettier
entry: prettier
args: [--write, --ignore-unknown]
language: node
types_or: [markdown, yaml]
additional_dependencies:
- prettier@3.9.10
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.16.7
rev: v0.17.0
hooks:
# Run the linter.
- id: ruff-check
Expand Down
2 changes: 1 addition & 1 deletion environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: lbnenvdev
channels:
- conda-forge
dependencies:
- python>=3.10
- python>=3.12
- osmnx>=2
- scipy
- geojson
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: lbnenv
channels:
- conda-forge
dependencies:
- python>=3.10
- python>=3.12
- osmnx>=2
- scipy
- geojson
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: GIS",
]
requires-python = ">=3.10"
requires-python = ">=3.12"
dependencies = [
"geopandas>=1",
"osmnx>=2",
Expand Down
Loading