diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 3476ae2f6..cc272246e 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -48,7 +48,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 815f58056..f223d44f9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -101,7 +101,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v5 with: - python-version: 3.11 + python-version: 3.12 - name: Install Boost run: | diff --git a/.github/workflows/sonarcloud_reusable.yml b/.github/workflows/sonarcloud_reusable.yml index 3c358efd1..344100099 100644 --- a/.github/workflows/sonarcloud_reusable.yml +++ b/.github/workflows/sonarcloud_reusable.yml @@ -47,7 +47,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.11"] + python-version: ["3.12"] pyspark: ["3.5.3"] delta-spark: ["3.0.0"] runs-on: ${{ matrix.os }} @@ -108,7 +108,7 @@ jobs: -Dsonar.organization=rtdip -Dsonar.projectKey=rtdip_core -Dsonar.python.coverage.reportPaths=coverage-reports/coverage-unittests.xml - -Dsoner.python.version=3.11 + -Dsoner.python.version=3.12 -Dsonar.scm.revision=${{ inputs.HEAD_SHA }} -Dsonar.pullrequest.key=${{ inputs.PR_NUMBER }} -Dsonar.pullrequest.branch=${{ inputs.PR_HEAD_REF }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 53af11eeb..500ad212e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] pyspark: ["3.3.0", "3.3.1", "3.3.2", "3.4.0", "3.4.1", "3.5.0", "3.5.1"] exclude: - pyspark: "3.5.1" @@ -51,6 +51,16 @@ jobs: python-version: "3.11" - pyspark: "3.3.0" python-version: "3.11" + - pyspark: "3.4.1" + python-version: "3.12" + - pyspark: "3.4.0" + python-version: "3.12" + - pyspark: "3.3.2" + python-version: "3.12" + - pyspark: "3.3.1" + python-version: "3.12" + - pyspark: "3.3.0" + python-version: "3.12" include: - pyspark: "3.3.0" delta-spark: "2.2.0" @@ -108,7 +118,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: ["3.11"] + python-version: ["3.12"] pyspark: ["3.5.3"] delta-spark: ["3.0.0"] runs-on: ${{ matrix.os }} diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 6cf65bae9..9045d2f6a 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -90,7 +90,7 @@ To use RTDIP Pipelines components in your own environment that leverages [pyspar - conda-forge - defaults dependencies: - - python==3.11 + - python==3.12 - pip - openjdk==11.0.15 - pip: @@ -158,7 +158,7 @@ The following provides examples of how to install the RTDIP SDK package with Pip - conda-forge - defaults dependencies: - - python==3.11 + - python==3.12 - pip - pip: - rtdip-sdk @@ -182,7 +182,7 @@ The following provides examples of how to install the RTDIP SDK package with Pip - conda-forge - defaults dependencies: - - python==3.11 + - python==3.12 - pip - pip: - rtdip-sdk diff --git a/docs/university/essentials/rtdip/introduction/prerequisites.md b/docs/university/essentials/rtdip/introduction/prerequisites.md index 7868e45ae..7bb1bd49e 100644 --- a/docs/university/essentials/rtdip/introduction/prerequisites.md +++ b/docs/university/essentials/rtdip/introduction/prerequisites.md @@ -3,7 +3,7 @@ Before you begin the course, ensure you obtain the following prerequisites(from your istructor or from your environment if you are doing this on your own): ## Development Environment -- Python >=3.9,<=3.11 +- Python >=3.9,<=3.12 - An IDE such as Visual Studio Code or PyCharm - Postman via the app, web browser or as an extension on Visual Studio Code diff --git a/environment.yml b/environment.yml index d9d65e0a8..193d7dedd 100644 --- a/environment.yml +++ b/environment.yml @@ -18,7 +18,7 @@ channels: - conda-forge - defaults dependencies: - - python>=3.9,<3.12 + - python>=3.9,<3.13 - importlib-metadata>=7.0.0 - jinja2>=3.1.4 - pytest==7.4.0 @@ -35,7 +35,7 @@ dependencies: - azure-keyvault-secrets>=4.7.0,<5.0.0 - azure-mgmt-storage>=21.0.0 - boto3>=1.28.2,<2.0.0 - - pyodbc>=4.0.39,<5.0.0 + - pyodbc>=4.0.39,<5.3.0 - fastapi>=0.110.0,<1.0.0 - httpx>=0.24.1,<1.0.0 - pyspark>=3.3.0,<3.6.0 diff --git a/setup.py b/setup.py index b991d88b5..4c09cfdf0 100644 --- a/setup.py +++ b/setup.py @@ -86,6 +86,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ], project_urls={ "Issue Tracker": "https://github.com/rtdip/core/issues", @@ -96,7 +97,7 @@ package_dir={"": "src/sdk/python"}, include_package_data=True, packages=find_packages(where="src/sdk/python"), - python_requires=">=3.9, <3.12", + python_requires=">=3.9, <3.13", install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_DEPENDENCIES, setup_requires=["pytest-runner", "setuptools_scm"],