Skip to content

Commit c77412e

Browse files
authored
Remove python 3.9 (#1384)
* chore: remove python 3.9 Numpy ended support Apr 05, 2024 * chore: update CHANGELOG
1 parent 3d43f9b commit c77412e

File tree

5 files changed

+15
-14
lines changed

5 files changed

+15
-14
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
python-version:
29-
- "3.9"
3029
- "3.10"
3130
- "3.11"
3231
- "3.12"
@@ -59,10 +58,10 @@ jobs:
5958
steps:
6059
- uses: actions/checkout@v4
6160

62-
- name: Set up Python 3.9
61+
- name: Set up Python 3.10
6362
uses: actions/setup-python@v5
6463
with:
65-
python-version: "3.9"
64+
python-version: "3.10"
6665
cache: "pip"
6766

6867
- name: Install with dependencies
@@ -102,7 +101,6 @@ jobs:
102101
fail-fast: false
103102
matrix:
104103
python-version:
105-
- "3.9"
106104
- "3.10"
107105
- "3.11"
108106
- "3.12"
@@ -129,7 +127,7 @@ jobs:
129127

130128
- uses: actions/setup-python@v5
131129
with:
132-
python-version: "3.9"
130+
python-version: "3.10"
133131

134132
- name: Install
135133
run: pip install .[validation,test]
@@ -147,7 +145,7 @@ jobs:
147145

148146
- uses: actions/setup-python@v5
149147
with:
150-
python-version: "3.9"
148+
python-version: "3.10"
151149
cache: "pip"
152150

153151
- name: Install all dependencies
@@ -162,7 +160,7 @@ jobs:
162160
- uses: actions/checkout@v4
163161
- uses: actions/setup-python@v5
164162
with:
165-
python-version: "3.9"
163+
python-version: "3.10"
166164
cache: "pip"
167165
- name: Install pystac
168166
run: pip install .[bench]
@@ -177,7 +175,7 @@ jobs:
177175
- uses: actions/checkout@v4
178176
- uses: actions/setup-python@v5
179177
with:
180-
python-version: "3.9"
178+
python-version: "3.10"
181179
cache: "pip"
182180
- name: Install pandoc
183181
run: sudo apt-get install pandoc

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ version: 2
77
build:
88
os: ubuntu-22.04
99
tools:
10-
python: "3.9"
10+
python: "3.10"
1111

1212
formats:
1313
# Temporarily disabling PDF downloads due to problem with nbsphinx in LateX builds

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313

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

16+
### Removed
17+
18+
- Python 3.9 ([#1384](https://github.com/stac-utils/pystac/pull/1384))
19+
1620
## [v1.10.1] - 2024-05-03
1721

1822
### Fixed

docs/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Install from source
2727
Dependencies
2828
============
2929

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

3636
As a foundational component of the Python STAC ecosystem used in a number of downstream

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ classifiers = [
1515
"License :: OSI Approved :: Apache Software License",
1616
"Natural Language :: English",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.9",
1918
"Programming Language :: Python :: 3.10",
2019
"Programming Language :: Python :: 3.11",
2120
"Programming Language :: Python :: 3.12",
2221
]
23-
requires-python = ">=3.9"
22+
requires-python = ">=3.10"
2423
dependencies = ["python-dateutil>=2.7.0"]
2524
dynamic = ["version"]
2625

0 commit comments

Comments
 (0)