Skip to content

Commit 4ec82ce

Browse files
authored
chore: upgrade Python matrix in CI (#199)
* chore: upgrade Pythin matrix in CI * test: base for 3.9+ * chore: Python 3.9+ required
1 parent a055a0a commit 4ec82ce

5 files changed

Lines changed: 5 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
parameters:
44
default-python-image:
55
type: string
6-
default: "cimg/python:3.8"
6+
default: "cimg/python:3.9"
77

88
executors:
99
docker-amd64-image:
@@ -193,7 +193,7 @@ workflows:
193193
matrix:
194194
parameters:
195195
exe: [ docker-amd64-image, docker-arm64-image ]
196-
python-image: [ << pipeline.parameters.default-python-image >>, "cimg/python:3.9", "cimg/python:3.10", "cimg/python:3.11", "cimg/python:3.12", "cimg/python:3.13" ]
196+
python-image: [ << pipeline.parameters.default-python-image >>, "cimg/python:3.10", "cimg/python:3.11", "cimg/python:3.12", "cimg/python:3.13", "cimg/python:3.14" ]
197197
- tests-python:
198198
requires:
199199
- tests-python

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ pip install influxdb3-python
4949

5050
Note: This does not include Pandas support. If you would like to use key features such as `to_pandas()` and `write_file()` you will need to install `pandas` separately.
5151

52-
*Note: Please make sure you are using 3.6 or above. For the best performance use 3.11+*
52+
*Note: Please make sure you are using 3.9 or above. For the best performance use 3.11+*
5353

5454
# Usage
5555
One of the easiest ways to get started is to checkout the ["Pokemon Trainer Cookbook"](https://github.com/InfluxCommunity/influxdb3-python/blob/main/Examples/pokemon-trainer/cookbook.ipynb). This scenario takes you through the basics of both the client library and Pyarrow.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ def get_version():
6060
]
6161
},
6262
install_requires=requires,
63-
python_requires='>=3.8',
63+
python_requires='>=3.9',
6464
classifiers=[
6565
'Development Status :: 4 - Beta',
6666
'Intended Audience :: Developers',
6767
'License :: OSI Approved :: MIT License',
68-
'Programming Language :: Python :: 3.8',
6968
'Programming Language :: Python :: 3.9',
7069
'Programming Language :: Python :: 3.10',
7170
'Programming Language :: Python :: 3.11',
7271
'Programming Language :: Python :: 3.12',
7372
'Programming Language :: Python :: 3.13',
73+
'Programming Language :: Python :: 3.14',
7474
]
7575
)

tests/test_api_client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ def mock_urllib3_timeout_request(method,
5656
return response.HTTPResponse(status=200, version=4, reason="OK", decode_content=False, request_url=url)
5757

5858
def test_default_headers(self):
59-
global _package
6059
conf = Configuration()
6160
client = ApiClient(conf,
6261
header_name="Authorization",
@@ -69,7 +68,6 @@ def test_default_headers(self):
6968
@mock.patch("influxdb_client_3.write_client._sync.rest.RESTClientObject.request",
7069
side_effect=mock_rest_request)
7170
def test_call_api(self, mock_post):
72-
global _package
7371
global _sentHeaders
7472
_sentHeaders = {}
7573

tests/util/mocks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ def set_req_headers(headers):
5353

5454

5555
def get_req_headers():
56-
global req_headers
5756
return req_headers
5857

5958

0 commit comments

Comments
 (0)