diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00e47ca8..40587975 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 794b6be4..2f16ec92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", ] diff --git a/scripts/requirements.txt b/scripts/requirements.txt index 3d59525a..45e9f051 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1,2 +1,2 @@ requests==2.32.3 -packaging==24.0 +packaging==24.1 diff --git a/src/ansys/tools/installer/constants.py b/src/ansys/tools/installer/constants.py index a8a75aac..02f45983 100644 --- a/src/ansys/tools/installer/constants.py +++ b/src/ansys/tools/installer/constants.py @@ -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" diff --git a/src/ansys/tools/installer/main.py b/src/ansys/tools/installer/main.py index f7b6ea9c..698d965a 100644 --- a/src/ansys/tools/installer/main.py +++ b/src/ansys/tools/installer/main.py @@ -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