Skip to content

Commit

Permalink
Use uv for dependency resolution and installation from pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Sep 25, 2024
1 parent d1f67f9 commit be31f4a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v4

# build the doxygen XML for breathe
# build the doxygen XML for breathe
- name: Checkout openchemistry
uses: actions/checkout@v4
with:
Expand All @@ -38,9 +38,14 @@ jobs:
sudo apt-get -qq update
sudo apt-get -qq install doxygen ninja-build libeigen3-dev libglew-dev libxml2-dev qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libqt5x11extras5-dev libqt5svg5-dev
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
enable-cache: true
cache-dependency-glob: "uv.lock"

- name: Install Sphinx and requirements
run: |
pip install -U breathe>=4.35.0 linkify-it-py>=2.0.3 myst-parser>=4.0.0 pydata-sphinx-theme>=0.15.4 sphinx>=8.0.2 sphinx-copybutton>=0.5.2 sphinx-design>=0.6.1 sphinxext-rediraffe>=0.2.7 sphinx-togglebutton>=0.3.2
run: uv pip install --system --break-system-packages -r pyproject.toml

- name: Configure
run: |
Expand Down

0 comments on commit be31f4a

Please sign in to comment.