Skip to content

Commit

Permalink
Drop support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Aug 14, 2023
1 parent f64f73c commit c32fd9e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: true
matrix:
os: [ ubuntu-20.04 ] # , macos-latest, windows-latest ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
mosquitto-version: [ "2.0" ]
influxdb-version: [ "1.8" ]
grafana-version: [ "7.5.17", "8.5.27", "9.5.7", "10.0.3" ]
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ in progress
- [export] Improve export capabilities by adding parameters ``sort``, ``direction``,
``limit``, and ``scalar``. Thanks, @ClemensGruber.
- [export] Repair ``ggplot`` graph rendering by switching to ``plotnine``
- Drop support for Python 3.7


.. _kotori-0.27.0:
Expand Down
6 changes: 0 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,10 @@
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()

PYTHON_35 = (3, 5) <= sys.version_info < (3, 6)
PYTHON_GTE_310 = sys.version_info >= (3, 10)
PYTHON_LT_311 = sys.version_info < (3, 11)

# Pandas on Python 3.5 will attempt to install `numpy==1.20.1`,
# which will bail out on aarch64 with `RuntimeError: Python version >= 3.7 required.`.
numpy_spec = "numpy>=1.18,<1.22"
if PYTHON_35:
numpy_spec = "numpy==1.18.5"

pandas_spec = "pandas<1.3"
if PYTHON_GTE_310:
Expand Down Expand Up @@ -160,7 +155,6 @@
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand Down

0 comments on commit c32fd9e

Please sign in to comment.