aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrbean-bremen <hansemrbean@googlemail.com>2023-08-23 20:55:34 +0200
committermrbean-bremen <mrbean-bremen@users.noreply.github.com>2023-08-24 20:02:18 +0200
commit979a878b12a3f625abe986a2249b677e6193ae3d (patch)
treeecbf270784a176cca7b2c9ffaaa8c35ffd2f5752
parent4ea3c5feaa9d440022c128219bad959e9ea6d1eb (diff)
downloadpyfakefs-979a878b12a3f625abe986a2249b677e6193ae3d.tar.gz
Remove support for EOL Python 3.7
-rw-r--r--.github/workflows/testsuite.yml8
-rw-r--r--CHANGES.md3
-rw-r--r--README.md4
-rw-r--r--docs/intro.rst2
-rw-r--r--extra_requirements.txt2
-rw-r--r--setup.cfg3
6 files changed, 12 insertions, 10 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index bb6488c..51b59b2 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
- python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12-dev"]
+ python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"]
include:
- python-version: "pypy-3.7"
os: ubuntu-latest
@@ -100,8 +100,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
- python-version: [3.9]
- pytest-version: [3.0.0, 3.5.1, 4.0.2, 4.5.0, 5.0.1, 5.4.3, 6.0.2, 6.2.5, 7.0.1, 7.1.3, 7.2.0, 7.3.1]
+ python-version: ["3.9"]
+ pytest-version: [3.0.0, 3.5.1, 4.0.2, 4.5.0, 5.0.1, 5.4.3, 6.0.2, 6.2.5, 7.0.1, 7.1.3, 7.2.0, 7.3.1, 7.4.0]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
@@ -133,7 +133,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
- python-version: [3.9]
+ python-version: ["3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
diff --git a/CHANGES.md b/CHANGES.md
index 6e20517..23958e8 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -3,6 +3,9 @@ The released versions correspond to PyPI releases.
## Unreleased
+### Changes
+* removed support for Python 3.7 (end of life)
+
### Fixes
* removed a leftover debug print statement (see [#869](../../issues/869))
* make sure tests work without HOME environment set (see [#870](../../issues/870))
diff --git a/README.md b/README.md
index 97b7213..cbdf11f 100644
--- a/README.md
+++ b/README.md
@@ -55,7 +55,7 @@ provides some additional features:
under root
## Compatibility
-pyfakefs works with CPython 3.7 and above, on Linux, Windows and macOS, and
+pyfakefs works with CPython 3.8 and above, on Linux, Windows and macOS, and
with PyPy3.
pyfakefs works with [pytest](http://doc.pytest.org) version 3.0.0 or above,
@@ -73,7 +73,7 @@ for more information about the limitations of pyfakefs.
### Continuous integration
pyfakefs is currently automatically tested on Linux, macOS and Windows, with
-Python 3.7 to 3.11, and with PyPy3 on Linux, using
+Python 3.8 to 3.12, and with PyPy3 on Linux, using
[GitHub Actions](https://github.com/pytest-dev/pyfakefs/actions).
### Running pyfakefs unit tests
diff --git a/docs/intro.rst b/docs/intro.rst
index 9d805df..f022c09 100644
--- a/docs/intro.rst
+++ b/docs/intro.rst
@@ -6,7 +6,7 @@ system that mocks the Python file system modules.
Using pyfakefs, your tests operate on a fake file system in memory without touching the real disk.
The software under test requires no modification to work with pyfakefs.
-pyfakefs works with CPython 3.7 and above, on Linux, Windows and macOS,
+pyfakefs works with CPython 3.8 and above, on Linux, Windows and macOS,
and with PyPy3.
pyfakefs works with `pytest <doc.pytest.org>`__ version 3.0.0 or above by
diff --git a/extra_requirements.txt b/extra_requirements.txt
index 7b8cab4..6c69b9c 100644
--- a/extra_requirements.txt
+++ b/extra_requirements.txt
@@ -15,5 +15,5 @@ scandir>=1.8
# we use the latest version to see any problems with new versions
pandas==1.3.5; python_version == '3.7' # pyup: ignore
pandas==2.0.3; python_version > '3.7'
-xlrd==2.0.1; python_version > '3.6'
+xlrd==2.0.1
openpyxl==3.1.2
diff --git a/setup.cfg b/setup.cfg
index be7953b..a45a048 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -28,7 +28,6 @@ classifiers =
Intended Audience :: Developers
License :: OSI Approved :: Apache Software License
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
@@ -50,7 +49,7 @@ universal = 0
[options]
packages = find:
install_requires =
-python_requires = >=3.7
+python_requires = >=3.8
test_suite = pyfakefs.tests
include_package_data = True