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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
fail-fast: true
matrix:
os: ["windows-latest", "ubuntu-latest", "macos-latest"]
python-version: ["3.11", "3.12", "3.13"]
python-version: ["3.12", "3.13", "3.14"]
experimental: [false]
include:
- python-version: "3.13"
- python-version: "3.14"
os: "ubuntu-latest"
experimental: true

Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ repos:
- type_extensions
- types-setuptools
# Typed libraries
- numpy
- pytest
args: [ --warn-unused-configs ]
- repo: https://github.com/pycqa/isort
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license-files = ["LICENSE.txt"]
authors = [
{ name = "Thomas Lavergne", email = "t.lavergne@met.no" },
]
requires-python = ">=3.11"
requires-python = ">=3.12"
dependencies = [
"pyproj>=3.0",
"configobj",
Expand Down Expand Up @@ -117,12 +117,11 @@ convention = "google"
max-complexity = 10

[tool.mypy]
python_version = "3.11"
python_version = "3.12"
# See https://github.com/python/mypy/issues/12286 for automatic multi-platform support
platform = "linux"
# platform = win32
# platform = darwin
plugins = ["numpy.typing.mypy_plugin"]
allow_untyped_decorators = false
ignore_missing_imports = true
no_implicit_optional = true
Expand Down
4 changes: 2 additions & 2 deletions pyresample/geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -2135,8 +2135,8 @@ def update_hash(self, existing_hash: Optional[hashlib._Hash] = None) -> hashlib.
if existing_hash is None:
existing_hash = hashlib.sha1() # nosec: B324
existing_hash.update(self.crs_wkt.encode('utf-8'))
existing_hash.update(np.array(self.shape)) # type: ignore[arg-type]
existing_hash.update(np.array(self.area_extent)) # type: ignore[arg-type]
existing_hash.update(np.array(self.shape))
existing_hash.update(np.array(self.area_extent))
return existing_hash

@daskify_2in_2out
Expand Down
Loading