- Nothing changed yet.
- Catch error when uploading first package file in new PyPI project. This fixes issue 206. [maurits]
Before retrying a
twine
command, reload the pypi config. Then when the user fixes his account settings in~/.pypirc
and retries, these changes take effect. This used to work a while ago, but got broken. [maurits]Added
development-marker
config option. With this can override the default.dev0
. [drucci]Added
version-levels
andless-zeroes
options. This influences the suggested version. [maurits]Allow
.pypirc
with just apypi
section. Previously, we required either a[server-login]
section with ausername
option, or a[distutils]
section with anindex-servers
option. Failing this, we gave a warning about a not properly configured file, and happily continued without uploading anything. Now if there is something missing from thepypirc
file, we give an error and explicitly ask if you want to continue without uploading. Fixes issue #199.Note for developers of extensions for
zest.releaser
: this removes theis_old_pypi_config
andis_new_pypi_config
methods, because they made no sense anymore. If you were using these, see if you can use thedistutils_server
method instead. [maurits]Added
push-changes
config file option. Default: yes. When this is false, zest.releaser setsno
as default answer for the question if you want to push the changes to the remote. [newlog]By default no longer register a new package, but only upload it. Registering a package is no longer needed on PyPI: uploading a new distribution takes care of this. If you do want to register, maybe because a different package server requires it, then in your
setup.cfg
or~/.pypirc
, use the following:[zest.releaser] register = yes
Fixes issue 191. [willowmck]
- Create the list of distributions after the
before_upload
hook has fired. This allows thebefore_upload
hook to create additional distributions, which will then be uploaded. [t-8ch]
- Use the intended API of twine. This should work with twine 1.6.0 and higher, including future versions. [maurits]
- Support and require twine 1.8.0 as minimum version. Fixes zestsoftware#183 [maurits]
- Updated the documentation on uploading. [mgedmin, maurits]
- Replaced http://zestreleaser.readthedocs.org with http://zestreleaser.readthedocs.io. This is the new canonical domain since 28 April 2016. [maurits]
- Really create a shallow git clone when creating a distribution. See issue #169. [maurits]
- Using a "shallow" git clone when creating a distribution. This speeds up releases, especially on big repositories. See issue #169. [gforcada]
- Added
no-input
option also to global (.pypirc) options. Issue #164. [jcerjak]
- Fixed version in changelog after bumpversion call. [maurits]
- Added
bumpversion
command. Options--feature
and--breaking
. Issue #160. The exact behavior might change in future versions after more practical experience. Try it out and report any issues you find. [maurits] - Fixed possible encoding problems when writing files. This is
especially for an ascii file to which we add non ascii characters,
like in the
addchangelogentry
command. [maurits] - Added
addchangelogentry
command. Issue #159. [maurits] - Moved
_diff_and_commit
,_push
and_grab_version
tobaserelease.py
, as the first was duplicated and the second and third may be handy for other code too._grab_version
is the basic implementation, and is overridden in the prereleaser. [maurits] - Show changelog of current release before asking for the new version number. Issue #155. [maurits]
- Moved
_diff_and_commit
,_push
and_grab_version
tobaserelease.py
, as the first was duplicated and the second and third may be handy for other code too._grab_version
is the basic implementation, and is overridden in the prereleaser. [maurits]
Adjusted
bin/longtest
for the (necessary) rename of thereadme
library toreadme_renderer
. Fixes #153Note: the current
readme
package on pypi is broken to force an upgrade. If you use an older zest.releaser, you have to pinreadme
to0.6.0
, it works just fine. [reinout]
- Fixed error when retrying twine command. Fixes #148 [maurits]
- Fixed exception when logging an exception when a twine command fails. [maurits]
New:
- Use
twine
as library instead of as command. You no longer need to havetwine
on yourPATH
. Fixes issue #142. [maurits]
Fixes:
- Fixed registering on servers other than PyPI. We forgot to specify the server in that case. [maurits]
- Made
twine
a core dependency. We now always use it for registering and uploading. We require at least version 1.6.0, as this introduces theregister
command. [maurits] - When uploading with
twine
first use thetwine register
command. On PyPI, when the project is already registered, we do not call it again, but we can only check this for PyPI, not for other servers. Issue #128. [maurits] - Always exit with error code 1 when we exit explicitly. In some
cases we would exit with success code 0 when we exited based on the
answer to a question. This happened when the user did not want us
to create the missing
tags
directory in subversion, and also after asking if the user wanted to continue even though 'nothing changed yet' was in the history. [maurits] - Extensions can now tell zest.releaser to look for specific required
words in the history. Just add
required_changelog_text
to the prerelease data. It can be a string or a list, for example["New:", "Fixes:"]
. For a list, only one of them needs to be present. [maurits] - Look for the 'Nothing changed yet' text in the complete text of the
history entries of the current release, instead of looking at it
line by line. This means that zest releaser extensions can overwrite
nothing_changed_yet
in the prerelease data to span multiple lines. [maurits] - zest.releaser extensions can now look at
history_insert_line_here
in the prerelease data. On this line number in the history file they can add an extra changelog entry if wanted. [maurits] - Added
history_last_release
to the prerelease data. This is the text with all history entries of the current release. [maurits] - When using the
--no-input
option, show the question and the chosen answer. Otherwise in case of a problem it is not clear why the command stopped. Fixes issue #136. [maurits]
- The history/changelog file is now written back with the originally detected
encoding. The functionality was added in 5.2, but only used for writing the
setup.py
, not the changelog. This is fixed now. [reinout]
- Add support for PyPy. [jamadden]
- The
bin/longtest
command adds the correct utf-8 character encoding hint to the resulting html so that non-ascii long descriptions are properly rendered in all browsers. [reinout]
- Requiring at least version 0.6 of the (optional, btw) readme package. The
API of readme changed slightly. Only needed when you want to check your
package's long description with
bin/longtest
. [reinout]
- Fixed typo in svn command to show the changelog since the last tag. [awello]
- When we find no version control in the current directory, look a few directories up. When looking for version and history files, we look in the current directory and its sub directories, and not in the repository root. After making a tag checkout, we change directory to the same relative path that we were in before. You can use this when you want to release a Python package that is in a sub directory of the repository. When we detect this, we first offer to change to the root directory of the repository. [maurits]
- Write file with the same encoding that we used for reading them. Issue #109. [maurits]
- Fix writing history/changelog file with non-ascii. Issue #109. [maurits]
- Release zest.releaser as universal wheel, so one wheel for Python 2 and 3. As usual, we release it also as a source distribution. [maurits]
- Regard "Skipping installation of __init__.py (namespace package)" as warning, printing it in magenta. This can happen when creating a wheel. Issue #108. [maurits]
- Python 3 support. [mitchellrj]
- Use the same readme library that PyPI uses to parse long descriptions when we test and render them. [mitchellrj]
- Try not to treat warnings as errors. [maurits]
- Allow retrying some commands when there is an error. Currently only for commands that talk to PyPI or another package index. We ask the user if she wants to retry: Yes, no, quit. [maurits]
- Added support for twine. If the
twine
command is available, it is used for uploading to PyPI. It is installed automatically if you use thezest.releaser[recommended]
extra. Note that if thetwine
command is not available, you may need to change your systemPATH
or need to installtwine
explicitly. This seems more needed when usingzc.buildout
than when usingpip
. Addedreleaser.before_upload
entry point. Issue #59. [maurits] - Added
check-manifest
andpyroma
to therecommended
extra. Issue #49. [maurits] - Python 2.6 not officially supported anymore. It may still work, but we are no longer testing against it. [maurits]
- Do not accept
y
orn
as answer for a new version. [maurits] - Use
colorama
to output errors in red. Issue #86 [maurits] - Show errors when uploading to PyPI. They were unintentionally swallowed before, so you did not notice when an upload failed. Issue #84. [maurits]
- Warn when between the last postrelease and a new prerelease no changelog entry has been added. '- Nothing changed yet' would still be in there. Issue #26. [maurits]
- Remove code for support of collective.sdist. That package was a backport from distutils for Python 2.5 and earlier, which we do not support. [maurits]
- Add optional support for uploading Python wheels. Use the new
zest.releaser[recommended]
extra, or runpip install wheel
yourself next tozest.releaser
. Create or editsetup.cfg
in your project (or globally in your~/.pypirc
) and create a section[zest.releaser]
withcreate-wheel = yes
to create a wheel to upload to PyPI. See http://pythonwheels.com for deciding whether this is a good idea for your package. Briefly, if it is a pure Python 2 or pure Python 3 package: just do it. Issue #55 [maurits] - Optionally add extra text to commit messages. This can be used to
avoid running Travis Continuous Integration builds. See
http://docs.travis-ci.com/user/how-to-skip-a-build/. To activate
this, add
extra-message = [ci skip]
to a[zest.releaser]
section in thesetup.cfg
of your package, or your global~/.pypirc
. Or add your favorite geeky quotes there. [maurits] - Fix a random test failure on Travis CI, by resetting
AUTO_RESPONSE
. [maurits] - Added clarification to logging: making an sdist/wheel now says that it is being created in a temp folder. Fixes #61. [reinout]