Skip to content

Commit

Permalink
Drop python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ankith26 committed Nov 17, 2024
1 parent 71ca715 commit ab5016e
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Dependency versions:


+----------+------------------------+
| CPython | >= 3.8 (Or use PyPy3) |
| CPython | >= 3.9 (Or use PyPy3) |
+----------+------------------------+
| SDL | >= 2.0.14 |
+----------+------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/README.es.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ El módulo surfarray necesita el paquete python numpy, para sus matrices numéri
Versiones de dependencia:

+----------+-----------------------------+
| CPython | >= 3.8 (Ou utiliser PyPy3) |
| CPython | >= 3.9 (Ou utiliser PyPy3) |
+----------+-----------------------------+
| SDL | >= 2.0.14 |
+----------+-----------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/README.fa.rst
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ Dependencies (وابستگی ها)
مشاهده کنید.

+----------+------------------------+
| CPython | >= 3.8 (Or use PyPy3) |
| CPython | >= 3.9 (Or use PyPy3) |
+----------+------------------------+
| SDL | >= 2.0.14 |
+----------+------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/README.fr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ multidimensionnels.
Versions des dépendances:

+----------+-----------------------------+
| CPython | >= 3.8 (Ou utiliser PyPy3) |
| CPython | >= 3.9 (Ou utiliser PyPy3) |
+----------+-----------------------------+
| SDL | >= 2.0.14 |
+----------+-----------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/README.it.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ Le versioni dei requisiti:


+----------+------------------------+
| CPython | >= 3.8 (Or use PyPy3) |
| CPython | >= 3.9 (Or use PyPy3) |
+----------+------------------------+
| SDL | >= 2.0.14 |
+----------+------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/README.ja.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ gfxdraw には SDL_gfx の埋め込みバージョンが含まれています。
依存バージョン:

+----------+------------------------+
| CPython | >= 3.8 (Or use PyPy3) |
| CPython | >= 3.9 (Or use PyPy3) |
+----------+------------------------+
| SDL | >= 2.0.14 |
+----------+------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/README.ru.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ SDL_rotozoom, а gfxdraw имеет встроенную версию SDL_gfx.


+----------+------------------------+
| CPython | >= 3.8 (Or use PyPy3) |
| CPython | >= 3.9 (Or use PyPy3) |
+----------+------------------------+
| SDL | >= 2.0.14 |
+----------+------------------------+
Expand Down
2 changes: 1 addition & 1 deletion docs/readmes/README.zh-cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ pygame显然依赖于SDL和Python。此外pygame还嵌入了几个较小的库


+----------+------------------------+
| CPython | >= 3.8 (或 PyPy3) |
| CPython | >= 3.9 (或 PyPy3) |
+----------+------------------------+
| SDL | >= 2.0.14 |
+----------+------------------------+
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "pygame-ce"
version = "2.5.3.dev1"
description = "Python Game Development"
readme = "README.rst" # for long description
requires-python = ">=3.8"
requires-python = ">=3.9"
license = {text = "LGPL v2.1"}
authors = [{name = "A community project"}]
classifiers = [
Expand All @@ -14,7 +14,6 @@ classifiers = [
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -74,7 +73,7 @@ install = ['--tags=runtime,python-runtime,pg-tag']
# dependencies. Here is where uv comes into the picture. It is an "installer" like pip,
# but faster. It has been observed to save a couple of minutes of CI time.
build-frontend = "build[uv]"
build = "cp3{8,9,10,11,12,13}-* pp3{8,9,10}-*"
build = "cp3{9,10,11,12,13}-* pp3{9,10}-*"
skip = "*-musllinux_*"
# build[uv] is verbose by default, so below flag is not needed here
# build-verbosity = 3
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox:tox]
envlist = py{38,39,310,311,312,313}
envlist = py{39,310,311,312,313}
skip_missing_interpreters = True
skipsdist = True

Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -63,7 +62,7 @@
"Operating System :: MacOS",
"Typing :: Typed"
],
"python_requires": '>=3.8',
"python_requires": '>=3.9',
}

import re
Expand Down Expand Up @@ -156,11 +155,11 @@ def compilation_help():
print('---\n')


if not hasattr(sys, 'version_info') or sys.version_info < (3, 8):
if not hasattr(sys, 'version_info') or sys.version_info < (3, 9):
compilation_help()
raise SystemExit("Pygame-ce requires Python3 version 3.8 or above.")
raise SystemExit("Pygame-ce requires Python3 version 3.9 or above.")
if IS_PYPY and sys.pypy_version_info < (7,):
raise SystemExit("Pygame-ce requires PyPy version 7.0.0 above, compatible with CPython >= 3.8")
raise SystemExit("Pygame-ce requires PyPy version 7.0.0 above, compatible with CPython >= 3.9")


def consume_arg(name):
Expand Down

0 comments on commit ab5016e

Please sign in to comment.