Skip to content

Commit

Permalink
MAINT: Discontinue Python 3.7 support
Browse files Browse the repository at this point in the history
Official end of security fixes in June 2023
https://peps.python.org/pep-0537/
  • Loading branch information
ntfrgl committed Jun 27, 2023
1 parent 6dc0f63 commit 4cf6969
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -3,9 +3,10 @@ if: branch = master

language: python
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"

sudo: false
dist: xenial
Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Expand Up @@ -32,10 +32,10 @@ classifiers =
Natural Language :: English
Operating System :: OS Independent
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Scientific/Engineering :: GIS
Topic :: Scientific/Engineering :: Information Analysis
Topic :: Scientific/Engineering :: Mathematics
Expand All @@ -46,8 +46,7 @@ install_requires =
numpy >= 1.20
scipy >= 1.5
python-igraph >= 0.9
importlib-metadata >= 1.0 ; python_version < "3.8"
python_requires = >=3.7
python_requires = >=3.8
packages = find:
package_dir =
= src
Expand Down
7 changes: 1 addition & 6 deletions src/pyunicorn/version.py
Expand Up @@ -12,11 +12,6 @@
# and J. Kurths, "Unified functional network and nonlinear time series analysis
# for complex systems science: The pyunicorn package"

import sys

if sys.version_info >= (3, 8):
from importlib import metadata
else:
import importlib_metadata as metadata
from importlib import metadata

__version__ = metadata.version('pyunicorn')

0 comments on commit 4cf6969

Please sign in to comment.