Skip to content

Commit

Permalink
Merge tag '2.1.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
sgillies committed Jul 20, 2023
2 parents 74e8b77 + 001457a commit 8b29a93
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:

strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']

steps:
- name: Checkout code
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2.1.1 (2023-07-20)

Changed:
- Version 2.1.0 was not compatible with Python 3.7 because of an import of
typing.Literal. It is now imported exclusively from typing_extensions and
Python 3.7, while EOL, will be supported for a while longer (#).
- The upper version pin for click has been removed. This project ignores type
errors involving click.command() and click.group() since 2.1.0 and does not
need to avoid click 8.1.4 or 8.1.5.

2.1.0 (2023-07-17)

Added:
Expand Down
2 changes: 1 addition & 1 deletion docs/cli/cli-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ with Planet’s tools.
## CLI Set-up

Getting your CLI set up with your Planet account is covered in the
[Quick Start Guide](../getting-started/quick-start-guide.md), so be sure
[Quick Start Guide](../get-started/quick-start-guide.md), so be sure
to do that before going into any of the next sections.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def coverage(session):
session.run('coverage', 'report')


@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"])
@nox.session(python=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"])
def test(session):
session.run('python', '-m', 'ensurepip', '--upgrade')
session.install('-U', 'setuptools')
Expand Down
2 changes: 1 addition & 1 deletion planet/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.1.1dev'
__version__ = '2.2dev'
4 changes: 3 additions & 1 deletion planet/clients/subscriptions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
"""Planet Subscriptions API Python client."""

import logging
from typing import AsyncIterator, Literal, Optional, Sequence
from typing import AsyncIterator, Optional, Sequence

from typing_extensions import Literal

from planet.exceptions import APIError, ClientError
from planet.http import Session
Expand Down
4 changes: 3 additions & 1 deletion planet/subscription_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
# the License.
"""Functionality for preparing subscription requests."""
from datetime import datetime
from typing import Any, Dict, Optional, List, Literal, Mapping, Sequence
from typing import Any, Dict, Optional, List, Mapping, Sequence

from typing_extensions import Literal

from . import geojson, specs
from .exceptions import ClientError
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
continue

install_requires = [
# click 8.1.4 breaks our mypy check, see
# https://github.com/pallets/click/issues/2558.
'click>8.0,<8.1.4',
'click>=8.0',
'geojson',
'httpx>=0.23.0',
'jsonschema',
Expand Down

0 comments on commit 8b29a93

Please sign in to comment.