Skip to content

Commit

Permalink
ops: use requirements.txt instead of coeus
Browse files Browse the repository at this point in the history
Deprecations:
  - This commit deprecates the use and install of coeus-sphinx-theme
    from GitHub and uses requirements.txt instead

Impact Analysis:
  - This ensures that Jupyter Lite and all the corresponding components
    are installed during the build and deployment stage.

Signed-off-by: Akshay Mestry <xa@mes3.dev>
  • Loading branch information
xames3 committed Oct 8, 2024
1 parent 4674298 commit 0c6cdef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-dev-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ env.PY_BUILD }} # Sets up the Python version specified in the environment variables.
cache: 'pip' # Caches pip dependencies to speed up subsequent builds.
cache: "pip" # Caches pip dependencies to speed up subsequent builds.

# Step 3: Install the project's Python dependencies.
- name: Install Python Dependencies
run: |
echo "Installing Coeus..."
echo "Installing Coeus and Jupyter Lite..."
python -m pip install --upgrade pip
pip install -U git+https://github.com/xames3/coeus-sphinx-theme.git#egg=coeus-sphinx-theme
pip install -r requirements.txt
# Step 4: Build the Sphinx documentation into HTML format.
- name: Build Sphinx Documentation
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-feature-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ env.PY_BUILD }} # Sets up the Python version specified in the environment variables.
cache: 'pip' # Caches pip dependencies to speed up subsequent builds.
cache: "pip" # Caches pip dependencies to speed up subsequent builds.

# Step 3: Install the project's Python dependencies.
- name: Install Python Dependencies
run: |
echo "Installing Coeus..."
echo "Installing Coeus and Jupyter Lite..."
python -m pip install --upgrade pip
pip install -U git+https://github.com/xames3/coeus-sphinx-theme.git#egg=coeus-sphinx-theme
pip install -r requirements.txt
# Step 4: Build the Sphinx documentation into HTML format.
- name: Build Sphinx Documentation
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-main-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ env.PY_BUILD }} # Sets up the Python version specified in the environment variables.
cache: 'pip' # Caches pip dependencies to speed up subsequent builds.
cache: "pip" # Caches pip dependencies to speed up subsequent builds.

# Step 3: Install the project's Python dependencies.
- name: Install Python Dependencies
run: |
echo "Installing Coeus..."
echo "Installing Coeus and Jupyter Lite..."
python -m pip install --upgrade pip
pip install -U git+https://github.com/xames3/coeus-sphinx-theme.git#egg=coeus-sphinx-theme
pip install -r requirements.txt
# Step 4: Build the Sphinx documentation into HTML format.
- name: Build Sphinx Documentation
Expand Down

0 comments on commit 0c6cdef

Please sign in to comment.