Skip to content

Commit 664020e

Browse files
author
Jon Duckworth
authored
Merge pull request #500 from duckontheweb/remove/python-3.6
RFC: Drop support for Python 3.6
2 parents e444f67 + c6bf951 commit 664020e

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
python-version:
23-
- "3.6"
2423
- "3.7"
2524
- "3.8"
2625
- "3.9"
@@ -140,9 +139,10 @@ jobs:
140139
fail-fast: false
141140
matrix:
142141
python-version:
143-
- "3.6"
144142
- "3.7"
145143
- "3.8"
144+
- "3.9"
145+
- "3.10.0-beta.3"
146146

147147
steps:
148148
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939

4040
- `STAC_IO` class in favor of `StacIO`. This was deprecated in v1.0.0-beta.1 and has
4141
been removed in this release. ([#490](https://github.com/stac-utils/pystac/pull/490))
42+
- Support for Python 3.6 ([#500](https://github.com/stac-utils/pystac/pull/500))
4243

4344
### Deprecated
4445

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,18 @@
66
[![Gitter](https://badges.gitter.im/SpatioTemporal-Asset-Catalog/python.svg)](https://gitter.im/SpatioTemporal-Asset-Catalog/python?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
77
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
88

9-
PySTAC is a library for working with [SpatialTemporal Asset Catalog](https://stacspec.org) in Python 3.
9+
PySTAC is a library for working with [SpatioTemporal Asset Catalog](https://stacspec.org) in Python 3.
1010

1111
## Installation
1212

13-
PySTAC requires Python>=3.6. Support for Python>=3.10 should be considered experimental
14-
until further notice.
13+
PySTAC requires Python >= 3.7. This project follows the recommendations of
14+
[NEP-29](https://numpy.org/neps/nep-0029-deprecation_policy.html) in deprecating support
15+
for Python versions. This means that users can expect support for Python 3.7 to be
16+
removed from the `main` branch after Dec 26, 2021 and therefore from the next release
17+
after that date.
18+
19+
*Support for Python >= 3.10 should be considered experimental
20+
until further notice.*
1521

1622
PySTAC has a single required dependency (`python-dateutil`).
1723
PySTAC can be installed from pip or the source repository.

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
packages=find_packages(),
2323
py_modules=[splitext(basename(path))[0] for path in glob("pystac/*.py")],
2424
include_package_data=False,
25-
python_requires=">=3.6",
25+
python_requires=">=3.7",
2626
install_requires=[
2727
"python-dateutil>=2.7.0",
2828
'typing_extensions >= 3.7; python_version < "3.8"',
@@ -38,7 +38,6 @@
3838
"License :: OSI Approved :: Apache Software License",
3939
"Natural Language :: English",
4040
"Programming Language :: Python :: 3",
41-
"Programming Language :: Python :: 3.6",
4241
"Programming Language :: Python :: 3.7",
4342
"Programming Language :: Python :: 3.8",
4443
"Programming Language :: Python :: 3.9",

0 commit comments

Comments
 (0)