Skip to content

Commit 9d56d3a

Browse files
committed
Merge branch 'main' into release/0.3
2 parents a3f41fb + e94d05d commit 9d56d3a

28 files changed

+70
-73
lines changed

.github/workflows/ci_cd.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- main
1010

1111
env:
12-
MAIN_PYTHON_VERSION: '3.11'
12+
MAIN_PYTHON_VERSION: '3.12'
1313
PRECOMPILE_PYTHON_VERSION: '3.11.9'
1414
DOCUMENTATION_CNAME: 'installer.docs.pyansys.com'
1515
LIBRARY_NAME: 'ansys-tools-installer'
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: windows-latest
3434
strategy:
3535
matrix:
36-
python-version: ['3.9', '3.10', '3.11', '3.12']
36+
python-version: ['3.10', '3.11', '3.12']
3737
fail-fast: false
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -44,7 +44,7 @@ jobs:
4444
run: sudo apt install libegl1
4545

4646
- name: Setup headless display
47-
uses: pyvista/setup-headless-display-action@v2
47+
uses: pyvista/setup-headless-display-action@v3
4848

4949
- uses: ansys/actions/tests-pytest@v8
5050
with:
@@ -260,12 +260,15 @@ jobs:
260260
run: |
261261
yum update -y
262262
yum groupinstall "Development Tools" -y
263+
yum install python3.12 python3.12-pip -y
264+
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.12 1
265+
update-alternatives --set python3 /usr/bin/python3.12
266+
263267
264268
- name: Install CentOS/Fedora Dependencies
265269
if: contains(matrix.os, 'centos') || contains(matrix.os, 'fedora')
266270
run: |
267-
yum install python3 \
268-
python3-pip \
271+
yum install python3-pip \
269272
wget \
270273
binutils \
271274
ruby-devel \
@@ -333,6 +336,7 @@ jobs:
333336
334337
- name: Update pip
335338
run: |
339+
python3 --version
336340
python3 -m pip install pip -U
337341
338342
- name: Install pip Dependencies

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ ci:
66

77
repos:
88
- repo: https://github.com/pycqa/isort
9-
rev: 5.13.2
9+
rev: 6.0.0
1010
hooks:
1111
- id: isort
1212
args:
1313
- --line-length=88
1414

1515
- repo: https://github.com/psf/black
16-
rev: 24.10.0
16+
rev: 25.1.0
1717
hooks:
1818
- id: black
1919
args:
@@ -26,12 +26,12 @@ repos:
2626
files: '\.py$'
2727

2828
- repo: https://github.com/PyCQA/flake8
29-
rev: 7.1.1
29+
rev: 7.1.2
3030
hooks:
3131
- id: flake8
3232

3333
- repo: https://github.com/codespell-project/codespell
34-
rev: v2.3.0
34+
rev: v2.4.1
3535
hooks:
3636
- id: codespell
3737
args: ["--toml", "pyproject.toml"]
@@ -54,12 +54,12 @@ repos:
5454

5555
# this validates our github workflow files
5656
- repo: https://github.com/python-jsonschema/check-jsonschema
57-
rev: 0.29.4
57+
rev: 0.31.1
5858
hooks:
5959
- id: check-github-workflows
6060

6161
- repo: https://github.com/ansys/pre-commit-hooks
62-
rev: v0.4.4
62+
rev: v0.5.1
6363
hooks:
6464
- id: add-license-headers
6565
args:

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
3+
Copyright (c) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of
66
this software and associated documentation files (the "Software"), to deal in

doc/source/installer.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,10 @@ Two Python options for installation are available:
242242

243243
Regarding the available Python versions, users can select among the following ones:
244244

245-
* Python 3.8
246-
* Python 3.9
247245
* Python 3.10
248246
* Python 3.11
249247
* Python 3.12
248+
* Python 3.13
250249

251250
.. collapse:: Linux : Python installation
252251

@@ -264,8 +263,8 @@ Regarding the available Python versions, users can select among the following on
264263
#. Download Python Tarball and Untar:
265264

266265
i. The Python tar file will be downloaded from the Python FTP server (https://www.python.org/ftp/python)
267-
based on the version selected from the dropdown menu. Example: For Python version 3.8.11, the download link
268-
would be here(https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tar.xz).
266+
based on the version selected from the dropdown menu. Example: For Python version 3.12.0, the download link
267+
would be here(https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tar.xz).
269268

270269
ii. Decompress the downloaded file in the user’s cache directory.
271270

pyproject.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"
66
name = "ansys-tools-installer"
77
description = "Python QT app or CLI for installing Python and PyAnsys."
88
readme = "README.rst"
9-
requires-python = ">=3.9,<4"
9+
requires-python = ">=3.10,<4"
1010
license = { file = "LICENSE" }
1111
authors = [{ name = "Ansys, Inc.", email = "[email protected]" }]
1212
maintainers = [{ name = "Ansys, Inc.", email = "[email protected]" }]
@@ -25,42 +25,42 @@ classifiers = [
2525
"Topic :: Scientific/Engineering :: Information Analysis",
2626
"License :: OSI Approved :: MIT License",
2727
"Operating System :: Microsoft :: Windows",
28-
"Programming Language :: Python :: 3.9",
2928
"Programming Language :: Python :: 3.10",
3029
"Programming Language :: Python :: 3.11",
3130
"Programming Language :: Python :: 3.12",
31+
"Programming Language :: Python :: 3.13",
3232
]
3333
dynamic = ["version"]
3434

3535

3636
[project.optional-dependencies]
3737
tests = [
3838
"packaging==24.2",
39-
"PyGithub==2.5.0",
39+
"PyGithub==2.6.0",
4040
"appdirs==1.4.4",
4141
"requests==2.32.3",
42-
"PySide6==6.8.0.2",
43-
"ansys-tools-path==0.6.0",
44-
"pytest==8.3.3",
42+
"PySide6==6.8.2.1",
43+
"ansys-tools-path==0.7.1",
44+
"pytest==8.3.4",
4545
"pytest-cov==6.0.0",
4646
"pytest-qt==4.4.0",
47-
"setuptools==75.5.0",
47+
"setuptools==75.8.0",
4848
]
4949
doc = [
5050
"Sphinx==8.1.3",
51-
"ansys-sphinx-theme==1.2.1",
51+
"ansys-sphinx-theme==1.3.1",
5252
"sphinx-copybutton==0.5.2",
5353
"sphinx_design==0.6.1",
54-
"sphinx_toolbox==3.8.1",
54+
"sphinx_toolbox==3.8.2",
5555
]
5656
freeze = [
57-
"pyinstaller==6.11.1",
57+
"pyinstaller==6.12.0",
5858
"packaging==24.2",
59-
"PyGithub==2.5.0",
59+
"PyGithub==2.6.0",
6060
"appdirs==1.4.4",
6161
"requests==2.32.3",
62-
"PySide6==6.8.0.2",
63-
"ansys-tools-path==0.6.0",
62+
"PySide6==6.8.2.1",
63+
"ansys-tools-path==0.7.1",
6464
]
6565

6666
[tool.flit.module]

scripts/update_python_versions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,10 @@ def get_minor_version_sublist_with_greater_patch(list: list[str], current_versio
7777
# Example:
7878
#
7979
# VANILLA_PYTHON_VERSIONS = {
80-
# "Python 3.8": "3.8.10",
81-
# "Python 3.9": "3.9.13",
8280
# "Python 3.10": "3.10.11",
8381
# "Python 3.11": "3.11.6",
8482
# "Python 3.12": "3.12.0",
83+
# "Python 3.13": "3.13.2",
8584
# }
8685
#
8786
# CONDA_PYTHON_VERSION = "23.1.0-4"

src/ansys/tools/installer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

src/ansys/tools/installer/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

src/ansys/tools/installer/auto_updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

src/ansys/tools/installer/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (C) 2023 - 2024 ANSYS, Inc. and/or its affiliates.
1+
# Copyright (C) 2023 - 2025 ANSYS, Inc. and/or its affiliates.
22
# SPDX-License-Identifier: MIT
33
#
44
#

0 commit comments

Comments
 (0)