Skip to content

Commit

Permalink
Merge branch 'main' into release/0.3
Browse files Browse the repository at this point in the history
RobPasMue committed Jul 2, 2024
2 parents 589eb4d + 084429c commit 2de9f6b
Showing 5 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ repos:
files: '\.py$'

- repo: https://github.com/PyCQA/flake8
rev: 7.0.0
rev: 7.1.0
hooks:
- id: flake8

@@ -54,7 +54,7 @@ repos:

# this validates our github workflow files
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.28.4
rev: 0.28.6
hooks:
- id: check-github-workflows

18 changes: 9 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -35,31 +35,31 @@ dynamic = ["version"]

[project.optional-dependencies]
tests = [
"packaging==24.0",
"packaging==24.1",
"PyGithub==2.3.0",
"appdirs==1.4.4",
"requests==2.32.3",
"PySide6==6.7.1",
"PySide6==6.7.2",
"ansys-tools-path==0.6.0",
"pytest==8.2.1",
"pytest==8.2.2",
"pytest-cov==5.0.0",
"pytest-qt==4.4.0",
"setuptools==70.0.0",
"setuptools==70.1.1",
]
doc = [
"Sphinx==7.3.7",
"ansys-sphinx-theme==0.16.5",
"ansys-sphinx-theme==0.16.6",
"sphinx-copybutton==0.5.2",
"sphinx_design==0.6.0",
"sphinx_toolbox==3.5.0",
"sphinx_toolbox==3.6.0",
]
freeze = [
"pyinstaller==6.7.0",
"packaging==24.0",
"pyinstaller==6.8.0",
"packaging==24.1",
"PyGithub==2.3.0",
"appdirs==1.4.4",
"requests==2.32.3",
"PySide6==6.7.1",
"PySide6==6.7.2",
"ansys-tools-path==0.6.0",
]

2 changes: 1 addition & 1 deletion scripts/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
requests==2.32.3
packaging==24.0
packaging==24.1
2 changes: 1 addition & 1 deletion src/ansys/tools/installer/constants.py
Original file line number Diff line number Diff line change
@@ -194,7 +194,7 @@
"Python 3.9": "3.9.13",
"Python 3.10": "3.10.11",
"Python 3.11": "3.11.9",
"Python 3.12": "3.12.3",
"Python 3.12": "3.12.4",
}

CONDA_PYTHON_VERSION = "24.1.2-0"
4 changes: 2 additions & 2 deletions src/ansys/tools/installer/main.py
Original file line number Diff line number Diff line change
@@ -704,13 +704,13 @@ def _windows_fallback_download(self, url, filename, when_finished=None):

if error_code:
LOG.error(
f"Error while downloading Python on Windows fail-safe mode: {out.decode('utf-8')}"
f"Error while downloading Python on Windows fail-safe mode: {out}"
)
msg = QtWidgets.QMessageBox()
msg.warning(
self,
"Error while downloading Python on Windows fail-safe mode!",
f"Error message:\n\n {out.decode('utf-8')}",
f"Error message:\n\n {out}",
)
self.setEnabled(True)
return

0 comments on commit 2de9f6b

Please sign in to comment.