Skip to content

Commit b296293

Browse files
chore(internal): version bump (#375)
1 parent b668aeb commit b296293

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![PyPI version](https://img.shields.io/pypi/v/openlayer.svg)](https://pypi.org/project/openlayer/)
44

5-
The Openlayer Python library provides convenient access to the Openlayer REST API from any Python 3.7+
5+
The Openlayer Python library provides convenient access to the Openlayer REST API from any Python 3.8+
66
application. The library includes type definitions for all request params and response fields,
77
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
88

@@ -438,7 +438,7 @@ print(openlayer.__version__)
438438

439439
## Requirements
440440

441-
Python 3.7 or higher.
441+
Python 3.8 or higher.
442442

443443
## Contributing
444444

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@ dependencies = [
2020
"pyyaml>=6.0",
2121
"requests_toolbelt>=1.0.0",
2222
]
23-
requires-python = ">= 3.7"
23+
requires-python = ">= 3.8"
2424
classifiers = [
2525
"Typing :: Typed",
2626
"Intended Audience :: Developers",
27-
"Programming Language :: Python :: 3.7",
2827
"Programming Language :: Python :: 3.8",
2928
"Programming Language :: Python :: 3.9",
3029
"Programming Language :: Python :: 3.10",
@@ -143,7 +142,7 @@ filterwarnings = [
143142
# there are a couple of flags that are still disabled by
144143
# default in strict mode as they are experimental and niche.
145144
typeCheckingMode = "strict"
146-
pythonVersion = "3.7"
145+
pythonVersion = "3.8"
147146

148147
exclude = [
149148
"_dev",

tests/test_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ class Model(BaseModel):
702702
[3, "", 0.5],
703703
[2, "", 0.5 * 2.0],
704704
[1, "", 0.5 * 4.0],
705-
[-1100, "", 7.8], # test large number potentially overflowing
705+
[-1100, "", 8], # test large number potentially overflowing
706706
],
707707
)
708708
@mock.patch("time.time", mock.MagicMock(return_value=1696004797))
@@ -1574,7 +1574,7 @@ class Model(BaseModel):
15741574
[3, "", 0.5],
15751575
[2, "", 0.5 * 2.0],
15761576
[1, "", 0.5 * 4.0],
1577-
[-1100, "", 7.8], # test large number potentially overflowing
1577+
[-1100, "", 8], # test large number potentially overflowing
15781578
],
15791579
)
15801580
@mock.patch("time.time", mock.MagicMock(return_value=1696004797))

0 commit comments

Comments
 (0)