Skip to content

Commit

Permalink
Merge pull request #355 from PyO3/release-1.7.0
Browse files Browse the repository at this point in the history
release: 1.7.0
  • Loading branch information
davidhewitt committed Aug 22, 2023
2 parents 4e15de8 + 6a27c47 commit e09e435
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[bumpversion]
commit = True
tag = False
current_version = 1.6.0
current_version = 1.7.0
message = release: {new_version}

[bumpversion:file:pyproject.toml]
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,11 @@ jobs:
# Install build and packaging dependencies.
# setuptools-scm is necessary for ensuring all files from VCS (such as
# examples) are in the sdist.
run: |
pip install --upgrade pip setuptools wheel twine setuptools-scm
run: pip install -U pip build twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
python -m build
twine upload dist/*
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 1.7.0 (2023-08-22)
### Packaging
- Remove direct imports from `distutils`. [#336](https://github.com/PyO3/setuptools-rust/pull/336)
- Include `py.typed` when packaging to denote that setuptools-rust includes type hints. [#338](https://github.com/PyO3/setuptools-rust/pull/338)
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "setuptools-rust"
version = "1.6.0"
version = "1.7.0"
description = "Setuptools Rust extension plugin"
readme = "README.md"
requires-python = ">=3.7"
Expand Down Expand Up @@ -47,7 +47,7 @@ documentation = "https://setuptools-rust.readthedocs.io"
changelog = "https://github.com/PyO3/setuptools-rust/blob/main/CHANGELOG.md"

[build-system]
requires = ["setuptools>=62.4"]
requires = ["setuptools>=62.4", "setuptools_scm"]
build-backend = "setuptools.build_meta"

[tool.isort]
Expand Down
2 changes: 1 addition & 1 deletion setuptools_rust/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = version = "1.6.0"
__version__ = version = "1.7.0"
__version_tuple__ = version_tuple = tuple(
map(lambda x: int(x[1]) if x[0] < 3 else x[1], enumerate(__version__.split(".")))
)

0 comments on commit e09e435

Please sign in to comment.