[Git][debian-gis-team/asf-search][upstream] New upstream version 6.6.3
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Thu Aug 31 07:02:14 BST 2023
Antonio Valentino pushed to branch upstream at Debian GIS Project / asf-search
Commits:
b03579ef by Antonio Valentino at 2023-08-31T05:59:28+00:00
New upstream version 6.6.3
- - - - -
4 changed files:
- − .github/release.yml
- .github/workflows/prod-request-merged.yml
- CHANGELOG.md
- asf_search/search/search_generator.py
Changes:
=====================================
.github/release.yml deleted
=====================================
@@ -1,16 +0,0 @@
-# .github/release.yml
-
-changelog:
- exclude:
- labels:
- - bumpless
- categories:
- - title: Major Release
- labels:
- - major
- - title: Minor Release
- labels:
- - minor
- - title: Patch Release
- labels:
- - patch
=====================================
.github/workflows/prod-request-merged.yml
=====================================
@@ -41,3 +41,4 @@ jobs:
tag_schema: semantic
draft: false
prerelease: false
+ body: "${{ github.event.pull_request.body }}"
=====================================
CHANGELOG.md
=====================================
@@ -25,6 +25,11 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-
-->
+------
+## [v6.6.3](https://github.com/asfadmin/Discovery-asf_search/compare/v6.6.2...v6.6.3)
+### Fixed
+- Fixes type hinting compatibility break introduced in v6.6.2 in `search_generator.py` for Python versions < v3.9
+
------
## [v6.6.2](https://github.com/asfadmin/Discovery-asf_search/compare/v6.6.1...v6.6.2)
### Added
=====================================
asf_search/search/search_generator.py
=====================================
@@ -1,5 +1,5 @@
import logging
-from typing import Generator, Union, Iterable, Tuple
+from typing import Generator, Union, Iterable, Tuple, List
from copy import copy
from requests.exceptions import HTTPError
from requests import ReadTimeout, Response
@@ -20,7 +20,6 @@ from asf_search.constants import INTERNAL
from asf_search.WKT.validate_wkt import validate_wkt
from asf_search.search.error_reporting import report_search_error
-
def search_generator(
absoluteOrbit: Union[int, Tuple[int, int], Iterable[Union[int, Tuple[int, int]]]] = None,
asfFrame: Union[int, Tuple[int, int], Iterable[Union[int, Tuple[int, int]]]] = None,
@@ -131,7 +130,7 @@ def query_cmr(session: ASFSession, url: str, translated_opts: dict, sub_query_co
return items, hits, response.headers.get('CMR-Search-After', None)
-def process_page(items: list[ASFProduct], max_results: int, subquery_max_results: int, total: int, subquery_count: int, opts: ASFSearchOptions):
+def process_page(items: List[ASFProduct], max_results: int, subquery_max_results: int, total: int, subquery_count: int, opts: ASFSearchOptions):
if max_results is None:
last_page = ASFSearchResults(items[:min(subquery_max_results - subquery_count, len(items))], opts=opts)
else:
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/b03579efbd2030b1e3bc668866043c697870b1a6
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/commit/b03579efbd2030b1e3bc668866043c697870b1a6
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/20230831/37d6d941/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list