Skip to content

Commit

Permalink
Client release v3.1.0 (#12567)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 1979767b5a8b09062843ec7b5eb6ce37847f1ce3
  • Loading branch information
stephencpope authored and Descartes Labs Build committed May 9, 2024
1 parent 3fdef19 commit 58615de
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/public-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ The documentation for the latest release can be found at [https://docs.descartes
Changelog
=========

## Unreleased
## [3.1.0] - 2024-05-09

### General

- Due to declining support for Python 3.8 across the ecosystem, we have discontinued our support for Python 3.8. It is expected that the client will continue to function until Python 3.8 is End of Life (October 2024), but we can no longer test new releases against this version.

### Catalog

Expand Down
6 changes: 6 additions & 0 deletions descarteslabs/core/client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
)
raise ImportError(msg)

if sys.version_info < (3, 9):
msg = "Python version {}.{} is no longer supported. You may encounter unexpected errors.".format(
sys.version_info.major, sys.version_info.minor
)
warnings.warn(msg, FutureWarning)

if sys.version_info >= (3, 12):
msg = "Python version {}.{} is not supported yet. You may encounter unexpected errors.".format(
sys.version_info.major, sys.version_info.minor
Expand Down
2 changes: 1 addition & 1 deletion descarteslabs/core/client/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.

__version__ = "3.0.5"
__version__ = "3.1.0"
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def do_setup():
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -91,7 +90,7 @@ def do_setup():
"descarteslabs = descarteslabs.core.client.scripts.__main__:main"
]
},
python_requires="~=3.8",
python_requires="~=3.9",
install_requires=[
"affine>=2.2.2",
"blosc>=1.10.6",
Expand All @@ -100,7 +99,8 @@ def do_setup():
"dynaconf>=3.1.11",
"geojson>=2.5.0",
"geopandas>=0.13.2",
"imagecodecs>=2021.5.20",
"imagecodecs>=2021.6.8,<=2023.3.16;python_version=='3.8'",
"imagecodecs>=2023.3.16;python_version>='3.9'",
"lazy_object_proxy>=1.7.1",
"mercantile>=1.1.3",
"numpy>=1.22.0;python_version>='3.8' and python_version<'3.11'",
Expand Down

0 comments on commit 58615de

Please sign in to comment.