Skip to content

Commit

Permalink
Merge pull request #62 from devitocodes/cythonfix
Browse files Browse the repository at this point in the history
fix cython versdion
  • Loading branch information
mloubout authored Aug 25, 2023
2 parents b74dcd3 + 6029d89 commit 16fedf2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 19 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/pytest-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
os: [ubuntu-20.04, ubuntu-latest]
python-version: [3.8, 3.x]
compiler_v: [7,8,9]

steps:
- uses: actions/checkout@v2
Expand All @@ -23,21 +22,11 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y gcc-${{ matrix.compiler_v }} \
g++-${{ matrix.compiler_v }}
python -m pip install --upgrade pip
python -m pip install pytest numpy
if [ "${{ matrix.compiler_v }}" == '7' ];then
pip install -e .[compression]
else
pip install -e .
fi
pip install -e .[compression]
env:
PYTHONPATH: $PWD
CC: gcc-${{ matrix.compiler_v }}
CXX: g++-${{ matrix.compiler_v }}
- name: Run examples
run: |
python examples/use_classic.py
Expand Down
4 changes: 0 additions & 4 deletions requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ tag_prefix = v

[flake8]
max-line-length = 90
ignore = F403,E226,E731,W503,F405,E722,E741,W504,W605
ignore = F403,E226,E731,E275,W503,F405,E722,E741,W504,W605
exclude = versioneer.py,.git,.eggs
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def extensions():
with open("README.md", "r") as fh:
long_description = fh.read()

s_required = ["cython>=0.17", "versioneer"]
s_required = ["cython>=0.17,<=3.0.0", "versioneer", "flake8"]
i_required = ["contexttimer"]

configuration = {
Expand Down

0 comments on commit 16fedf2

Please sign in to comment.