[Git][debian-gis-team/asf-search][upstream] New upstream version 10.0.4
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Wed Sep 17 22:54:08 BST 2025
Antonio Valentino pushed to branch upstream at Debian GIS Project / asf-search
Commits:
c28b3885 by Antonio Valentino at 2025-09-17T21:49:29+00:00
New upstream version 10.0.4
- - - - -
4 changed files:
- CHANGELOG.md
- asf_search/ASFSession.py
- asf_search/constants/PRODUCTION_CONFIGURATION.py
- tests/yml_tests/Resources/ARIAS1GUNW_stack.yml
Changes:
=====================================
CHANGELOG.md
=====================================
@@ -25,6 +25,16 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-->
+------
+## [v10.0.4](https://github.com/asfadmin/Discovery-asf_search/compare/v10.0.3...v10.0.4)
+### Fixed
+- Removes erroneous deprecation warning when setting `cmr_host` in `ASFSession` constructor.
+
+------
+## [v10.0.3](https://github.com/asfadmin/Discovery-asf_search/compare/v10.0.2...v10.0.3)
+### Added
+- constant `CUSTOM` now available in `PRODUCTION_CONFIGURATION` module
+
------
## [v10.0.2](https://github.com/asfadmin/Discovery-asf_search/compare/v10.0.1...v10.0.2)
### Fixed
=====================================
asf_search/ASFSession.py
=====================================
@@ -1,4 +1,3 @@
-from logging import warn
import platform
from typing import List, Union
import requests
@@ -44,7 +43,7 @@ class ASFSession(requests.Session):
`asf_auth_host`:
the ASF auth endpoint.
Defaults to `asf_search.constants.INTERNAL.ASF_AUTH_HOST`
- `cmr_host (DEPRECATED V7.0.9)`:
+ `cmr_host`:
the base CMR endpoint to test EDL login tokens against.
Defaults to `asf_search.constants.INTERNAL.CMR_HOST`
`cmr_collections`:
@@ -87,21 +86,7 @@ class ASFSession(requests.Session):
INTERNAL.AUTH_COOKIES if auth_cookie_names is None else auth_cookie_names
)
- self.cmr_host = INTERNAL.CMR_HOST
-
- if cmr_host is not None:
- warnings.warn(
- 'Use of `cmr_host` keyword with `ASFSession` is deprecated '
- 'for asf-search versions >= 7.0.9, '
- 'and may be removed in a future major release.'
- '\nTo authenticate an EDL token for a non-prod deployment of CMR, '
- 'set the `edl_host` keyword instead. '
- '\n(ex: session arugments for authenticating against uat: '
- '`ASFSession(edl_host="uat.urs.earthdata.nasa.gov")`)',
- category=DeprecationWarning,
- stacklevel=2,
- )
- self.cmr_host = cmr_host
+ self.cmr_host = INTERNAL.CMR_HOST if cmr_host is None else cmr_host
def __eq__(self, other):
return (
=====================================
asf_search/constants/PRODUCTION_CONFIGURATION.py
=====================================
@@ -1,3 +1,4 @@
# NISAR Production Configurations
PRODUCTION = 'PR'
URGENT_RESPONSE = 'UR'
+CUSTOM = 'OD'
=====================================
tests/yml_tests/Resources/ARIAS1GUNW_stack.yml
=====================================
The diff for this file was not included because it is too large.
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/c28b388510bd3a2860f8b62e6072d8e292613b6a
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/c28b388510bd3a2860f8b62e6072d8e292613b6a
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20250917/2c62e50d/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list