Skip to content

Commit

Permalink
Remove python 3.9 (#1384)
Browse files Browse the repository at this point in the history
* chore: remove python 3.9

Numpy ended support Apr 05, 2024

* chore: update CHANGELOG
  • Loading branch information
gadomski authored Aug 5, 2024
1 parent 3d43f9b commit c77412e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand Down Expand Up @@ -59,10 +58,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.9
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"
cache: "pip"

- name: Install with dependencies
Expand Down Expand Up @@ -102,7 +101,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
Expand All @@ -129,7 +127,7 @@ jobs:

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

- name: Install
run: pip install .[validation,test]
Expand All @@ -147,7 +145,7 @@ jobs:

- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"
cache: "pip"

- name: Install all dependencies
Expand All @@ -162,7 +160,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"
cache: "pip"
- name: Install pystac
run: pip install .[bench]
Expand All @@ -177,7 +175,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"
cache: "pip"
- name: Install pandoc
run: sudo apt-get install pandoc
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.10"

formats:
# Temporarily disabling PDF downloads due to problem with nbsphinx in LateX builds
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@

- Make `get_all_collections` properly recursive ([#1361](https://github.com/stac-utils/pystac/pull/1361))

### Removed

- Python 3.9 ([#1384](https://github.com/stac-utils/pystac/pull/1384))

## [v1.10.1] - 2024-05-03

### Fixed
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ Install from source
Dependencies
============

PySTAC requires Python >= 3.9. This project follows the recommendations of
PySTAC requires Python >= 3.10. This project follows the recommendations of
`NEP-29 <https://numpy.org/neps/nep-0029-deprecation_policy.html>`__ in deprecating support
for Python versions. This means that users can expect support for Python 3.9 to be
removed from the ``main`` branch after Apr 14, 2023 and therefore from the next release
for Python versions. This means that users can expect support for Python 3.10 to be
removed from the ``main`` branch after Apr 04, 2025 and therefore from the next release
after that date.

As a foundational component of the Python STAC ecosystem used in a number of downstream
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ classifiers = [
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
dependencies = ["python-dateutil>=2.7.0"]
dynamic = ["version"]

Expand Down

0 comments on commit c77412e

Please sign in to comment.