diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 43ff065d8..34d8cf885 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -64,7 +64,7 @@ jobs: fail-fast: false matrix: os: [windows-latest, ubuntu-latest, macos-latest] - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] should-release: - ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }} exclude: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 994b125b1..ed92b65eb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,6 +43,6 @@ repos: - --start_year=2023 - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.4 + rev: 0.30.0 hooks: - id: check-github-workflows \ No newline at end of file diff --git a/doc/changelog.d/179.miscellaneous.md b/doc/changelog.d/179.miscellaneous.md new file mode 100644 index 000000000..7a8ec8e10 --- /dev/null +++ b/doc/changelog.d/179.miscellaneous.md @@ -0,0 +1 @@ +chore: [pre-commit.ci] pre-commit autoupdate \ No newline at end of file diff --git a/doc/changelog.d/185.maintenance.md b/doc/changelog.d/185.maintenance.md new file mode 100644 index 000000000..dd456e8cf --- /dev/null +++ b/doc/changelog.d/185.maintenance.md @@ -0,0 +1 @@ +chore: supporting Python 3.13 and dropping support for Python 3.9 \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 3c084e571..a6148455f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,16 +8,16 @@ name = "ansys-sound-core" version = "0.1.dev0" description = "A Python wrapper for Ansys DPF Sound." readme = "README.rst" -requires-python = ">=3.9,<4" +requires-python = ">=3.10,<4" license = { file = "LICENSE" } authors = [{ name = "ANSYS, Inc.", email = "pyansys.core@ansys.com" }] maintainers = [{ name = "ANSYS, Inc.", email = "pyansys.core@ansys.com" }] classifiers = [ "Development Status :: 4 - Beta", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ] diff --git a/tests/conftest.py b/tests/conftest.py index 65af54d90..2a478db11 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -30,17 +30,16 @@ def pytest_configure(): - # We're using a PyAnsys Sound here to connect to the server based on whether - # we're in a docker or local configuration - # There are tests for the function connect_to_or_start_server - # that are independent from the configuration, - # that's why we authorize the use of this function here + # We're using here a PyAnsys Sound function to connect to the server based on whether we're in + # a docker or local configuration. + # There are tests for the function connect_to_or_start_server that are independent from the + # configuration. That's why we authorize the use of this function here. server = connect_to_or_start_server(use_license_context=True) # # Get the current directory of the conftest.py file base_dir = os.path.join(os.path.dirname(__file__), "data") - # Construct the paths of the different test files after uploading them on the server + # Construct the paths of the different test files after uploading them on the server. pytest.data_path_flute_in_container = upload_file_in_tmp_folder( os.path.join(base_dir, "flute.wav"), server=server )