Skip to content

Commit

Permalink
drop support for python 3.10 (#9116)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler Pauly <[email protected]>
  • Loading branch information
braingram and tapastro authored Jan 31, 2025
1 parent b345d09 commit c21a7a1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/ci_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude = [
]
line-length = 100

target-version = "py310"
target-version = "py311"

[format]
quote-style = "double"
Expand Down
1 change: 1 addition & 0 deletions changes/9116.general.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop support for python 3.10
2 changes: 1 addition & 1 deletion docs/getting_started/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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" },
]
Expand All @@ -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",
]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c21a7a1

Please sign in to comment.