8000 bump minimum python version to 3.8 (#175) · Raptorly1/client-python@f16a7e6 · GitHub
[go: up one dir, main page]

Skip to content

Commit f16a7e6

Browse files
authored
bump minimum python version to 3.8 (polygon-io#175)
1 parent 8baca91 commit f16a7e6

File tree

5 files changed

+10
-48
lines changed

5 files changed

+10
-48
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Python client for the [Polygon.io API](https://polygon.io).
99

1010
`pip install polygon-api-client~=1.0.0b`
1111

12-
Requires Python >= 3.7.
12+
Requires Python >= 3.8.
1313

1414
## Getting started
1515
See the [Getting Started](https://polygon-api-client.readthedocs.io/en/latest/Getting-Started.html)

docs/source/Getting-Started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Getting Started
33

44
Requirements:
55
- `Polygon.io API key <https://polygon.io/dashboard/api-keys>`_
6-
- `Python >= 3.7 <https://www.python.org/downloads/>`_
6+
- `Python >= 3.8 <https://www.python.org/downloads/>`_
77
- `This package <https://pypi.org/project/polygon-api-client/>`_
88

99
.. code-block:: shell

poetry.lock

Lines changed: 5 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

polygon/rest/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def _get_params(
116116
params = caller_locals["params"]
117117
if params is None:
118118
params = {}
119-
# https://docs.python.org/3.7/library/inspect.html#inspect.Signature
119+
# https://docs.python.org/3.8/library/inspect.html#inspect.Signature
120120
for argname, v in inspect.signature(fn).parameters.items():
121-
# https://docs.python.org/3.7/library/inspect.html#inspect.Parameter
121+
# https://docs.python.org/3.8/library/inspect.html#inspect.Parameter
122122
if argname in ["params", "raw"]:
123123
continue
124124
if v.default != v.empty:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ packages = [
2424
]
2525

2626
[tool.poetry.dependencies]
27-
python = "^3.7"
27+
python = "^3.8"
2828
urllib3 = "^1.26.9"
2929
websockets = "^10.3"
3030
certifi = "^2021.10.8"

0 commit comments

Comments
 (0)
0