- Nothing changed yet.
- Fixed version handling documentation to use
importlib
instead ofpkg_resources
. [reinout] - Build distributions in an isolated environment. Otherwise build cannot install packages needed for the build system, for example hatchling. Fixes issue 448. [maurits]
- Fix to the project setup.
tox.ini
usesextras =
instead ofdeps =
to install the test extras. [mtelka]
- If you want to build a release package (release=true, the default), but don't want to
actually upload it, you can now set the
upload-pypi
option to false (default is true). [leplatrem]
- When reading
~/.pypirc
config, readsetup.cfg
as well, as it might override some of these values, like[distutils] index-servers
. Fixes issue #436. [maurits]
- Using newer 'build' (
>=1.0.0
) including a slight API change, fixes #433. [reinout] - Typo fix in the readme: we look at
__version__
instead of the previously-documented__versions__
... [reinout]
- Make final release. Nothing changed since the last beta. [maurits]
- When a command we call exits with a non-zero exit code, clearly state this in the output.
Ask the user if she wants to continue or not.
Note that this is tricky to do right. Some commands like
git
seem to print everything to stderr, leading us to think there are errors, but the exit code is zero, so it should be fine. We do not want to ask too many questions, but we do not want to silently swallow important errors either. [maurits]
- Updated contributors list.
- Documenting
hook_package_dir
setting for entry points (which isn't needed for most entry points, btw). Fixes issue 370. - Allowing for retry for
git push
, which might fail because of a protected branch. Also displaying that possible cause when it occurs. Fixes issue 385.
- Ignore error output when calling build.
We only need to look at the exit code to see if it worked.
You can call zest.releaser with
--verbose
if you want to see the possible warnings. - Removed
encoding
config option as nobody is using it anymore (using the option would result in a crash). Apparently it isn't needed anymore now that we don't use python 2 anymore. Fixes issue 391. - The
longtest
is now simpler. It runs readme_renderer and just displays the result in the browser, without error handling.twine check
should be used if you want a real hard check (longtest --headless
is deprecated). The advantage is that longtest now also renders markdown correctly. This adds readme_renderer[md] as dependency. Fixes issue 363.
- Changed build system to pypa/build instead of explicitly using setuptools.
- Zest.releaser's settings can now also be placed in
pyproject.toml
. - Use native namespace packages for
zest.releaser
, instead of deprecatedpkg_resources
based ones. - Added pre-commit config for neater code (black, flake8, isort).
- Dropped support for python 3.7. Together with switching to
build
andpyproject.toml
, this warrants a major version bump.
- Make final release, no changes since latest alpha. [maurits]
- Always create wheels, except when you explicitly switch this off in the config:
[zest.releaser] create-wheel = no
. If thewheel
package is not available, we still do not create wheels. Fixes issue 406. [maurits] - Do not fail when tag versions cannot be parsed.
This can happen in
lasttaglog
,lasttagdiff
, andbumpversion
, withsetuptools
66 or higher. Fixes issue 408. [maurits]
- Drop support for Python 3.6. [maurits]
- Support reading and writing the version in
pyproject.toml
. See issue 295, issue 373, and PEP-621, [maurits]
- Add option
run-pre-commit = yes / no
. Default: no. When set to true, pre commit hooks are run. This may interfere with releasing when they fail. [maurits]
- Auto-detect
history_format
based on history filename. [ericof] - Add
history_format
option, to explicitly set changelogs entries in Markdown. [ericof]
- Add the
bumpversion
options to thepostrelease
command. This meansfeature
,breaking
, andfinal
. [rnc, maurits] - Add
--final
option tobumpversion
command. This removes alpha / beta / rc markers from the version. [maurits] - Add support for Python 3.11, remove
z3c.testsetup
from test dependencies. [maurits]
- Optionally add prefix text to commit messages. This can be used ensure your messages follow some regular expression.
To activate this, add
prefix-message = [TAG]
to a[zest.releaser]
section in thesetup.cfg
of your package, or your global~/.pypirc
. Or add your favorite geeky quotes there. [LvffY]
- Bug 381: In
prerelease
, check withpep440
if the version is canonical. Addedpep440
to therecommended
extra, not to the core dependencies:zest.releaser
can also be used for non-Python projects. [maurits]
- Add
--headless
option tolongtest
.
Big cleanup to ease future development:
- Removed support for Subversion (
svn
), Bazaar (bzr
), Mercurial (hg
). - Removed support for Python 2 and 3.5.
- Added support for Python 3.9 and 3.10.
- Tested with Python 3.6-3.10 plus PyPy3.
- Switched from Travis to GitHub Actions.
- Simplified running commands by using
subprocess.run
.