Skip to content

Commit

Permalink
Update Python and dependencies versions (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
FedericoNegri authored Oct 11, 2023
1 parent caf4bb2 commit 4514ce9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

env:
MAIN_PYTHON_VERSION: '3.7'
MAIN_PYTHON_VERSION: '3.9'
DOC_PYTHON_VERSION: '3.9'
DOCUMENTATION_CNAME: 'rep.docs.pyansys.com'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- cron: "0 2 * * *"

env:
MAIN_PYTHON_VERSION: '3.7'
MAIN_PYTHON_VERSION: '3.9'
DOC_PYTHON_VERSION: '3.9'

concurrency:
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
# os: [windows-latest, ubuntu-latest]
os: [ubuntu-latest]
cfg:
- {python-version: "3.7", toxenv: "py37"}
- {python-version: "3.9", toxenv: "py39"}
- {python-version: "3.11", toxenv: "py311"}
fail-fast: false

Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
python -m pip install --upgrade pip setuptools tox tox-gh-actions
- name: Test with tox
run: tox -e py37-witheval
run: tox -e py39-witheval
env:
REP_TEST_URL: https://repkube.westeurope.cloudapp.azure.com/dev/rep
REP_TEST_USERNAME: repbuild
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements_build.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
build==0.10.0
build==1.0.3
twine==4.0.2
wheel
6 changes: 3 additions & 3 deletions requirements/requirements_doc.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Sphinx==5.3.0
Sphinx==7.2.6
numpydoc==1.5.0
ansys-sphinx-theme==0.9.9
ansys-sphinx-theme==0.12.2
sphinx-copybutton==0.5.2
apispec==6.3.0
sphinxcontrib-httpdomain==1.8.1
sphinxcontrib-globalsubs==0.1.1
sphinxnotes-strike==1.2
sphinx-autodoc-typehints==1.23.0
sphinx-autodoc-typehints==1.24.0
2 changes: 1 addition & 1 deletion requirements/requirements_tests.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==7.4.0
pytest==7.4.2
pytest-cov==4.1.0
5 changes: 2 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
[tox]
description = Default tox environments list
envlist =
style,{py37,py38,py39,py310}{,-coverage},doc
style,{py39,py310,py311,py312}{,-coverage},doc
skip_missing_interpreters = true

[testenv]
description = Checks for project unit tests and coverage (if desired)
basepython =
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
py312: python3.12
py: python3
{style,reformat,doc,build}: python3
passenv = REP_TEST_*
Expand Down

0 comments on commit 4514ce9

Please sign in to comment.