Skip to content

Tags: fleetingbytes/python-semver

Tags

3.0.0-dev.3

Toggle 3.0.0-dev.3's commit message
Version: 3.0.0-dev.3

Following issues/PRs were fixed for this release:

Bug Fixes

* python-semver#310: Rework API documentation. Follow a more “semi-manual” attempt
  and add auto directives into docs/api.rst.

Improved Documentation

* python-semver#312: Rework “Usage” section.
  * Mention the rename of VersionInfo to Version class
  * Remove `semver.` prefix in doctests to make examples shorter
  * Correct some references to dunder methods like `__getitem__()`,
    `__gt__()` etc.
  * Remove inconsistencies and mention module level function as
    deprecated and discouraged from using
  * Make empty `super()` call in `semverwithvprefix.py` example

* python-semver#315: Improve release procedure text

* python-semver#337: Improve documentation for semver max/min

Trivial/Internal Changes

* python-semver#309: Some (private) functions from the semver.version module has been changed.
  The following functions got renamed as it is only useful inside the
  Version class:

  * function `semver.version.comparator` got renamed to
    `semver.version._comparator()`
  * function `semver.version.cmp` got renamed to `semver.version._cmp()`

  The following functions got integrated into the Version class:

   * function `semver.version._nat_cmd` as a classmethod
   * function `semver.version.ensure_str`

* python-semver#313: Correct `tox.ini` for changelog entry to skip installation for
  semver. This should speed up the execution of towncrier.

* python-semver#316: Comparisons of Version class and other types return now a
  `NotImplemented` constant instead of a `TypeError` exception.

  The `NotImplemented` section of the Python documentation recommends
  returning this constant when comparing with `__gt__`, `__lt__`, and
  other comparison operators to “to indicate that the operation is not
  implemented with respect to the other type”.

* python-semver#319: Introduce stages in `.travis.yml`. The config file contains now
  two stages: check and test. If check fails, the test stage won’t be
  executed. This could speed up things when some checks fails.

* python-semver#322: Switch from Travis CI to GitHub Actions.

* python-semver#347: Support Python 3.10 in GitHub Action and other config files.

* Start supporting Python 3.10

Contributors

(in alphabetical order)

* @mzjp2
* @tlaferriere

Thanks to all! ❤️

3.0.0-dev.2

Toggle 3.0.0-dev.2's commit message
Version: 3.0.0-dev.2

Following issues/PRs were fixed for this release:

 # Deprecations

-   python-semver#169: Deprecate CLI functions not
    imported from `semver.cli`.

 # Features

-   python-semver#169: Create semver package and split code among different modules in the packages:
    -   Remove `semver.py`
    -   Create `src/semver/__init__.py`
    -   Create `src/semver/cli.py` for all CLI methods
    -   Create `src/semver/_deprecated.py` for the `deprecated`
        decorator and other deprecated functions
    -   Create `src/semver/__main__.py` to allow calling the CLI using
        `python -m semver`
    -   Create `src/semver/_types.py` to hold type aliases
    -   Create `src/semver/version.py` to hold the `Version` class (old
        name `VersionInfo`) and its utility functions
    -   Create `src/semver/__about__.py` for all the metadata variables
-   python-semver#305: Rename `VersionInfo` to `Version` but keep an alias for compatibility

 # Improved Documentation

-   python-semver#304: Several improvements in documentation:
    -   Reorganize API documentation.
    -   Add migration chapter from semver2 to semver3.
    -   Distinguish between changlog for version 2 and 3
-   python-semver#305: Add note about `Version` rename.

 # Trivial/Internal Changes

-   python-semver#169: Adapted infrastructure code to the new project layout.

    -   Replace `setup.py` with `setup.cfg` because the
        `setup.cfg` is easier to use
    -   Adapt documentation code snippets where needed
    -   Adapt tests
    -   Changed the `deprecated` to hardcode the `semver` package name
        in the warning.

    Increase coverage to 100% for all non-deprecated APIs

-   python-semver#304: Support PEP-561 `py.typed`.

    According to the mentioned PEP:

    > \"Package maintainers who wish to support type checking of their
    > code MUST add a marker file named `py.typed` to their
    > package supporting typing.\"

    Add package\_data to `setup.cfg` to include this marker in dist and whl file.

 # Contributors

(in alphabetical order)

* @tlaferriere

Thanks to all! ❤️

3.0.0-dev.1

Toggle 3.0.0-dev.1's commit message
Version: 3.0.0-dev.1

This is a major release. So many things were changed.
Following issues/PRs were fixed for this release:

* python-semver#290: Create semver 3.0.0-dev.1; mostly improving in
  * documentation: new layout to distinguish from the semver2 line.
    Also new logo, removed occurances of Python2, describe changelog
    process with Towncrier and update release process.
  * Introduce `changelog.d` directory for Towncrier. Used to
    improve process of our Changelog generation.
  * Remove old code in regards to Python2; also testing it against
    3.8, 3.9-dev, and 3.10-dev
* python-semver#234: Simplify `setup.py`
* python-semver#270: Configure Towncrier
* python-semver#276: Document how to create a subclass from `VersionInfo` class
* python-semver#291: Disallow negative numbers in `VersionInfo` arguments for
  `major`, `minor`, and `patch`.

2.13.0

Toggle 2.13.0's commit message
Version 2.12.0

Following issues/PRs were fixed for this release:

* python-semver#287: Document how to create subclass from VersionInfo
* python-semver#283: Ensure equal versions have equal hashes

2.12.0

Toggle 2.12.0's commit message
Version 2.12.0

Following issues/PRs were fixed for this release:

* Fix python-semver#291: Disallow negative numbers in VersionInfo (python-semver#292)

2.11.0

Toggle 2.11.0's commit message
Version 2.11.0

* python-semver#274 / python-semver#275 String Types Py2 vs. Py3 compatibility
* python-semver#277 Turn VersionInfo.parse into classmethod to allow subclasses
* python-semver#286 Add author and update changelog for python-semver#276/python-semver#277

2.10.2

Toggle 2.10.2's commit message
Create semver version 2.10.2 (python-semver#271)

Following issues/PRs were fixed for this release:

* python-semver#160: Deprecated `semver.max_ver` and `semver.min_ver`
* python-semver#260: Fixed `__getitem__` returning None on wrong parts
* python-semver#263: Doc: Added missing "install" subcommand for openSUSE
* python-semver#268: Increased coverage

2.10.1

Toggle 2.10.1's commit message
Create semver version 2.10.1 (python-semver#257)

Following issues/PRs were fixed for this release:

* python-semver#249: Added release policy and version restriction in documentation to
  help our users which would like to stay on the major 2 release.
* python-semver#250: Simplified installation semver on openSUSE with ``obs://``.
* python-semver#256: Made docstrings consistent

2.10.0

Toggle 2.10.0's commit message
Create semver version 2.10.0 (python-semver#237)

Following issues/PRs were fixed for this release:

* python-semver#244: Allow list & str for comparison
* python-semver#236: Add missing deprecated functions
* python-semver#235: Shift focus on semver.VersionInfo.*
* python-semver#228: Add better doctest integration into pytest
* python-semver#225: Deprecate module level functions
* python-semver#224: Replace super() call (python-semver#226)
* python-semver#222: Implement of VersionInfo.next_version() function
* python-semver#138: Implement `__getitem__`

----

* README.rst: Remove :ref: role as it gives problems in twine
* setup.py: add project URLs
* Amend list of contributors
* Mention how to install semver from master
* tox.ini: added prepare-dist target to create distribution (whl
  and .tar.gz) and check with "twine check"

Co-authored-by: Sebastien Celles <scls19fr@users.noreply.github.com>

2.9.1

Toggle 2.9.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Create semver version 2.9.1 (python-semver#219)

* Raise version number in `__version__`
* Update CHANGELOG
* Mention TestPyPI in `release-procedure.md`
* MANIFEST.in:
  * Exclude `.travis.yml`
  * Exclude `.github` directory (pretty useless in an archive/wheel)
  * Exclude `docs/_build` directory
  * Exclude temporary Python files like `__pycache__`, `*.py[cod]`
  * Include all `*.txt` and `*.rst` files

Co-authored-by: Sebastien Celles <s.celles@gmail.com>

Co-authored-by: scls19fr <scls19fr@users.noreply.github.com>
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy