Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pandas bug patch #505

Merged
merged 14 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 29 additions & 5 deletions .github/workflows/docs-check.yaml
ThomasNijsen marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,39 @@ jobs:
# Checkout
- name: Checkout code
uses: actions/checkout@v2

# Setup python version
- uses: actions/setup-python@v4
with:
python-version: '3.9'

#- name: Upgrade pip
# run: |
# install pip=>20.1 to use "pip cache dir"
# python3 -m pip install --upgrade pip

# Build documentation
# The online deployer here is out of date because of an old docker file, namely version 2.4.4
# therefore it will certainly not work with python 3.10, 3.9 was not exactly found but highly likely
# that with more modern packages that still work with it do not work with the rest.
# An alternative is to build it directly ourselves or
# use https://github.com/peaceiris/actions-gh-pages
- name: Build documentation
uses: ammaraskar/sphinx-action@master
with:
pre-build-command: |
#uses: ammaraskar/sphinx-action@master
#with:
# pre-build-command: |
# cp requirements.txt docs/requirements.txt &&\
# printf "\npydata-sphinx-theme==0.12.0\n" >> docs/requirements.txt &&\
# printf "\njinja2==3.0.0\n" >> docs/requirements.txt &&\
# printf "\nsphinx_autodoc_typehints==1.19.4\n" >> docs/requirements.txt &&\
# printf "\nmkdocs==1.2.3\n" >> docs/requirements.txt &&\
# sphinx-apidoc -o docs openstef
# docs-folder: "docs/"
run: |
cp requirements.txt docs/requirements.txt &&\
printf "\npydata-sphinx-theme==0.8.1\n" >> docs/requirements.txt &&\
printf "\npydata-sphinx-theme==0.12.0\n" >> docs/requirements.txt &&\
printf "\njinja2==3.0.0\n" >> docs/requirements.txt &&\
printf "\nsphinx_autodoc_typehints==1.19.4\n" >> docs/requirements.txt &&\
printf "\nmkdocs==1.2.3\n" >> docs/requirements.txt &&\
pip install -r docs/requirements.txt &&\
sphinx-apidoc -o docs openstef
docs-folder: "docs/"
4 changes: 2 additions & 2 deletions .github/workflows/docs-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
- uses: actions/setup-python@v2
- uses: actions/checkout@master
with:
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo

# Setup python version
- uses: actions/setup-python@v4
with:
python-version: '3.9'
# Run pre build command
# Run pre-build command
- run: |
cp requirements.txt docs/requirements.txt &&\
printf "\npydata-sphinx-theme==0.12.0\n" >> docs/requirements.txt &&\
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ matplotlib~=3.7
mlflow~=2.3
networkx~=3.1
optuna~=3.1
pandas~=2.0
pandas==2.1.3
plotly~=5.18
pvlib==0.9.4
pydantic~=2.4
Expand Down
Loading