Skip to content

Commit

Permalink
try to install from sdist
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielYang59 committed Oct 13, 2024
1 parent 5d5f824 commit 0eb4d0c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ jobs:
# see: https://discuss.dgl.ai/t/filenotfounderror-cannot-find-dgl-c-graphbolt-library/4302
pip install torch==2.2.1
uv pip install --editable '.[${{ matrix.config.extras }}]' --resolution=${{ matrix.config.resolution }}
# Install from sdist
uv pip install build
python -m build --sdist
uv pip install dist/*.tar.gz
uv pip install "pymatgen[${{ matrix.config.extras }}]" # --resolution=${{ matrix.config.resolution }}
- name: Install optional Ubuntu dependencies
if: matrix.config.os == 'ubuntu-latest'
Expand Down

0 comments on commit 0eb4d0c

Please sign in to comment.