Skip to content

Commit

Permalink
re-fix setuptools
Browse files Browse the repository at this point in the history
- partially reverts cc4da20
- TODO: revert once scikit-build/scikit-build#740 is fixed
  • Loading branch information
casperdcl committed Aug 21, 2022
1 parent 5f2a734 commit a58ab5d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
with:
python-version: ${{ matrix.python }}
- run: pip install -U -e .[dev]
env:
# https://github.com/scikit-build/scikit-build/issues/740
SETUPTOOLS_ENABLE_FEATURES: legacy-editable
- run: pytest
- uses: codecov/codecov-action@v1
- name: compile -Wall
Expand All @@ -77,6 +80,9 @@ jobs:
- name: Run setup-python
run: setup-python -p${{ matrix.python }}
- run: pip install -U -e .[dev]
env:
# https://github.com/scikit-build/scikit-build/issues/740
SETUPTOOLS_ENABLE_FEATURES: legacy-editable
- run: pytest
- uses: codecov/codecov-action@v1
- name: compile -Wall
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Install in "development/editable" mode including dev/test dependencies:

```sh
git clone https://github.com/AMYPAD/NumCu && cd NumCu
export SETUPTOOLS_ENABLE_FEATURES=legacy-editable
pip install -e .[dev]
```

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42,<64", "wheel", "setuptools_scm[toml]>=3.4",
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4",
"cuvec>=2.11.0", "miutil[cuda]>=0.4.0",
"scikit-build>=0.11.0", "cmake>=3.18", "ninja"]

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ classifiers=
Topic :: Utilities
[options]
setup_requires=
setuptools>=42,<64
setuptools>=42
wheel
setuptools_scm[toml]
cuvec>=2.11.0
Expand Down

0 comments on commit a58ab5d

Please sign in to comment.