From 456da04a12fc35344eb6772445ec20a7bdf59281 Mon Sep 17 00:00:00 2001 From: Wenbin Fang Date: Mon, 17 Mar 2025 11:56:04 -0700 Subject: [PATCH] Support newer python versions. --- .travis.yml | 33 --------------------------------- setup.py | 8 ++++---- tox.ini | 6 +++--- 3 files changed, 7 insertions(+), 40 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 42e3bd7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,33 +0,0 @@ -sudo: false - -dist: xenial - -language: python - -matrix: - include: - - python: "3.5" - - python: "3.6" - - python: "3.7" - - python: "3.8" - - python: "3.9" - - python: "3.10-dev" - allow_failures: - - python: "3.10-dev" - -cache: - pip: true - -#env: -# global: - -#before_install: -# - - -install: - - make - -script: - - make test-travis - -#after_success: make coveralls \ No newline at end of file diff --git a/setup.py b/setup.py index 5551e7a..df3f16f 100644 --- a/setup.py +++ b/setup.py @@ -34,7 +34,7 @@ 'requests >= 2.20; python_version >= "3.0"', "setuptools>=41.0.1", ], - python_requires=">=3.7", + python_requires=">=3.10", project_urls={ "Bug Tracker": ( "https://github.com/listennotes/" "podcast-api-python/issues" @@ -49,10 +49,10 @@ "Operating System :: OS Independent", "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", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", ], diff --git a/tox.ini b/tox.ini index 42f811c..10e67f7 100644 --- a/tox.ini +++ b/tox.ini @@ -7,7 +7,7 @@ envlist = fmt lint - py{310,39,38,37} + py{310,311,312,313} skip_missing_interpreters = true [tool:pytest] @@ -30,14 +30,14 @@ passenv = LDFLAGS,CFLAGS [testenv:fmt] description = run code formatting using black -basepython = python3.8 +basepython = python3.10 deps = black==22.3.0 commands = black . {posargs} skip_install = true [testenv:lint] description = run static analysis and style check using flake8 -basepython = python3.8 +basepython = python3.10 deps = flake8 commands = python -m flake8 --show-source listennotes tests setup.py --max-line-length=100 skip_install = true