Merge pull request #339 from EwoutH/py37

Require Python 3.7 or higher
This commit is contained in:
Alan Barzilay 2022-12-02 17:02:21 -03:00 committed by GitHub
commit 80bfad8285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

View File

@ -6,7 +6,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
python-version: [3.6, 3.7, 3.8, 3.9, pypy-3.7] python-version: [3.7, 3.8, 3.9, pypy-3.7]
steps: steps:
- name: Checkout repository - name: Checkout repository

View File

@ -99,7 +99,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put 2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the your new functionality into a function with a docstring, and add the
feature to the list in README.rst. feature to the list in README.rst.
3. The pull request should work for Python 2.7, 3.4, 3.5, 3.6, and PyPy. Check 3. The pull request should work for Python 3.7 to 3.11, and PyPy. Check
https://travis-ci.org/bndr/pipreqs/pull_requests and make sure that the https://travis-ci.org/bndr/pipreqs/pull_requests and make sure that the
tests pass for all supported Python versions. tests pass for all supported Python versions.

View File

@ -43,10 +43,11 @@ setup(
'License :: OSI Approved :: Apache Software License', 'License :: OSI Approved :: Apache Software License',
'Natural Language :: English', 'Natural Language :: English',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
], ],
test_suite='tests', test_suite='tests',
entry_points={ entry_points={
@ -54,4 +55,5 @@ setup(
'pipreqs=pipreqs.pipreqs:main', 'pipreqs=pipreqs.pipreqs:main',
], ],
}, },
python_requires='>=3.7',
) )

View File

@ -1,9 +1,8 @@
[tox] [tox]
envlist = py36, py37, py38, py39, pypy3, flake8 envlist = py37, py38, py39, pypy3, flake8
[gh-actions] [gh-actions]
python = python =
3.6: py36
3.7: py37 3.7: py37
3.8: py38 3.8: py38
3.9: py39 3.9: py39