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
40 changes: 20 additions & 20 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
python-version: "3.10"
Copy link
Contributor

Choose a reason for hiding this comment

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

I assume adding the " doesn't break anything?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, I think it's actually required because of how yaml works. Without quotes it's a float which will be stringified to the string "3.9", however if you write 3.10 as a float that will of course be stringified to "3.1". I didn't check that it was causing an issue just now, but I know I've run into that in the past with yaml.


- uses: TrueBrain/actions-flake8@v2
with:
Expand All @@ -21,25 +21,25 @@ jobs:
plugins: flake8-isort==6.1.2 flake8-quotes==3.4.0 flake8-commas==4.0.0

mypy:
runs-on: ubuntu-latest
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"

- run: |
pip install poetry
poetry install --with=mypy
- run: |
pip install poetry
poetry install --with=mypy

- run: |
poetry run mypy \
--follow-untyped-imports \
--disallow-any-unimported \
--disallow-untyped-defs \
--check-untyped-defs \
--strict-equality \
--warn-redundant-casts \
--warn-unused-ignores \
geo_extensions
- run: |
poetry run mypy \
--follow-untyped-imports \
--disallow-any-unimported \
--disallow-untyped-defs \
--check-untyped-defs \
--strict-equality \
--warn-redundant-casts \
--warn-unused-ignores \
geo_extensions
24 changes: 12 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
fail-fast: false

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install --with=dev
- run: poetry run python3 -m pytest
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install --with=dev
- run: poetry run python3 -m pytest
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "geo-extensions"
version = "0.3.0"
version = "0.3.1"
description = ""
authors = ["Rohan Weeden <reweeden@alaska.edu>"]
license = "APACHE-2"
readme = "README.md"
packages = [{include = "geo_extensions"}]

[tool.poetry.dependencies]
python = "^3.9"
python = "^3.10"

shapely = "^2.0.3"

Expand Down
Loading