diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc77c38..6356d96 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,10 +8,10 @@ jobs: test: if: github.event_name != 'pull_request' || !contains('OWNER,MEMBER,COLLABORATOR', github.event.pull_request.author_association) name: Test py${{ matrix.python }} - runs-on: ubuntu-${{ matrix.python == 3.7 && '22.04' || 'latest' }} + runs-on: ubuntu-latest strategy: matrix: - python: [3.7, 3.12] + python: [3.9, 3.13] steps: - uses: actions/checkout@v4 with: {fetch-depth: 0} @@ -41,6 +41,7 @@ jobs: uses: casperdcl/deploy-pypi@v2 with: build: true + requirements: 'build twine packaging>=24.2' # https://github.com/pypa/twine/issues/1216 upload: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags') }} - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') name: Release diff --git a/pyproject.toml b/pyproject.toml index fe5f7ca..c19534a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,9 +24,9 @@ authors = [{name = "Casper da Costa-Luis", email = "casper.dcl@physics.org"}] maintainers = [{name = "Iterative", email = "support@iterative.ai"}] description = "Automagic shell tab completion for Python CLI applications" readme = "README.rst" -requires-python = ">=3.7" +requires-python = ">=3.9" keywords = ["tab", "complete", "completion", "shell", "bash", "zsh", "argparse"] -license = {text = "Apache-2.0"} +license = "Apache-2.0" classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -37,7 +37,6 @@ classifiers = [ "Intended Audience :: End Users/Desktop", "Intended Audience :: Other Audience", "Intended Audience :: System Administrators", - "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", @@ -49,12 +48,11 @@ classifiers = [ "Programming Language :: Other Scripting Engines", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", "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", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: Implementation", "Programming Language :: Python :: Implementation :: IronPython",