diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4da17d5188..b30318c447 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: build: needs: [ check ] if: always() && (needs.check.result == 'success' || needs.check.result == 'skipped') - uses: braingram/github-actions-workflows/.github/workflows/publish.yml@python312_sdist + uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@8c0fde6f7e926df6ed7057255d29afa9c1ad5320 # v1.16.0 with: upload_to_pypi: ${{ (github.event_name == 'release') && (github.event.action == 'released') }} targets: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6fe39830cb..43e47a306e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,9 +68,8 @@ jobs: cache-path: /tmp/data/crds_cache cache-key: crds-${{ needs.crds_context.outputs.context }} envs: | - - linux: py310-oldestdeps-xdist-cov + - linux: py311-oldestdeps-xdist-cov pytest-results-summary: true - - linux: py310-xdist - linux: py311-xdist pytest-results-summary: true - macos: py311-xdist diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index c0db35ced5..9dad8790d1 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -46,7 +46,6 @@ jobs: cache-path: /tmp/crds_cache cache-key: crds-${{ needs.crds_context.outputs.context }} envs: | - - macos: py310-xdist - macos: py312-xdist - linux: py311-pyargs-xdist - linux: py3-pyargs-xdist diff --git a/.ruff.toml b/.ruff.toml index e10171fd2f..1e6b56f622 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -11,7 +11,7 @@ exclude = [ ] line-length = 100 -target-version = "py310" +target-version = "py311" [format] quote-style = "double" diff --git a/changes/9116.general.rst b/changes/9116.general.rst new file mode 100644 index 0000000000..690876c595 --- /dev/null +++ b/changes/9116.general.rst @@ -0,0 +1 @@ +Drop support for python 3.10 diff --git a/docs/getting_started/install.rst b/docs/getting_started/install.rst index 410daa02ed..47d44e6416 100644 --- a/docs/getting_started/install.rst +++ b/docs/getting_started/install.rst @@ -38,7 +38,7 @@ shell. .. warning:: - JWST requires a C compiler for dependencies and is currently limited to Python 3.10, 3.11, or 3.12. + JWST requires a C compiler for dependencies and is currently limited to Python 3.11, or 3.12. .. warning:: Installation on MacOS Mojave 10.14 will fail due to lack of a stable build for dependency ``opencv-python``. diff --git a/pyproject.toml b/pyproject.toml index a00b0d8022..a662f8aeb8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "jwst" description = "Library for calibration of science observations from the James Webb Space Telescope" -requires-python = ">=3.10,<3.13" +requires-python = ">=3.11,<3.13" authors = [ { name = "JWST calibration pipeline developers" }, ] @@ -13,7 +13,6 @@ classifiers = [ "Operating System :: POSIX", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] @@ -273,7 +272,7 @@ warn_return_any = true warn_unused_configs = true disable_error_code = "import-untyped" # do not check imports exclude = ["build"] -python_version = "3.10" +python_version = "3.11" [[tool.mypy.overrides]] # don't complain about the installed c parts of this library