Skip to content

Commit

Permalink
Loosen numpy and pyproj versions for Python <3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
chuckwondo committed Jun 3, 2024
1 parent eec71ec commit ff163cf
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 33 deletions.
65 changes: 37 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,43 @@

## [Unreleased]

* Changes

* [#421](https://github.com/nsidc/earthaccess/issues/421): Removed the
`get_user_profile` method and the `email_address` and `profile` attributes
from the `Auth` class. Calling the EDL API to get user profile information
is not intended for library access and is not necessary for this library's
intended use cases.
* [#555](https://github.com/nsidc/earthaccess/issues/555): YAML formatting is
now performed with `yamlfmt` instead of `prettier`.
* [#511](https://github.com/nsidc/earthaccess/issues/511): Replaced `print`
calls with `logging` calls where appropriate and added T20 Ruff rule.

* Enhancements

* [#483](https://github.com/nsidc/earthaccess/issues/483): Now using
[Search After](https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#search-after)
for collection and granule searches to support deep-paging through large
result sets.
* [#508](https://github.com/nsidc/earthaccess/issues/508): Corrected and
enhanced static type hints for functions and methods that make CMR queries
or handle CMR query results.
* [#421](https://github.com/nsidc/earthaccess/issues/421): Enabled queries to
Earthdata User Acceptance Testing (UAT) system for authenticated accounts.
* [#562](https://github.com/nsidc/earthaccess/issues/562): The destination
path is now created prior to direct S3 downloads, if it doesn't already
exist.
* [#457](https://github.com/nsidc/earthaccess/issues/457): Added support for
Python 3.12 and drop support for Python 3.8.
### Changed

* Use `yamlfmt` instead of `prettier` for YAML formatting
([#555](https://github.com/nsidc/earthaccess/issues/555))
* Replace `print` calls with `logging` calls where appropriate, and add T20 Ruff
rule to produce lint errors for usages of `print`
([#511](https://github.com/nsidc/earthaccess/issues/511))

### Added

* Enable queries to Earthdata User Acceptance Testing (UAT) system for
authenticated accounts
([#421](https://github.com/nsidc/earthaccess/issues/421))
* Add support for Python 3.12
([#457](https://github.com/nsidc/earthaccess/issues/457))

### Removed

* **Breaking:** Remove support for Python 3.8
([#457](https://github.com/nsidc/earthaccess/issues/457))
* **Breaking:** Remove the `get_user_profile` method and the `email_address` and
`profile` attributes from the `Auth` class. Calling the EDL API to get user
profile information is not intended for library access and is not necessary
for this library's intended use cases.
([#421](https://github.com/nsidc/earthaccess/issues/421))

### Fixed

* Use
[Search After](https://cmr.earthdata.nasa.gov/search/site/docs/search/api.html#search-after)
for collection and granule searches to support deep-paging through large
result sets ([#483](https://github.com/nsidc/earthaccess/issues/483))
* Correct and enhance static type hints for functions and methods that make CMR
queries or handle CMR query results
([#508](https://github.com/nsidc/earthaccess/issues/508))
* Create destination directory prior to direct S3 downloads, if it doesn't
already exist ([#562](https://github.com/nsidc/earthaccess/issues/562))

## [v0.9.0] 2024-02-28

Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 12 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ fsspec = ">=2022.11"
tinynetrc = "^1.3.1"
multimethod = ">=1.8"
kerchunk = { version = ">=0.1.2", optional = true }
# kerchunk requires numpy, and numpy >=1.26.0 is required for Python 3.12 support
numpy = { version = ">=1.26.0", optional = true }
# kerchunk requires numpy, but numpy >=1.26.0 is required for Python 3.12 support
numpy = [
{ version = ">=1.24.0", optional = true, python = "<3.12" },
{ version = ">=1.26.0", optional = true, python = ">=3.12" }
]
dask = { version = ">=2022.1.0", optional = true }
importlib-resources = ">=6.3.2"
typing_extensions = ">=4.10.0"
Expand Down Expand Up @@ -81,15 +84,20 @@ widgetsnbextension = ">=3.6.0"
xarray = ">=2023.01"
matplotlib = ">=3.3"
h5netcdf = ">=0.11"
# Must be >=3.6.1 for compatibility with Python 3.12
pyproj = ">=3.6.1"
pyproj = [
{ version = ">=3.5.0", python = "<3.12" },
{ version = ">=3.6.1", python = ">=3.12" }
]
bump-my-version = ">=0.10.0"
vcrpy = ">=6.0.1"
# The following error occurs when building the docs, so we must explicitly
# include lxml-html-clean as a dev dependency until mkdocs-jupyter is updated:
#
# ImportError: lxml.html.clean module is now a separate project lxml_html_clean.
# Install lxml[html_clean] or lxml_html_clean directly.
#
# See https://github.com/danielfrg/mkdocs-jupyter/issues/200
# See https://github.com/danielfrg/mkdocs-jupyter/issues/197
lxml-html-clean = ">=0.1.1"

[build-system]
Expand Down

0 comments on commit ff163cf

Please sign in to comment.