Skip to content

Commit

Permalink
deps: Drop support for old Python versions
Browse files Browse the repository at this point in the history
Drop support for Python versions not supported upstream.
  • Loading branch information
nijel committed Aug 1, 2023
1 parent cf95380 commit f3ee6f8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
rev: v3.10.1
hooks:
- id: pyupgrade
args: [--py36-plus]
args: [--py38-plus]
- repo: https://github.com/psf/black
rev: 23.7.0
hooks:
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ services:
context: .
dockerfile: ./files/tests/Dockerfile
args:
- PYTHON_VERSIONS=3.6.12 3.7.16 3.8.16 3.9.16 3.10.10 3.11.2
- PYTHON_VERSIONS=3.8.17 3.9.17 3.10.12 3.11.4
environment:
- PYTHON_VERSIONS=3.6.12 3.7.16 3.8.16 3.9.16 3.10.10 3.11.2
- PYTHON_VERSIONS=3.8.17 3.9.17 3.10.12 3.11.4
volumes:
- .:/code
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def read_tests_requirements(filename):
long_description=long_description() or LONG_DESCRIPTION,
long_description_content_type="text/markdown",
install_requires=requirements,
python_requires=">=3.6",
python_requires=">=3.8",
extras_require={
"openidconnect": [requirements_openidconnect],
"saml": [requirements_saml],
Expand All @@ -88,10 +88,10 @@ def read_tests_requirements(filename):
"Environment :: Web Environment",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"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",
],
package_data={
"social_core/tests": [
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
# and then run "tox" from this directory.

[tox]
envlist = py36,py37,py38,py39,py310,py311
envlist = py38,py39,py310,py311

[testenv]
passenv = *
deps =
py{36,37,38,39,310,311}: -rsocial_core/tests/requirements.txt
py{38,39,310,311}: -rsocial_core/tests/requirements.txt
commands =
py{36,37,38,39,310,311}: pip install -e .[all]
py{36,37,38,39,310,311}: pip install --force-reinstall --no-binary lxml lxml
py{38,39,310,311}: pip install -e .[all]
py{38,39,310,311}: pip install --force-reinstall --no-binary lxml lxml
pytest {posargs:-v --cov=social_core}

0 comments on commit f3ee6f8

Please sign in to comment.