Skip to content

Commit

Permalink
SETUPTOOLS_ENABLE_FEATURES=legacy-editable work-around
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Aug 21, 2022
1 parent 91d7027 commit 1239b49
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -53,6 +53,8 @@ jobs:
with:
python-version: ${{ matrix.python }}
- run: pip install -U -e .[dev]
env:
SETUPTOOLS_ENABLE_FEATURES: legacy-editable
- run: pytest
- uses: codecov/codecov-action@v1
- name: compile -Wall
Expand All @@ -77,6 +79,8 @@ jobs:
- name: Run setup-python
run: setup-python -p${{ matrix.python }} cupy
- run: pip install -U -e .[dev]
env:
SETUPTOOLS_ENABLE_FEATURES: legacy-editable
- run: pytest
- uses: codecov/codecov-action@v1
- name: compile -Wall
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=42,!=64.*,!=65.0.*,!=65.1.0.*", "wheel", "setuptools_scm[toml]>=3.4",
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4",
"miutil[cuda]>=0.4.0",
"scikit-build>=0.11.0", "cmake>=3.18", "ninja"]

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -36,7 +36,7 @@ classifiers=
Topic :: Utilities
[options]
setup_requires=
setuptools>=42,!=64.*,!=65.0.*,!=65.1.0.*
setuptools>=42
wheel
setuptools_scm[toml]
miutil[cuda]>=0.4.0
Expand Down

0 comments on commit 1239b49

Please sign in to comment.