Skip to content

Commit

Permalink
build: drop python 2.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Linkid committed Jul 23, 2023
1 parent 27e5147 commit 072cb7d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,11 @@ jobs:
tests:
name: Tests
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
experimental: [false]

include:
- os: ubuntu-latest
python-version: "2.7"
experimental: true
- os: macos-latest
python-version: "2.7"
experimental: true
- os: windows-latest
python-version: "2.7"
experimental: true

steps:
- name: Checkout
Expand Down
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@
"Programming Language :: C++",
"Programming Language :: Cython",
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
Expand All @@ -84,13 +82,11 @@
ext_modules=cythonize(ext, compiler_directives={'language_level': sys.version_info[0]}),
setup_requires=['cython'],
install_requires=[
'Cython >= 0.27',
'Cython >= 0.29.34',
],
extras_require={
'tests': [
"pytest<5;python_version<'3.4'",
"pytest;python_version>'3.4'",
"numpy<1.17;python_version<'3.4'",
"numpy<1.22;python_version=='3.7'",
"numpy;python_version>'3.7'"
],
Expand Down

0 comments on commit 072cb7d

Please sign in to comment.