diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 736fec5..b682d13 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,15 +14,7 @@ jobs: with: fetch-depth: 0 - - name: Build SDist and wheel - run: pipx run build - - - uses: actions/upload-artifact@v4 - with: - path: dist/* - - - name: Check metadata - run: pipx run twine check dist/* + - uses: hynek/build-and-inspect-python-package@v2 publish: needs: [dist] @@ -40,4 +32,7 @@ jobs: name: artifact path: dist + - name: List distributions to be deployed + run: ls -l dist/ + - uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1917316..8abe9c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,20 +38,16 @@ jobs: allow-prereleases: true - name: Install removestar (lite) - run: | - python -m pip install -e ".[dev]" + run: python -m pip install -e ".[dev]" - name: Test removestar (lite) - run: | - pytest --cov=removestar . -vv + run: pytest --cov=removestar . -vv - name: Install removestar (nb) - run: | - python -m pip install -e ".[dev,nb]" + run: python -m pip install -e ".[dev,nb]" - name: Test removestar (nb) - run: | - pytest --cov=removestar . -vv + run: pytest --cov=removestar . -vv - name: Upload coverage report uses: codecov/codecov-action@v3.1.4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 174332c..1444a1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +# 1.5.2 (2024-11-25) + +## Features + +- Python 3.13 support + +## Maintenance + +- Get rid of deprecated actions +- Add dependabot config +- pre-commit autoupdate + # 1.5.1 (2024-08-14) ## Fixes diff --git a/pyproject.toml b/pyproject.toml index fe624ec..7872c6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,11 +22,13 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", + "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", ] dependencies = [ "pyflakes",