Skip to content

Commit

Permalink
Remove support for EOL Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisfreitag committed Jul 17, 2023
1 parent f52d6cd commit 9b4943a
Show file tree
Hide file tree
Showing 6 changed files with 12 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 @@ -17,12 +17,10 @@ jobs:
fail-fast: false
matrix:
python-version:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "pypy-3.7"
- "pypy-3.8"
- "pypy-3.9"
database-type:
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ test:
-X dev \
-Werror \
-Wdefault:"the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses":DeprecationWarning:distutils: \
-Wdefault:"Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working":DeprecationWarning:: \
-Wdefault:"Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working":DeprecationWarning:: \
-Wdefault:"set_output_charset() is deprecated":DeprecationWarning:: \
-Wdefault:"parameter codeset is deprecated":DeprecationWarning:: \
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ ChangeLog
- Drop support for Django 3.0
- Drop support for Django 3.1
- Drop support for Python 3.6
- Drop support for Python 3.7

3.2.1 (2021-10-26)
------------------
Expand Down
6 changes: 6 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
install:
- method: pip
Expand Down
4 changes: 1 addition & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ classifiers =
Programming Language :: Python
Programming Language :: Python :: 3
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
Expand All @@ -36,10 +35,9 @@ classifiers =
[options]
packages = factory
python_requires = >=3.7
python_requires = >=3.8
install_requires =
Faker>=0.7.0
importlib_metadata;python_version<"3.8"
[options.extras_require]
dev =
Expand Down
10 changes: 4 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,18 @@ envlist =
docs
examples
linkcheck
py{37,38,39,310,311,py37,py38,py39}-sqlite
py{37,38,39,310,311,py37,py38,py39}-django32-mongo-alchemy-{sqlite,postgres}
py{38,39,310,311,py38,py39}-sqlite
py{38,39,310,311,py38,py39}-django32-mongo-alchemy-{sqlite,postgres}
py{38,39,310,311,py38,py39}-django40-mongo-alchemy-{sqlite,postgres}
py{38,39,310,311,py38,py39}-django41-mongo-alchemy-{sqlite,postgres}
py310-djangomain-mongo-alchemy-{sqlite,postgres}

[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
pypy-3.7: pypy37
pypy-3.8: pypy38
pypy-3.9: pypy39

Expand All @@ -41,8 +39,8 @@ deps =
django40: Django>=4.0,<4.1
django41: Django>=4.1,<4.2
djangomain: https://github.com/django/django/archive/main.tar.gz
py{37,38,39,310,311}-postgres: psycopg2-binary
pypy{37,38,39}-postgres: psycopg2cffi
py{38,39,310,311}-postgres: psycopg2-binary
pypy{38,39}-postgres: psycopg2cffi

setenv =
py: DJANGO_SETTINGS_MODULE=tests.djapp.settings
Expand Down

0 comments on commit 9b4943a

Please sign in to comment.