Skip to content

Commit c2c830e

Browse files
committed
Deprecate python 3.6 and 3.7
1 parent 3af3a40 commit c2c830e

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ pygame-menu
1414
:target: https://opensource.org/licenses/MIT
1515
:alt: License MIT
1616

17-
.. image:: https://img.shields.io/badge/python-3.6+-red.svg
17+
.. image:: https://img.shields.io/badge/python-3.8+-red.svg
1818
:target: https://www.python.org/downloads
19-
:alt: Python 3.6+
19+
:alt: Python 3.8+
2020

2121
.. image:: https://img.shields.io/badge/pygame-1.9.3%2B%2F2.0%2B-orange
2222
:target: https://www.pygame.org

pygame_menu/menu.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,9 +247,9 @@ def __init__(
247247
assert not hasattr(pygame, 'get_init') or pygame.get_init(), \
248248
'pygame is not initialized'
249249

250-
# Assert python version is greater than 3.6
251-
assert sys.version_info >= (3, 6, 0), \
252-
'pygame-menu only supports python equal or greater than version 3.6.0'
250+
# Assert python version is greater than 3.8
251+
assert sys.version_info >= (3, 8, 0), \
252+
'pygame-menu only supports python equal or greater than version 3.8.0'
253253

254254
# Column/row asserts
255255
assert columns >= 1, \

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,6 @@
6363
'License :: OSI Approved :: MIT License',
6464
'Natural Language :: English',
6565
'Operating System :: OS Independent',
66-
'Programming Language :: Python :: 3.6',
67-
'Programming Language :: Python :: 3.7',
6866
'Programming Language :: Python :: 3.8',
6967
'Programming Language :: Python :: 3.9',
7068
'Programming Language :: Python :: 3.10',
@@ -78,7 +76,7 @@
7876
],
7977
include_package_data=True,
8078
packages=find_packages(exclude=['test']),
81-
python_requires='>=3.6, <4',
79+
python_requires='>=3.8, <4',
8280
install_requires=requirements,
8381
extras_require={
8482
'docs': ['sphinx<7', 'sphinx-autodoc-typehints>=1.2.0', 'sphinx-rtd-theme'],

0 commit comments

Comments
 (0)