Skip to content

Release 2.10.0 #246

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Change Log
All notable changes to this code base will be documented in this file,
in every released version.

Version 2.10.0 (WIP)
===================
Version 2.10.0
==============

:Released: 2020-xx-yy
:Maintainer:
:Released: 2020-05-05
:Maintainer: Tom Schraitle

Features
--------
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ Significant contributors
* Ben Finney <ben+python@benfinney.id.au>
* Carles Barrobés <carles@barrobes.com>
* Craig Blaszczyk <masterjakul@gmail.com>
* George Sakkis <gsakkis@users.noreply.github.com>
* Jan Pieter Waagmeester <jieter@jieter.nl>
* Jelo Agnasin <jelo@icannhas.com>
* Karol Werner <karol.werner@ppkt.eu>
* Peter Bittner <django@bittner.it>
* robi-wan <robi-wan@suyu.de>
* T. Jameson Little <t.jameson.little@gmail.com>
* Tom Schraitle <tom_schr@web.de>
* Thomas Laferriere <tlaferriere@users.noreply.github.com>
* Tuure Laurinolli <tuure@laurinolli.net>
* Tyler Cross <tyler@crosscollab.com>
* Zack Lalanne <zack.lalanne@gmail.com>
Expand Down
9 changes: 4 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ A Python module for `semantic versioning`_. Simplifies comparing versions.
Major version 3 of semver will contain some incompatible changes:

* removes support for Python 2.7 and 3.3
* removes deprecated functions (see :ref:`sec_replace_deprecated_functions` for
further information).
* removes deprecated functions.

The last version of semver which supports Python 2.7 and 3.4 will be
2.10.x. However, keep in mind, version 2.10.x is frozen: no new
Expand Down Expand Up @@ -59,8 +58,8 @@ different parts, use the ``semver.VersionInfo.parse`` function:
'build.4'

To raise parts of a version, there are a couple of functions available for
you. The function :func:`semver.VersionInfo.bump_major` leaves the original object untouched, but
returns a new :class:`semver.VersionInfo` instance with the raised major part:
you. The function ``semver.VersionInfo.bump_major`` leaves the original object untouched, but
returns a new ``semver.VersionInfo`` instance with the raised major part:

.. code-block:: python

Expand All @@ -75,7 +74,7 @@ It is allowed to concatenate different "bump functions":
>>> ver.bump_major().bump_minor()
VersionInfo(major=4, minor=1, patch=0, prerelease=None, build=None)

To compare two versions, semver provides the `semver.compare` function.
To compare two versions, semver provides the ``semver.compare`` function.
The return value indicates the relationship between the first and second
version:

Expand Down
8 changes: 8 additions & 0 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ For Python 3:

pip3 install semver

If you want to install this specific version, you can use the command :command:`pip`
with an URL:

.. parsed-literal::

pip3 install git+https://github.com/python-semver/python-semver.git@|version|


Linux Distributions
-------------------

Expand Down
2 changes: 1 addition & 1 deletion semver.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import warnings


__version__ = "2.9.1"
__version__ = "2.10.0"
__author__ = "Kostiantyn Rybnikov"
__author_email__ = "k-bx@k-bx.com"
__maintainer__ = ["Sebastien Celles", "Tom Schraitle"]
Expand Down
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,16 @@ def read_file(filename):
version=package.__version__,
description=package.__doc__.strip(),
long_description=read_file("README.rst"),
long_description_content_type="text/x-rst",
author=package.__author__,
author_email=package.__author_email__,
url="https://github.com/python-semver/python-semver",
download_url="https://github.com/python-semver/python-semver/downloads",
project_urls={
"Documentation": "https://python-semver.rtfd.io",
"Releases": "https://github.com/python-semver/python-semver/releases",
"Bug Tracker": "https://github.com/python-semver/python-semver/issues",
},
py_modules=[package.__name__],
include_package_data=True,
license="BSD",
Expand Down
11 changes: 11 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,14 @@ basepython = python3
deps = sphinx
skip_install = true
commands = make -C docs man


[testenv:prepare-dist]
description = Prepare for TestPyPI
basepython = python3
deps =
wheel
twine
commands =
python3 setup.py sdist bdist_wheel --universal
twine check dist/*