Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supported python versions #207

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ jobs:
strategy:
fail-fast: false
matrix:
job: [py37-flake8, py37-docstrings]
job: [py38-flake8, py38-docstrings]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.8
- run: pip install --upgrade pip
- run: pip install tox
- run: tox -e ${{ matrix.job }}
Expand All @@ -22,7 +22,7 @@ jobs:
# max-parallel: 6
matrix:
os: [ubuntu-latest] # [macos-latest, ubuntu-latest, windows-latest]
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.9']
python: ['3.8', '3.9', '3.10', '3.11', 'pypy3.9']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand Down
47 changes: 18 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,26 @@ notifications:

matrix:
include:
- python: 2.7
env: TOXENV=py27
- python: 3.4
env: TOXENV=py34
- python: 3.5
env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
dist: xenial
sudo: required # needed for 3.7
- python: 2.7
env: TOXENV=py27 REQUESTS_VERSION="===2.2.1"
- python: 3.4
env: TOXENV=py34 REQUESTS_VERSION="===2.2.1"
- python: 3.5
env: TOXENV=py35 REQUESTS_VERSION="===2.2.1"
- python: 3.6
env: TOXENV=py36 REQUESTS_VERSION="===2.2.1"
- python: 3.7
env: TOXENV=py37 REQUESTS_VERSION="===2.2.1"
dist: xenial
sudo: required
- python: 3.8
env: TOXENV=py38
- python: 3.9
env: TOXENV=py39
- python: 3.10
env: TOXENV=py310
- python: 3.11
env: TOXENV=py311
- python: 3.8
env: TOXENV=py38 REQUESTS_VERSION="===2.2.1"
- python: 3.9
env: TOXENV=py39 REQUESTS_VERSION="===2.2.1"
- python: 3.10
env: TOXENV=py310 REQUESTS_VERSION="===2.2.1"
- python: 3.11
env: TOXENV=py311 REQUESTS_VERSION="===2.2.1"
- python: pypy
env: TOXENV=pypy REQUESTS_VERSION="===2.2.1"
- env: TOXENV=py27-flake8
- env: TOXENV=py37-flake8
python: 3.7
dist: xenial
sudo: required
- env: TOXENV=py38-flake8
python: 3.8
- env: TOXENV=docstrings
- env: TOXENV=docs
- env: TOXENV=readme
13 changes: 6 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,17 @@ def data_for(filename):
entry_points={
"pytest11": ["pytest-betamax = betamax.fixtures.pytest"]
},
python_requires='>=3.8',
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
)
12 changes: 3 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py34,py35,py36,py37,pypy,{py27,py37}-flake8,docstrings
envlist = py38,py39,py310,py311,pypy,py38-flake8,docstrings

[testenv]
pip_pre = False
Expand All @@ -9,14 +9,8 @@ deps =
mock
commands = py.test {posargs}

[testenv:py27-flake8]
basepython = python2.7
deps =
flake8
commands = flake8 {posargs} src/betamax

[testenv:py37-flake8]
basepython = python3.7
[testenv:py38-flake8]
basepython = python3.8
deps =
flake8
commands = flake8 {posargs} src/betamax
Expand Down
Loading