Skip to content

Commit

Permalink
Remove Python 2.7, 3.4 and 3.5. Release 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ifduyue committed Apr 14, 2023
1 parent e3500df commit 6573fb6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ on: [push]

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']


steps:
- uses: actions/checkout@v3
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
CHANGELOG
--------------

v2.1.0 2023/04/14
~~~~~~~~~~~~~~~~~~~

- Drop support for EOL Python 2.7, 3.4 and 3.5
- Add support for Python 3.9, 1.10 and 3.11

v2.0.0 2020/01/24
~~~~~~~~~~~~~~~~~~~

Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
Expand All @@ -49,6 +47,6 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
python_requires=">=3.6",
test_suite="tests",
)
2 changes: 1 addition & 1 deletion xxtea.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include <ctype.h>
#include <stdio.h>

#define VERSION "2.0.0.post0"
#define VERSION "3.0.0"

#if PY_MAJOR_VERSION >= 3
#define PyString_FromStringAndSize PyBytes_FromStringAndSize
Expand Down

0 comments on commit 6573fb6

Please sign in to comment.