Skip to content

Commit 3628c33

Browse files
authoredSep 6, 2024
🔥 drop Python 3.8 support (#454)
1 parent 4fbe57c commit 3628c33

File tree

5 files changed

+11
-14
lines changed

5 files changed

+11
-14
lines changed
 

‎CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if(BUILD_MQT_QCEC_BINDINGS)
3030

3131
# top-level call to find Python
3232
find_package(
33-
Python 3.8 REQUIRED
33+
Python 3.9 REQUIRED
3434
COMPONENTS Interpreter Development.Module
3535
OPTIONAL_COMPONENTS Development.SABIModule)
3636
endif()

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ If you have any questions, feel free to contact us via [quantum.cda@xcit.tum.de]
3030

3131
## Getting Started
3232

33-
QCEC is available via [PyPI](https://pypi.org/project/mqt.qcec/) for Linux, macOS, and Windows and supports Python 3.8 to 3.12.
33+
QCEC is available via [PyPI](https://pypi.org/project/mqt.qcec/) for Linux, macOS, and Windows and supports Python 3.9 to 3.13.
3434

3535
```console
3636
(venv) $ pip install mqt.qcec
@@ -52,7 +52,7 @@ print(result.equivalence)
5252

5353
## System Requirements and Building
5454

55-
The implementation is compatible with any C++17 compiler, a minimum CMake version of 3.19, and Python 3.8+.
55+
The implementation is compatible with any C++17 compiler, a minimum CMake version of 3.19, and Python 3.9+.
5656
Please refer to the [documentation](https://mqt.readthedocs.io/projects/qcec) on how to build the project.
5757

5858
Building (and running) is continuously tested under Linux, macOS, and Windows using the [latest available system versions for GitHub Actions](https://github.com/actions/virtual-environments).

‎docs/source/Installation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ In most practical cases (under 64-bit Linux, MacOS incl. Apple Silicon, and Wind
3434
(venv) $ pip install --upgrade pip setuptools wheel
3535
3636
.. warning::
37-
As of version 2.2.0, support for Python 3.7 has been officially dropped.
37+
As of version 2.8.0, support for Python 3.8 has been officially dropped.
3838
We strongly recommend that users upgrade to a more recent version of Python to ensure compatibility and continue receiving updates and support.
3939
Thank you for your understanding.
4040

‎noxfile.py

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
nox.options.sessions = ["lint", "tests", "minimums"]
2020

21-
PYTHON_ALL_VERSIONS = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
21+
PYTHON_ALL_VERSIONS = ["3.9", "3.10", "3.11", "3.12", "3.13"]
2222

2323
# The following lists all the build requirements for building the package.
2424
# Note that this includes transitive build dependencies of package dependencies,
@@ -105,18 +105,17 @@ def docs(session: nox.Session) -> None:
105105
extra_installs = ["sphinx-autobuild"] if serve else []
106106
session.install(*BUILD_REQUIREMENTS, *extra_installs)
107107
session.install("--no-build-isolation", "-ve.[docs]", "--reinstall-package", "mqt.qcec")
108-
session.chdir("docs")
109108

110109
if args.builder == "linkcheck":
111-
session.run("sphinx-build", "-b", "linkcheck", "source", "_build/linkcheck", *posargs)
110+
session.run("sphinx-build", "-b", "linkcheck", "docs", "docs/_build/linkcheck", *posargs)
112111
return
113112

114113
shared_args = (
115114
"-n", # nitpicky mode
116115
"-T", # full tracebacks
117116
f"-b={args.builder}",
118-
"source",
119-
f"_build/{args.builder}",
117+
"docs",
118+
f"docs/_build/{args.builder}",
120119
*posargs,
121120
)
122121

‎pyproject.toml

+3-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ classifiers = [
2929
"Programming Language :: Python",
3030
"Programming Language :: Python :: 3",
3131
"Programming Language :: Python :: 3 :: Only",
32-
"Programming Language :: Python :: 3.8",
3332
"Programming Language :: Python :: 3.9",
3433
"Programming Language :: Python :: 3.10",
3534
"Programming Language :: Python :: 3.11",
@@ -38,7 +37,7 @@ classifiers = [
3837
"Development Status :: 5 - Production/Stable",
3938
"Typing :: Typed",
4039
]
41-
requires-python = ">=3.8"
40+
requires-python = ">=3.9"
4241
dependencies = [
4342
"importlib_resources>=5.0; python_version < '3.10'",
4443
"typing_extensions>=4.2; python_version < '3.11'", # used for typing.Unpack
@@ -144,7 +143,6 @@ filterwarnings = [
144143
"error",
145144
'ignore:.*encountered in det.*:RuntimeWarning:numpy.linalg:',
146145
'ignore:.*datetime\.datetime\.utcfromtimestamp.*:DeprecationWarning:',
147-
'ignore:.*Qiskit with Python 3.8.*:DeprecationWarning:',
148146
]
149147

150148
[tool.coverage]
@@ -161,7 +159,7 @@ report.exclude_also = [
161159
[tool.mypy]
162160
files = ["src/mqt", "test/python", "noxfile.py"]
163161
mypy_path = ["$MYPY_CONFIG_FILE_DIR/src"]
164-
python_version = "3.8"
162+
python_version = "3.9"
165163
warn_unused_configs = true
166164
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
167165
strict = true
@@ -284,7 +282,7 @@ build = "cp3*"
284282
skip = "*-musllinux_*"
285283
archs = "auto64"
286284
test-command = "python -c \"from mqt import qcec\""
287-
test-skip = ["cp38-macosx_arm64", "cp313*"] # skip testing on Python 3.13 until our dependencies are ready
285+
test-skip = ["cp313*"] # skip testing on Python 3.13 until our dependencies are ready
288286
build-frontend = "build[uv]"
289287
free-threaded-support = true
290288
manylinux-x86_64-image = "manylinux_2_28"

0 commit comments

Comments
 (0)