Skip to content

Commit

Permalink
try supressing using env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
naik-aakash committed Jan 4, 2025
1 parent 791e37b commit 0c0427a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
uv pip install --upgrade pip
uv pip install --prerelease=allow .[docs,strict]
- name: Build
env:
PYTHONWARNINGS: "ignore::DeprecationWarning" # temp Suppress all DeprecationWarnings
run: micromamba run -n autoplex_docs sphinx-build -W docs _build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,6 @@ jobs:
uv pip install --upgrade pip
uv pip install --prerelease=allow .[docs,strict]
- name: Build
env:
PYTHONWARNINGS: "ignore::DeprecationWarning" # temp Suppress all DeprecationWarnings
run: micromamba run -n autoplex_docs sphinx-build -W docs _build
7 changes: 0 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,11 @@

import os
import sys
import warnings

from autoplex import __version__

sys.path.insert(0, os.path.abspath("../../"))

warnings.filterwarnings(
"ignore",
message="This function should have been removed on 2025-01-01.",
category=DeprecationWarning,
)

# -- Project information -----------------------------------------------------

project = "autoplex"
Expand Down

0 comments on commit 0c0427a

Please sign in to comment.