Skip to content

Commit 8b29a93

Browse files
committed
Merge tag '2.1.1' into main
2 parents 74e8b77 + 001457a commit 8b29a93

File tree

8 files changed

+21
-9
lines changed

8 files changed

+21
-9
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
strategy:
5555
matrix:
56-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
56+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
5757

5858
steps:
5959
- name: Checkout code

CHANGES.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2.1.1 (2023-07-20)
2+
3+
Changed:
4+
- Version 2.1.0 was not compatible with Python 3.7 because of an import of
5+
typing.Literal. It is now imported exclusively from typing_extensions and
6+
Python 3.7, while EOL, will be supported for a while longer (#).
7+
- The upper version pin for click has been removed. This project ignores type
8+
errors involving click.command() and click.group() since 2.1.0 and does not
9+
need to avoid click 8.1.4 or 8.1.5.
10+
111
2.1.0 (2023-07-17)
212

313
Added:

docs/cli/cli-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ with Planet’s tools.
2626
## CLI Set-up
2727

2828
Getting your CLI set up with your Planet account is covered in the
29-
[Quick Start Guide](../getting-started/quick-start-guide.md), so be sure
29+
[Quick Start Guide](../get-started/quick-start-guide.md), so be sure
3030
to do that before going into any of the next sections.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def coverage(session):
3737
session.run('coverage', 'report')
3838

3939

40-
@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
40+
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"])
4141
def test(session):
4242
session.run('python', '-m', 'ensurepip', '--upgrade')
4343
session.install('-U', 'setuptools')

planet/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.1.1dev'
1+
__version__ = '2.2dev'

planet/clients/subscriptions.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
"""Planet Subscriptions API Python client."""
22

33
import logging
4-
from typing import AsyncIterator, Literal, Optional, Sequence
4+
from typing import AsyncIterator, Optional, Sequence
5+
6+
from typing_extensions import Literal
57

68
from planet.exceptions import APIError, ClientError
79
from planet.http import Session

planet/subscription_request.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
# the License.
1414
"""Functionality for preparing subscription requests."""
1515
from datetime import datetime
16-
from typing import Any, Dict, Optional, List, Literal, Mapping, Sequence
16+
from typing import Any, Dict, Optional, List, Mapping, Sequence
17+
18+
from typing_extensions import Literal
1719

1820
from . import geojson, specs
1921
from .exceptions import ClientError

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
continue
2525

2626
install_requires = [
27-
# click 8.1.4 breaks our mypy check, see
28-
# https://github.com/pallets/click/issues/2558.
29-
'click>8.0,<8.1.4',
27+
'click>=8.0',
3028
'geojson',
3129
'httpx>=0.23.0',
3230
'jsonschema',

0 commit comments

Comments
 (0)