diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 9aeaa0e..5a64520 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - name: Install dependencies run: python -m pip install .[dev] - name: Build diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index b98a339..ca2b3e2 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v2 with: - python-version: '3.9' + python-version: '3.10' - name: Install dependencies run: python -m pip install .[dev] - name: Build and publish diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 0414e3e..46544f8 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -17,10 +17,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.9 + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: "3.9" + python-version: "3.10" - name: Install dependencies run: python -m pip install .[qa] - name: Linting by ruff @@ -33,7 +33,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12'] spark-version: [3.2.4, 3.3.4, 3.4.2, 3.5.1] pandas-version: [2.2.3, 1.5.3] numpy-version: [2.1.2, 1.26.4] @@ -42,8 +42,6 @@ jobs: spark-version: 3.2.4 - python-version: '3.11' spark-version: 3.3.4 - - python-version: 3.9 - numpy-version: 2.1.2 - pandas-version: 1.5.3 numpy-version: 2.1.2 env: @@ -77,7 +75,7 @@ jobs: run: | python -m pip install .[dev_no_snowflake] - - name: Install Datacompy with all dev dependencies if Python 3.9, 3.10, or 3.11 + - name: Install Datacompy with all dev dependencies if Python 3.10, or 3.11 if: ${{ matrix.python-version != '3.12' }} run: | python -m pip install .[dev] @@ -92,7 +90,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12'] env: PYTHON_VERSION: ${{ matrix.python-version }} @@ -119,7 +117,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.9, '3.10', '3.11'] + python-version: ['3.10', '3.11'] env: PYTHON_VERSION: ${{ matrix.python-version }} diff --git a/README.md b/README.md index 7c74f3c..7ac5f43 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,6 @@ with the Pandas on Spark implementation. Spark plans to support Pandas 2 in [Spa | | Spark 3.2.4 | Spark 3.3.4 | Spark 3.4.2 | Spark 3.5.1 | |-------------|-------------|-------------|-------------|-------------| -| Python 3.9 | ✅ | ✅ | ✅ | ✅ | | Python 3.10 | ✅ | ✅ | ✅ | ✅ | | Python 3.11 | ❌ | ❌ | ✅ | ✅ | | Python 3.12 | ❌ | ❌ | ❌ | ❌ | diff --git a/docs/source/install.rst b/docs/source/install.rst index 5fdf1bb..9176c32 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -23,7 +23,7 @@ conda (installs dependencies from Conda Forge) :: - conda create --name datacompy python=3.9 pip conda + conda create --name datacompy python=3.10 pip conda source activate datacompy conda config --add channels conda-forge conda install datacompy diff --git a/pyproject.toml b/pyproject.toml index b0cb8fa..51895cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ maintainers = [ ] license = {text = "Apache Software License"} dependencies = ["pandas<=2.2.3,>=0.25.0", "numpy<=2.2.0,>=1.22.0", "ordered-set<=4.1.0,>=4.0.2", "polars[pandas]<=1.17.1,>=0.20.4"] -requires-python = ">=3.9.0" +requires-python = ">=3.10.0" classifiers = [ "Intended Audience :: Developers", "Natural Language :: English", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -71,7 +70,7 @@ dev = ["datacompy[fugue]", "datacompy[spark]", "datacompy[snowflake]", "datacomp # Linters, formatters and type checkers [tool.ruff] extend-include = ["*.ipynb"] -target-version = "py39" +target-version = "py310" src = ["src"] [tool.ruff.lint] diff --git a/whitesource.config b/whitesource.config index 9214410..bae8aa2 100644 --- a/whitesource.config +++ b/whitesource.config @@ -4,5 +4,5 @@ python.ignorePipInstallErrors=true python.ignoreSourceFiles=true python.resolveHierarchyTree=true python.resolveSetupPyFiles=true -python.path=python3.9 -python.pipPath=pip3.9 +python.path=python3.10 +python.pipPath=pip3.10