Skip to content

Commit 16fedf2

Browse files
authored
Merge pull request #62 from devitocodes/cythonfix
fix cython versdion
2 parents b74dcd3 + 6029d89 commit 16fedf2

File tree

4 files changed

+4
-19
lines changed

4 files changed

+4
-19
lines changed

.github/workflows/pytest-linux.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
os: [ubuntu-18.04, ubuntu-20.04]
14+
os: [ubuntu-20.04, ubuntu-latest]
1515
python-version: [3.8, 3.x]
16-
compiler_v: [7,8,9]
1716

1817
steps:
1918
- uses: actions/checkout@v2
@@ -23,21 +22,11 @@ jobs:
2322
python-version: ${{ matrix.python-version }}
2423
- name: Install dependencies
2524
run: |
26-
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
27-
sudo apt-get update
28-
sudo apt-get install -y gcc-${{ matrix.compiler_v }} \
29-
g++-${{ matrix.compiler_v }}
3025
python -m pip install --upgrade pip
3126
python -m pip install pytest numpy
32-
if [ "${{ matrix.compiler_v }}" == '7' ];then
33-
pip install -e .[compression]
34-
else
35-
pip install -e .
36-
fi
27+
pip install -e .[compression]
3728
env:
3829
PYTHONPATH: $PWD
39-
CC: gcc-${{ matrix.compiler_v }}
40-
CXX: g++-${{ matrix.compiler_v }}
4130
- name: Run examples
4231
run: |
4332
python examples/use_classic.py

requirements.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ tag_prefix = v
77

88
[flake8]
99
max-line-length = 90
10-
ignore = F403,E226,E731,W503,F405,E722,E741,W504,W605
10+
ignore = F403,E226,E731,E275,W503,F405,E722,E741,W504,W605
1111
exclude = versioneer.py,.git,.eggs

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def extensions():
3535
with open("README.md", "r") as fh:
3636
long_description = fh.read()
3737

38-
s_required = ["cython>=0.17", "versioneer"]
38+
s_required = ["cython>=0.17,<=3.0.0", "versioneer", "flake8"]
3939
i_required = ["contexttimer"]
4040

4141
configuration = {

0 commit comments

Comments
 (0)