diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2716e7f792..2d6a3b78e0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,7 +18,7 @@ jobs: fail-fast: true matrix: os: ["windows-latest", "ubuntu-latest", "macos-latest"] - python-version: ["3.9", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] experimental: [false] include: - python-version: "3.12" diff --git a/.github/workflows/deploy-sdist.yaml b/.github/workflows/deploy-sdist.yaml index 9fd1d86b5a..328c5b4d93 100644 --- a/.github/workflows/deploy-sdist.yaml +++ b/.github/workflows/deploy-sdist.yaml @@ -19,7 +19,7 @@ jobs: shell: bash -l {0} run: | python -m pip install -q build - python -m build -s + python -m build - name: Publish package to PyPI if: github.event.action == 'published' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a90da5ce9..81bdddd6f7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: - types-pkg-resources - types-PyYAML - types-requests - args: ["--python-version", "3.9", "--ignore-missing-imports"] + args: ["--python-version", "3.10", "--ignore-missing-imports"] - repo: https://github.com/pycqa/isort rev: 5.13.2 hooks: diff --git a/doc/rtd_environment.yml b/doc/rtd_environment.yml index 1e40cbb73a..e21857d01d 100644 --- a/doc/rtd_environment.yml +++ b/doc/rtd_environment.yml @@ -2,7 +2,7 @@ name: readthedocs channels: - conda-forge dependencies: - - python=3.10 + - python=3.11 - pip - appdirs - dask diff --git a/satpy/tests/reader_tests/test_viirs_edr_active_fires.py b/satpy/tests/reader_tests/test_viirs_edr_active_fires.py index 7bede07292..92ea99a3fb 100644 --- a/satpy/tests/reader_tests/test_viirs_edr_active_fires.py +++ b/satpy/tests/reader_tests/test_viirs_edr_active_fires.py @@ -38,19 +38,19 @@ DEFAULT_FILE_SHAPE = (1, 100) DEFAULT_LATLON_FILE_DTYPE = np.float32 -DEFAULT_LATLON_FILE_DATA = np.arange(start=43, stop=45, step=0.02, +DEFAULT_LATLON_FILE_DATA = np.arange(43, stop=45, step=0.02, dtype=DEFAULT_LATLON_FILE_DTYPE).reshape(DEFAULT_FILE_SHAPE) DEFAULT_DETECTION_FILE_DTYPE = np.uint8 -DEFAULT_DETECTION_FILE_DATA = np.arange(start=60, stop=100, step=0.4, +DEFAULT_DETECTION_FILE_DATA = np.arange(60, stop=100, step=0.4, dtype=DEFAULT_DETECTION_FILE_DTYPE).reshape(DEFAULT_FILE_SHAPE) DEFAULT_M13_FILE_DTYPE = np.float32 -DEFAULT_M13_FILE_DATA = np.arange(start=300, stop=340, step=0.4, +DEFAULT_M13_FILE_DATA = np.arange(300, stop=340, step=0.4, dtype=DEFAULT_M13_FILE_DTYPE).reshape(DEFAULT_FILE_SHAPE) DEFAULT_POWER_FILE_DTYPE = np.float32 -DEFAULT_POWER_FILE_DATA = np.arange(start=1, stop=25, step=0.24, +DEFAULT_POWER_FILE_DATA = np.arange(1, stop=25, step=0.24, dtype=DEFAULT_POWER_FILE_DTYPE).reshape(DEFAULT_FILE_SHAPE) diff --git a/setup.py b/setup.py index 3439e8fa89..db17b7d035 100644 --- a/setup.py +++ b/setup.py @@ -165,7 +165,7 @@ def _config_data_files(base_dirs, extensions=(".cfg", )): ]}, zip_safe=False, install_requires=requires, - python_requires=">=3.9", + python_requires=">=3.10", extras_require=extras_require, entry_points=entry_points, )