[Git][debian-gis-team/asf-search][master] 4 commits: New upstream version 6.6.3
Antonio Valentino (@antonio.valentino)
gitlab at salsa.debian.org
Thu Aug 31 07:02:06 BST 2023
Antonio Valentino pushed to branch master 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
- - - - -
fd302af8 by Antonio Valentino at 2023-08-31T05:59:32+00:00
Update upstream source from tag 'upstream/6.6.3'
Update to upstream version '6.6.3'
with Debian dir 1ec8e27e40b1407d4617cfad425a36f2bab407c6
- - - - -
68192652 by Antonio Valentino at 2023-08-31T06:00:17+00:00
New upstream release
- - - - -
396d8a74 by Antonio Valentino at 2023-08-31T06:01:33+00:00
Set distribution to unstable
- - - - -
5 changed files:
- − .github/release.yml
- .github/workflows/prod-request-merged.yml
- CHANGELOG.md
- asf_search/search/search_generator.py
- debian/changelog
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:
=====================================
debian/changelog
=====================================
@@ -1,9 +1,12 @@
-asf-search (6.6.2-2) UNRELEASED; urgency=medium
+asf-search (6.6.3-1) unstable; urgency=medium
- * Team upload.
+ [ Bas Couwenberg ]
* Switch to dh-sequence-*.
- -- Bas Couwenberg <sebastic at debian.org> Wed, 30 Aug 2023 16:02:59 +0200
+ [ Antonio Valentino ]
+ * New upstream release.
+
+ -- Antonio Valentino <antonio.valentino at tiscali.it> Thu, 31 Aug 2023 06:01:16 +0000
asf-search (6.6.2-1) unstable; urgency=medium
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/0bd0106fb62d5b2ef4ba74455c7febc861a0efad...396d8a745bdb067833bec3695d9e862ee494c3de
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/asf-search/-/compare/0bd0106fb62d5b2ef4ba74455c7febc861a0efad...396d8a745bdb067833bec3695d9e862ee494c3de
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/a9be308b/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list