From 0eb4d0c87c9d74f9dfb18cc71acc1f353076534a Mon Sep 17 00:00:00 2001 From: "Haoyu (Daniel)" Date: Sun, 13 Oct 2024 10:53:15 +0800 Subject: [PATCH] try to install from sdist --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 909acc5aafd..7199d568126 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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'