Antonio Valentino pushed to branch master 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 - - - - - cde507ca by Antonio Valentino at 2025-09-17T21:49:31+00:00 Update upstream source from tag 'upstream/10.0.4' Update to upstream version '10.0.4' with Debian dir 6de7054c130887235cc4f7c0cfd42eae6861d605 - - - - - f68804b2 by Antonio Valentino at 2025-09-17T21:50:23+00:00 New upstream release - - - - - 322c8554 by Antonio Valentino at 2025-09-17T21:51:48+00:00 Set distribution to unstable - - - - - 5 changed files: - CHANGELOG.md - asf_search/ASFSession.py - asf_search/constants/PRODUCTION_CONFIGURATION.py - debian/changelog - 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' ===================================== debian/changelog ===================================== @@ -1,9 +1,12 @@ -asf-search (10.0.2-2) UNRELEASED; urgency=medium +asf-search (10.0.4-1) unstable; urgency=medium - * Team upload. + [ Bas Couwenberg ] * Update lintian overrides. - -- Bas Couwenberg <[email protected]> Fri, 12 Sep 2025 17:26:25 +0200 + [ Antonio Valentino ] + * New upstream release. + + -- Antonio Valentino <[email protected]> Wed, 17 Sep 2025 21:51:19 +0000 asf-search (10.0.2-1) unstable; urgency=medium ===================================== 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/-/compare/601c1b7a2002da527dcca008c324244a32d05163...322c8554da0e8c15399b321ad1bcaa05555c28c7 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/601c1b7a2002da527dcca008c324244a32d05163...322c8554da0e8c15399b321ad1bcaa05555c28c7 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
