Skip to content
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

Merge code from upstream repo #3

Open
wants to merge 340 commits into
base: master
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Nov 25, 2019

  1. Fix #201: Reformat source code with black (#202)

    * Fix #201: Reformat source code with black
    
    * Add `pyproject.toml` containing black configuration
    * Add batch image in `README.rst`
    * Reformat source code with `black`
    
    * Add config for flake8
    
    Use max-line-length of 88 (default for black)
    tomschr authored and scls19fr committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    dfc2270 View commit details
    Browse the repository at this point in the history
  2. Fix #203: Use --check option for black (infra) (#204)

    * Remove uploading the diff file as artifact
    * Use `--check` to test our source code
    tomschr authored and scls19fr committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    8169c12 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. Improve consistency in tox.ini (#206)

    * Describe each target with `description` keyword;
      useful when running tox as `tox -a -v`
    * Move whitelist_externals to `textenv` section
    * Use `make` in `docs` target instead of running
      `sphinx-build` directly
    * Introduce black target to check for changes in formatting
    * Use `posargs` for flake8
    tomschr authored and scls19fr committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    63b9163 View commit details
    Browse the repository at this point in the history
  2. Add python_requires keyword in setup.py (#207)

    tomschr authored and scls19fr committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    445f47a View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. Fix #208: Introduce VersionInfo.isvalid() function (#209)

    * VersionInfo.isvalid(cls, version:str) -> bool
    * Add test case
    * Describe function in documentation
    * Amend pysemver script with "check" subcommand
    * Update manpage (pysemver.rst)
    * Update `CHANGELOG.rst`
    tomschr authored and scls19fr committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    f2c23f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2020

  1. Improve docstrings according to PEP257 (#212)

    * Use `docformatter` from https://github.com/myint/docformatter/
    * Reformat `semver.py` to be compatible with PEP257 docstrings
      with `docformatter -i --pre-summary-newline semver.py`
    * `tox.ini`
      - Introduce `docstrings` target which calls `docformatter`
        to check for PEP257 compatible docstrings
      - Introduce a new `check` target which calls `black`, `flake8`, and
        `docstrings`
    * `.travis.yml`
      - Run `check` target instead of `flake8`
      - Add `before_install` section to install python3-dev package
        for black
    tomschr authored and scls19fr committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    177f080 View commit details
    Browse the repository at this point in the history
  2. Improve pysemver subcommands (#214)

    * Use separate cmd_* functions for each subcommand
    * Replace which with func keyword
    * Use func keyword to store the specific cmd_* function
    * Adapt tests
    * (Re)format with black
    * Clarify return code in manpage (add new section "Return Code")
    
    => Easier to extend
    tomschr authored and scls19fr committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    5755f9a View commit details
    Browse the repository at this point in the history
  3. Fix #210: how to deal with invalid versions (#215)

    * Document how to deal with invalid versions
    * Use coerce(version) as an example
    * Update CHANGELOG.rst
    
    Co-authored-by: scls19fr <[email protected]>
    tomschr and scls19fr committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    b5ccad6 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2020

  1. Create semver version 2.9.1 (#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 <[email protected]>
    
    Co-authored-by: scls19fr <[email protected]>
    tomschr and scls19fr authored Feb 16, 2020
    Configuration menu
    Copy the full SHA
    3f92aa5 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2020

  1. Fix #224: Replace super() call (#226)

    In class clean, replace super(CleanCommand, self).run() with CleanCommand.run(self)
    
    Co-authored-by: Dennis Menschel <[email protected]>
    
    Co-authored-by: Dennis Menschel <[email protected]>
    tomschr and menschel-d authored Feb 29, 2020
    Configuration menu
    Copy the full SHA
    6878916 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2020

  1. Integrate better doctest integration into pytest

    * Fix typos in `README.rst`.
    * Move `coerce()` function into separate file; this was needed
      so it can be both included into the documentation and inside
      `conftest.py`.
    * In `docs/usage.rst`:
      - Fix typos
      - Add missing semver module name as prefix
      - Slightly rewrite some doctests which involves dicts
        (unfortunately, order matters still in Python2)
    * In `setup.cfg`:
      - Add `--doctest-glob` option to look for all `*.rst` files.
      - Add `testpaths` key to restrict testing paths to current dir
        and `docs`.
    * Update `CHANGELOG.rst`
    tomschr committed Mar 15, 2020
    Configuration menu
    Copy the full SHA
    6669ba0 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2020

  1. Merge pull request #228 from tomschr/feature/integrate-doctests

    Add better doctest integration into pytest
    tomschr authored Mar 16, 2020
    Configuration menu
    Copy the full SHA
    158f19f View commit details
    Browse the repository at this point in the history
  2. Add version information in some functions

    * Use ".. versionadded::" RST directive in docstrings to
      make it more visible when something was added
    * Minor wording fix in docstrings (versions -> version strings)
    tomschr committed Mar 16, 2020
    Configuration menu
    Copy the full SHA
    1e6a251 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2020

  1. Merge pull request #230 from tomschr/feature/minor-fix4docs

    Add version information in some functions
    tomschr authored Mar 19, 2020
    Configuration menu
    Copy the full SHA
    34f038d View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. Fix #225: Deprecate module level functions

    * Add test cases
      - Add additional test case for "check"
      - test_should_process_check_iscalled_with_valid_version
      - Test also missing finalize_version
      - Test the warning more thoroughly with pytest.warns instead
        of just pytest.deprecated_call
    
    * In `setup.cfg`, add deprecation warnings filter for pytest
    
    * Implement DeprecationWarning with warnings module and
      the new decorator `deprecated`
    
    * Output a DeprecationWarning for the following functions:
      - semver.bump_{major,minor,patch,prerelease,build}
      - semver.format_version
      - semver.finalize_version
      - semver.parse
      - semver.parse_version_info
      - semver.replace
      - semver.VersionInfo._asdict
      - semver.VersionInfo._astuple
      Add also a deprecation notice in the docstrings of these
      functions
    
    * Introduce new public functions:
      - semver.VersionInfo.to_dict (from former _asdict)
      - semver.VersionInfo.to_tuple (from former _astuple)
      - Keep _asdict and _astuple as a (deprecated) function for
        compatibility reasons
    
    * Update CHANGELOG.rst
    
    * Update usage documentation:
      - Move some information to make them more useful for
        for the reader
      - Add deprecation warning
      - Explain how to replace deprecated functions
      - Explain how to display deprecation warnings from semver
    
    * Improve documentation of deprecated functions
      - List deprecated module level functions
      - Make recommendation and show equivalent code
      - Mention that deprecated functions will be replaced in
        semver 3. That means, all deprecated function will be still
        available in semver 2.x.y.
    
    * Move _increment_string into VersionInfo class
      - Makes removing deprecating functions easier as, for example,
        bump_prerelease is no longer dependant from an "external"
        function.
      - Move _LAST_NUMBER regex into VersionInfo class
      - Implement _increment_string as a staticmethod
    
    Co-authored-by: Karol <[email protected]>
    Co-authored-by: scls19fr <[email protected]>
    Co-authored-by: George Sakkis
    3 people committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    5b8bb16 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2020

  1. Merge pull request #229 from tomschr/feature/deprecationwarning

    Deprecate module level functions
    tomschr authored Apr 16, 2020
    Configuration menu
    Copy the full SHA
    c9b2a7f View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2020

  1. Fix #235: Shift focus on semver.VersionInfo.*

    * Module level functions like `semver.bump_version` are still available
      in the documentation, but they play a much less important role now.
      The preferred way is to use semver.Versioninfo instances to use.
    
    * Replace 2.9.2 -> 2.10.0 due to #237
    
    * Fix docstring examples
    tomschr committed Apr 19, 2020
    Configuration menu
    Copy the full SHA
    b145931 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2020

  1. Merge pull request #235 from tomschr/feature/doc-focus-on-versioninfo

    Shift focus on semver.VersionInfo.* functions
    tomschr authored Apr 20, 2020
    Configuration menu
    Copy the full SHA
    9691b41 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Fix #236: add missing deprecated functions

    Deprecate:
    
    * `semver.compare` -> `semver.VersionInfo.compare`
    * `semver.match` -> `semver.VersionInfo.match`
    
    Change:
    
    * Implementation of `semver.max_ver` and `semver.min_ver`
    tomschr committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    14cd842 View commit details
    Browse the repository at this point in the history
  2. Get rid of _compare_by_keys, adapt comparison operators

    * Call self.compare(other) in all comparison operators.
    * Make sure, "other" is a compatible type (VersionInfo,
      dict, list, tuple, or string)
    tomschr committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    4482f8c View commit details
    Browse the repository at this point in the history
  3. Remove _to_dict() function

    tomschr committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    1c8fc74 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. Merge pull request #239 from tomschr/bugfix/236-deprecate-others

    Fix #236: add missing deprecated functions
    tomschr authored Apr 23, 2020
    Configuration menu
    Copy the full SHA
    d69e7c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2020

  1. Implement __getitem__ for #138

    * Add __getitem__ to VersionInfo class
    * Add test cases
    * Add user documentation
    * Extend CHANGELOG
    
    
    Co-authored-by: Thomas Laferriere <[email protected]>
    Co-authored-by: Peter Bittner <[email protected]>
    Co-authored-by: Karol Werner <[email protected]>
    Co-authored-by: Sébastien Celles <[email protected]>
    5 people committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    ec6588e View commit details
    Browse the repository at this point in the history
  2. Fix #244: Allow list & str for comparison

    The VersionInfo.compare method allows already VersionInfo, dict,
    tuple/list and str.
    
    * Extend list of allowed types in comparator with list and str.
    * Rewrite case test_should_not_allow_to_compare_version_with_string ->
      test_should_compare_version_string
    * Add new test cases:
      - test_should_compare_version_list
      - test_should_not_allow_to_compare_invalid_versionstring
    * Use pytest.mark.parametrize for test_should_compare_version_tuples
    * Update usage.rst to document all possibilities
    * Update CHANGELOG
    tomschr committed Apr 26, 2020
    Configuration menu
    Copy the full SHA
    7057dc5 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2020

  1. Implement of VersionInfo.next_version() function

    Synopsis: semver.VersionInfo.next_version(version, part, prerelease_token="rc")
    
    * Add test cases
      * test_next_version
      * test_next_version_with_invalid_parts
    * Reformat code with black
    * Document it in usage.rst
    * Implement "nextver" subcommand for pysemver command
    
    Co-authored-by: George Sakkis <[email protected]>
    Co-authored-By: Karol <[email protected]>
    3 people committed Apr 27, 2020
    Configuration menu
    Copy the full SHA
    5b04960 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2020

  1. Merge pull request #222 from tomschr/feature/221-bump-prerelease-and-…

    …build
    
    First implementation of next_version
    tomschr authored May 1, 2020
    Configuration menu
    Copy the full SHA
    8d4336e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #243 from tomschr/feature/138-add-__getitem__

    Implement __getitem__ for #138
    tomschr authored May 1, 2020
    Configuration menu
    Copy the full SHA
    2ef2eea View commit details
    Browse the repository at this point in the history

Commits on May 5, 2020

  1. Merge pull request #245 from tomschr/bugfix/244-missing-list-and-str

    Fix #244: Allow list & str for comparison
    tomschr authored May 5, 2020
    Configuration menu
    Copy the full SHA
    22ff5af View commit details
    Browse the repository at this point in the history
  2. Release 2.10.0

    * 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"
    tomschr committed May 5, 2020
    Configuration menu
    Copy the full SHA
    1ff9360 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #246 from tomschr/release/2.10.0

    Release 2.10.0
    tomschr authored May 5, 2020
    Configuration menu
    Copy the full SHA
    25f5423 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2020

  1. Add __all__ to provide explict index of semver

    Defines default behaviour when executing
    `from semver import *` (although it's considered
    bad coding practice).
    
    Raise version to 2.10.1.
    
    See also:
    https://docs.python.org/3/tutorial/modules.html#importing-from-a-package
    tomschr committed May 10, 2020
    Configuration menu
    Copy the full SHA
    8697b8e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #242 from tomschr/feature/__all__

    Add __all__ to provide explict index of semver
    tomschr authored May 10, 2020
    Configuration menu
    Copy the full SHA
    6e7291b View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. Simplify openSUSE installation

    Use obs:// scheme instead of the longer http://. The former
    has the additional advantage, that the current release
    is automatically detected.
    
    Co-authored-by: Martin Rey <[email protected]>
    tomschr and m-rey committed May 11, 2020
    Configuration menu
    Copy the full SHA
    230d61a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #250 from tomschr/feature/doc-install

    Simplify openSUSE installation with obs://
    tomschr authored May 11, 2020
    Configuration menu
    Copy the full SHA
    cf18005 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Fix #251: Correct return type for next_version() (#254)

    * Return VersionInfo instance in VersionInfo.next_version and
      not str when part is major, minor, or patch.
    * Change test_next_version_with_versioninfo
      Test for correct return type (should be VersionInfo)
    * Update CHANGELOG.rst
    
    Co-authored-by: Thomas Laferriere <[email protected]>
    tlaferriere and Thomas Laferriere authored May 13, 2020
    Configuration menu
    Copy the full SHA
    f55559a View commit details
    Browse the repository at this point in the history
  2. Fix #252: Correct wrong str type in docstring (#253)

    * Type should be VersionInfo instead of str in
      VersionInfo.bump_build and VersionInfo.bump_prerelease
    * Make rtype line in docstrings consistent
    * Use :class: prefix for VersionInfo object
    
    Co-authored-by: Thomas Laferriere <[email protected]>
    tomschr and tlaferriere authored May 13, 2020
    Configuration menu
    Copy the full SHA
    1f0d49b View commit details
    Browse the repository at this point in the history
  3. Doc: Add version rule to avoid surpises

    Add a new section "Release Policy" to give a
    recommendation.
    
    As with the upcoming major 3 release of semver, a lot of
    things have been changed. To avoid any surprises for
    our users or even break their code base, a short
    version restriction can solve that.
    
    This should help users who wants to stay with release 2.
    
    Basically, it boils down to a line like `semver>=2,<3`.
    This can be added in any file which lists dependencies.
    tomschr committed May 13, 2020
    Configuration menu
    Copy the full SHA
    028f6b1 View commit details
    Browse the repository at this point in the history
  4. Make docstrings consistent

    * Use VersionInfo instead of semver.VersionInfo
    * Change order. Deprecation notice should come
      first in docstring
    tomschr committed May 13, 2020
    Configuration menu
    Copy the full SHA
    cfcbec7 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #249 from tomschr/feature/doc-release-policy

    Doc: Add version rule to avoid surpises
    tomschr authored May 13, 2020
    Configuration menu
    Copy the full SHA
    0733da7 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #256 from tomschr/feature/docstring-consistency

    Make docstrings consistent
    tomschr authored May 13, 2020
    Configuration menu
    Copy the full SHA
    f264183 View commit details
    Browse the repository at this point in the history
  7. Release 2.10.1

    * Update CHANGELOG
    * Improve release-procedure.md
    * #249: Add release policy and version restriction in documentation to
      help our users which would like to stay on the major 2 release.
    * #250: Simplify installation semver on openSUSE with ``obs://``.
    * #251: Return type of ``semver.VersionInfo.next_version``
      to always return a ``VersionInfo`` instance.
    * #256: Made docstrings consistent
    tomschr committed May 13, 2020
    Configuration menu
    Copy the full SHA
    52ba0d6 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #257 from tomschr/release/2.10.1

    Release 2.10.1
    tomschr authored May 13, 2020
    Configuration menu
    Copy the full SHA
    69d1cf2 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2020

  1. Fix #260 __getitem__ returning None on falsy parts

    * Fix #260 and add tests for these special cases 
    * Fix IndexError not being thrown every time it should
    * Update CHANGELOG.rst
    
    Co-authored-by: Tom Schraitle <[email protected]>
    tlaferriere and tomschr authored Jun 10, 2020
    Configuration menu
    Copy the full SHA
    f332326 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fe1bd9 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #263 from tomschr/bugfix/doc-missing-install

    Doc: Add missing "install" for openSUSE
    tomschr authored Jun 10, 2020
    Configuration menu
    Copy the full SHA
    e8b388d View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2020

  1. Increase coverage (#268)

    * Increase coverage in VersionInfo.compare
    * Test __repr__
    * Test nextver subcommand
    * Run black
    tlaferriere authored Jun 12, 2020
    Configuration menu
    Copy the full SHA
    4841d6f View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2020

  1. Deprecate max_ver and min_ver (#264)

    * Deprecate functions max_ver and min_ver
    
    * Fix typos in docs
    
    * Document use of builtins max() and min()
    
    * Fix bad doc link and change section name
    
    * Improve documentation with examples of how to use the builtin max and min. Keep the old way of doing for reference.
    
    * Test that max_ver and min_ver are deprecated.
    
    * Add deprecation to CHANGELOG.rst
    
    * Rename removals to deprecations and clean up the CHANGELOG.rst
    
    
    Co-authored-by: Tom Schraitle <[email protected]>
    tlaferriere and tomschr authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    772a7a6 View commit details
    Browse the repository at this point in the history
  2. Prepare 2.10.2 release (#271)

    * Update CHANGELOG.rst
    * Raise version number
    tomschr committed Jun 15, 2020
    Configuration menu
    Copy the full SHA
    af5456f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #272 from tomschr/release/2.10.2

    Create 2.10.2 release (#271)
    tomschr authored Jun 15, 2020
    Configuration menu
    Copy the full SHA
    e2532b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2020

  1. Doc: Mention Sphinx directive for docstrings

    For contributing to semver, every substantial change
    should also introduce a Sphinx directive (versionadded,
    versionchanged, or deprecated) to help our readers.
    tomschr committed Jul 22, 2020
    Configuration menu
    Copy the full SHA
    9088f50 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #278 from tomschr/feature/doc-contrib

    Doc: Mention Sphinx directive for docstrings
    tomschr authored Jul 22, 2020
    Configuration menu
    Copy the full SHA
    3689e27 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Turn VersionInfo.parse into classmethod to allow subclasses (#277)

    * turn VersionInfo.parse into a class method in order to be able to create subclasses
    * Integrate test case to test subclass
    
    Co-authored-by: Tom Schraitle <[email protected]>
    Anvil and tomschr authored Oct 16, 2020
    Configuration menu
    Copy the full SHA
    9332d92 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db870f2 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2020

  1. Fix #274: String Types Py2 vs. Py3 compatibility (#275)

    This fixes problems between different string types. In Python2
    str vs. unicode and in Python3 str vs. bytes.
    
    * Add some code from six project
    * Suppress two flake8 issues (false positives)
    * Update Changelog
    * Update CONTRIBUTORS
    * Document creating a version from a byte string
    
    Co-authored-by: Eli Bishop <[email protected]>
    tomschr and eli-darkly authored Oct 17, 2020
    Configuration menu
    Copy the full SHA
    20e5c4f View commit details
    Browse the repository at this point in the history
  2. Prepare 2.11.0 release (#288) (#289)

    * #274 / #275 String Types Py2 vs. Py3 compatibility
    * #277 Turn VersionInfo.parse into classmethod to allow subclasses
    * #286 Add author and update changelog for #276/#277
    tomschr authored Oct 17, 2020
    Configuration menu
    Copy the full SHA
    dd110f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. Fix #291: Disallow negative numbers in VersionInfo (#292)

    Disallow negative numbers in major, minor, and patch in
    semver.VersionInfo.
    
    Reason: a version can only contain positive numbers according
    to the semver.org specification:
    
    "A normal version number MUST take the form X.Y.Z where X, Y, and Z
    are non-negative integers, ..."
    tomschr authored Oct 19, 2020
    Configuration menu
    Copy the full SHA
    0309c63 View commit details
    Browse the repository at this point in the history
  2. Prepare 2.12.0 release (#293) (#294)

    * #291/#292 Disallow negative numbers in VersionInfo
    tomschr authored Oct 19, 2020
    Configuration menu
    Copy the full SHA
    49229d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. Ensure equal versions have equal hashes (#283)

    * Version equality means for semver, that `major`, `minor`, `patch`, and `prerelease`
      parts are equal in both versions you compare. The `build` part is ignored.
    * Improve docs to describe version comparison
    sbrudenell authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    db55f27 View commit details
    Browse the repository at this point in the history
  2. Document how to create subclass from VersionInfo (#287)

    Related to issue #276
    tomschr authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    90bf1be View commit details
    Browse the repository at this point in the history
  3. Prepare 2.13.0 release (#295) (#295)

    * #283: Ensure equal versions have equal hashes
    * Update list of contributors
    tomschr authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    4090b94 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2020

  1. Fix #176: Create semver 3.0.0-dev.1

    * Remove targets py27, py34, py35, and pypy from `tox.ini`
    * Update `README.rst` and remove anything related to Python2
      Mention maintenance branch `maint/v2`
    * `setup.py`
      - Update Trove classifiers
      - Require now Python >=3.6.*
      - Remove Tox and Clean classes, try to make it
        as simple as possible
      - Extract metadata directly from source (affects all the __version__,
        __author__ etc. variables)
    * `setup.cfg`
      - Add pycodestyle section
      - Ignore venv directory
    * `semver.py`
      - Change version number to "3.0.0-dev.1"
      - Remove old code related to Python2
      - Adjust Python2 vs. Python3 str/bytes
      - Add wheel as another test requirement
      - Add type annotations
      - Remove data types and return types from docstring
    * `tox.ini`
      - Remove py27, py34, and py35 (out of maintenance)
      - Add docs to default testenv
      - Remove --universal from bdist_wheel
      - Add mypy target
    * test suite:
      - Split test suite into separate files under tests/ dir
      - Move conftests.py -> tests
    * Travis: Remove old versions, integrate new
      - Remove 2.7, 3.4, 3.5, and pypy
      - Integrate 3.8, 3.9-dev and nightly builds
      - Allow nightly to fail
      - Add mypy test
    * Add .editorconfig to have a consistent editor setup
    * Add supported python versions to black config
      (cherry picked from commit d9394af)
    
    Co-authored-by: Thomas Laferriere <[email protected]>
    tomschr and tlaferriere committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    fc92fb4 View commit details
    Browse the repository at this point in the history
  2. Rework .gitignore file

    Completely revamp file. Mostly update from
    gh://github/gitignore/ and integrate:
    
    * Python
    * Global/Kate
    * Global/Vim
    * Global/VisualStudio
    * Global/JetBrains
    tomschr committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    fe64de2 View commit details
    Browse the repository at this point in the history
  3. Improve semver documentation

    * Remove Python2
    * Use Roboto font family
      Sans: Roboto (for text)
      "Serif": Roboto Slab (for headings)
      Monospace: Roboto Mono (for code)
    * Improve CSS navigation
    * Create new logo and move it to docs/_static
    * Add new section about how to get the version of semver
    * Use a more general term (2.x.y) instead of specific versions
    * Number sections
    * Rework deps for doc build
    * Rework release procedure
    * Add sphinx-autodoc-typehints dependency for type hints
    tomschr committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    24bcdfd View commit details
    Browse the repository at this point in the history
  4. Configure and add Towncrier files

    * Add `changelog.d/.gitignore` to keep this directory
    * Create `changelog.d/README.rst` with some descriptions
    * Add `changelog.d/_template.rst` as Towncrier template
    * Add `[tool.towncrier]` section in pyproject.toml
    * Add "changelog" target into `tox.ini`. Use it like "tox -e changes -- CMD"
      whereas CMD is a towncrier command. The default "tox -e changes"
      calls towncrier to create a draft of the changelog file and
      output it to stdout.
    * Update documentation and add include a new section "Changelog"
      included from `changelog.d/README.rst`
    * Update changelog.d directory and add new files
    * Add news file in changelog.d
    
    Co-authored-by: Thomas Laferriere <[email protected]>
    tomschr and tlaferriere committed Oct 25, 2020
    Configuration menu
    Copy the full SHA
    cbd4335 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. Merge pull request #290 from tomschr/feature/3.0.0-alpha0

    Fix #176: Create semver 3.0.0-dev.1
    tomschr authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    5e02f12 View commit details
    Browse the repository at this point in the history
  2. Doc: Disable sphinx-argparse

    tomschr committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    ae8a961 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #298 from tomschr/feature/fix-rtd-1

    Doc: Disable sphinx-argparse
    tomschr authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    1930e3e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8a91525 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #300 from tlaferriere/297-fix-docs

    Remove sphinx from requirements.txt
    tomschr authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    b3f53b4 View commit details
    Browse the repository at this point in the history
  6. Create 3.0.0-dev.1 Release

    * Update CHANGELOG
    * Make the Quickstart the main page of semver doc.
      It's a bit friendlier than having a sterile table
      of contents.
    tomschr committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    1dab57f View commit details
    Browse the repository at this point in the history
  7. Merge pull request #301 from tomschr/release/3.0.0-dev.1

    Create 3.0.0-dev.1 Release
    tomschr authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    ddf2b30 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2020

  1. Create semver package

    * Bump the dev part to "dev.2"
    * Add stubby setup.py file for compatibility with python 3.6
    * Deprecate cli functions imported from root
    * Revert to `pysemver` as console script.
    * Refactor __main__.py
      * add type hints for correctness
    * Rename VersionInfo to Version to close #305
    * Refactor and integrate suggestion from @tomschr
      * Create :file:`src/semver/cli.py` for all CLI methods
      * Create :file:`src/semver/_deprecated.py` for the ``deprecated`` decorator and other deprecated functions
      * Create :file:`src/semver/__main__.py` to allow calling the CLI using :command:`python -m semver`
      * Create :file:`src/semver/_types.py` to hold type aliases
      * Create :file:`src/semver/version.py` to hold the :class:`VersionInfo` class and its utility functions
      * Create :file:`src/semver/__about__.py` for all the metadata variables
    * Adapt infrastructure code to the new project layout.
      * Replace :file:`setup.py` with :file:`setup.cfg` because the :file:`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.
    * Change path for docformatter and run it.
    * Remove pyi inclusion from black sine we aren't using them
    * Split up changelog to make more sense.
    * Add documentation for Version rename
    * Increase coverage to 100% in non-deprecated parts.
    * Update changelog.d/169.feature.rst
    
    Co-authored-by: Thomas Laferriere <[email protected]>
    Co-authored-by: Tom Schraitle <[email protected]>
    tlaferriere and tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    b0f854d View commit details
    Browse the repository at this point in the history
  2. Support PEP-561 py.typed

    Acoording 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.
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    2123413 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d1cf906 View commit details
    Browse the repository at this point in the history
  4. Distinguish between changlog for version 2 and 3

    Split changelog entries into semver 3 (new) and semver 2 (old).
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    edfbbe9 View commit details
    Browse the repository at this point in the history
  5. Document migration from semver2 to semver3

    Create a separate file to describe how to migrate to new
    semver3.
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    bb2cb90 View commit details
    Browse the repository at this point in the history
  6. Improve API documentation

    * Use sphinx-apidoc to build API documentation
    * Amend tox.ini and call sphinx-apidoc
    * Remove old autosummary; it turned out it was difficult to
      configure and returned warning messages which were hard to fix.
    * Add semver version in footer
    * Add semver.__about__ to API doc
      * Unorthodox solution with sed
      * Remove obsolete config variables in docs/config.py
      * Add docs/_api/semver.__about__.rst as a placeholder
    * Add changelog.d/304.doc.rst
    
    (An old attempt was to use autosummary from https://stackoverflow.com/a/62613202;
    however, that didn't work quite well.)
    
    Co-authored-by: Tom Schraitle <[email protected]>
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    7d00884 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #306 from tomschr/feature/169-package

    Create semver package
    tomschr authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    ff07c90 View commit details
    Browse the repository at this point in the history
  8. Create 3.0.0-dev.2

    * Build changelog from news files
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    8b22c6f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5d192da View commit details
    Browse the repository at this point in the history
  10. Use literal strings in setup.cfg

    Due to https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html#metadata
    we cannot use the "attr:" type in the keywords author, author_email, maintainer,
    description, and maintainer_email.
    
    If we do not change it to literal strings, twine (or PyPI) complains about the metadata
    with the following error:
    
    HTTPError: 400 Client Error: 'attr: semver.__about__.__author_email__' is an invalid value for
    Author-email.
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    6a5ba32 View commit details
    Browse the repository at this point in the history
  11. Merge pull request #307 from tomschr/release/3.0.0-dev.2

    Create 3.0.0-dev.2
    tomschr authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    e7558a9 View commit details
    Browse the repository at this point in the history
  12. Add CONTRIBUTING.rst in root folder

    Make link in docs/development.rst
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    f0ed470 View commit details
    Browse the repository at this point in the history
  13. Correct CONTRIBUTING text

    * Remove old occurances of Python 2.7
    * Correct wrong single test for tox
    * Use better example
    * Use references to black, flake8, mypy, and docformatter
    tomschr committed Nov 1, 2020
    Configuration menu
    Copy the full SHA
    42bf3e2 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #308 from tomschr/feature/contribution

    Add CONTRIBUTING.rst
    tomschr authored Nov 1, 2020
    Configuration menu
    Copy the full SHA
    02418ce View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. Fix #310: Correct API documentation

    * Remove all automatic generation and use a more
      "semi-manual" approach (gives more control)
    * Improve docstrings in semver module
    * Remove docstrings in some dunder methods; Sphinx
      and autodoc uses the docstring from the parent class
    * Remove sphinx-apidoc command from :file:`tox.ini`
    tomschr committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    dcdcd2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ff204d7 View commit details
    Browse the repository at this point in the history
  3. Tox: skip installation for changelog target

    We only need to install towncrier, but it is not needed
    to install semver too. Therefor, skip the installation
    of semver.
    tomschr committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    a6a8115 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    40c26e5 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #313 from tomschr/feature/tox-changelog

    Tox: skip installation for changelog target
    tomschr authored Nov 3, 2020
    Configuration menu
    Copy the full SHA
    cd0f04c View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. Merge pull request #311 from tomschr/bugfix/310-api-doc

    Fix #310: Correct API documentation
    tomschr authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    073e314 View commit details
    Browse the repository at this point in the history
  2. Fix #312: Rework Usage section

    * Correct :class: directive and use :class:`~semver.version.Version`
    * Mention the rename of VersionInfo -> Version class
    * Remove semver. prefix in doctests to make examples shorter
    * Correct some references to dunder methods like __getitem__, __gt__ etc.
    * Use :py:exec: reference to Python exceptions.
    * Remove inconsistencies and mention module level function as
      deprecated and discouraged from using
    * Make empty super() call in semverwithvprefix.py example
    * Add changelog.d file
    tomschr committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    a8dd4ea View commit details
    Browse the repository at this point in the history
  3. Merge pull request #314 from tomschr/bugfix/312-usage-doc

    Improve usage section
    tomschr authored Nov 4, 2020
    Configuration menu
    Copy the full SHA
    44708ef View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2020

  1. Fix #316: Return NotImplemented for comparisons

    The former code raised a TypeError exception for comparisons
    like __gt__, __lt__ etc. to indicate a wrong type.
    
    However, according to NotImplemented[1] documentation,
    we should return(!) NotImplemented (not raise) when a
    comparison with an invalid type is not implemented.
    
    [1] https://docs.python.org/3/library/constants.html#NotImplemented
    tomschr committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    6793320 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #318 from tomschr/bugfix/316-notimplemented

    Fix #316: Return NotImplemented for comparisons
    tomschr authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    c75737d View commit details
    Browse the repository at this point in the history
  3. 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.
    tomschr committed Nov 8, 2020
    Configuration menu
    Copy the full SHA
    3031da4 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #319 from tomschr/feature/travis-stages

    Introduce stages in .travis.yml
    tomschr authored Nov 8, 2020
    Configuration menu
    Copy the full SHA
    dc1e110 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. Fix #309: Make some functions private

    Make private function in semver.version module:
    
    * Rename comparator -> _comparator, cmp -> _cmp
    * Remove ensure_str and integrate it into Version.parse
    * Rework tests in test_typeerror-274.py
    * Move _nat_cmp to Version and make it a class method
    * Remove private functions from API documentation
    tomschr committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    201d783 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #320 from tomschr/feature/309-private-functions

    Fix #309: Make some functions private
    tomschr authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    13ad4ab View commit details
    Browse the repository at this point in the history
  3. Fix #181: create issue templates

    Create GitHub issue templates for bugs and features.
    tomschr committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    2818cdb View commit details
    Browse the repository at this point in the history
  4. Merge pull request #321 from python-semver/feature/181-gh-issue-templ…

    …ates
    
    Create issue templates
    tomschr authored Nov 10, 2020
    Configuration menu
    Copy the full SHA
    608ce3c View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. Fix #322: Implement GitHub Action

    * Add "gh-action" section in tox.ini
    * Add .github/workflows/python-testing.yml
    * Use dependent jobs; first start check, then tests jobs
    * Add changelog
    * Remove black-formatting.yml
    * Remove .travis.yml
    tomschr committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    aa58f62 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Merge pull request #323 from tomschr/feature/322-gh-action

    Fix #322: Implement GitHub Action
    tomschr authored Nov 12, 2020
    Configuration menu
    Copy the full SHA
    2d8197a View commit details
    Browse the repository at this point in the history
  2. Add Gitter badge to README

    tomschr committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    3a58a65 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #324 from tomschr/feature/gitter-in-readme

    Add Gitter badge to README
    tomschr authored Nov 12, 2020
    Configuration menu
    Copy the full SHA
    79ca600 View commit details
    Browse the repository at this point in the history
  4. Improve batches in README

    * Add batch for isitmaintained.com
    * Add batch for GitHub Action
    tomschr committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    d3d7b22 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #325 from tomschr/feature/readme-batches

    Improve batches in README
    tomschr authored Nov 12, 2020
    Configuration menu
    Copy the full SHA
    f509b74 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2020

  1. Clean changelog

    remove double entries
    tomschr committed Nov 21, 2020
    Configuration menu
    Copy the full SHA
    4eb6fa6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #326 from tomschr/bugfix/clean-changelog

    Clean changelog
    tomschr authored Nov 21, 2020
    Configuration menu
    Copy the full SHA
    453d154 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2020

  1. Configuration menu
    Copy the full SHA
    bc3f96a View commit details
    Browse the repository at this point in the history
  2. Change README (Gitter -> GH Discussions)

    * Remove Gitter badge
    * Add GitHub Discussions badge
    tomschr committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    07cacb5 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #331 from tomschr/feature/add-gh-discussions

    Add badge to GitHub Discussion
    tomschr authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    b5d8f78 View commit details
    Browse the repository at this point in the history
  4. Create dependabot.yml

    tomschr authored Dec 11, 2020
    Configuration menu
    Copy the full SHA
    1986860 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2020

  1. Add config.yml for GitHub issues

    Configure the template chooser and provide some additional information.
    tomschr committed Dec 17, 2020
    Configuration menu
    Copy the full SHA
    e7b0c08 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #333 from tomschr/feature/issues-config.yml

    Add config.yml for GitHub issues
    tomschr authored Dec 17, 2020
    Configuration menu
    Copy the full SHA
    d81b8af View commit details
    Browse the repository at this point in the history
  3. Merge pull request #332 from python-semver/feature/dependabot

    Create dependabot.yml
    tomschr authored Dec 17, 2020
    Configuration menu
    Copy the full SHA
    acb0fea View commit details
    Browse the repository at this point in the history
  4. Create codeql-analysis.yml

    tomschr authored Dec 17, 2020
    Configuration menu
    Copy the full SHA
    4aff99e View commit details
    Browse the repository at this point in the history
  5. Update codeql-analysis.yml

    tomschr authored Dec 17, 2020
    Configuration menu
    Copy the full SHA
    0db94e6 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #334 from python-semver/feature/code-analysis

    Create codeql-analysis.yml
    Let's just try it if this is useful.
    tomschr authored Dec 17, 2020
    Configuration menu
    Copy the full SHA
    4631fa6 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2021

  1. Configuration menu
    Copy the full SHA
    f74e3a3 View commit details
    Browse the repository at this point in the history
  2. Fix type definition problem

    Define new type "Decorator" for function "deprecated" to
    avoid this mypy error:
    
    src/semver/_deprecated.py:69: error: Incompatible return value type
      (got "Callable[[VarArg(Any), KwArg(Any)], Callable[..., F]]",
       expected "Union[Callable[..., F], partial[Any]]")
    
    Co-authored-by: Thomas Laferriere <[email protected]>
    tomschr and tlaferriere committed Apr 28, 2021
    Configuration menu
    Copy the full SHA
    0398baa View commit details
    Browse the repository at this point in the history
  3. Merge pull request #337 from mzjp2/fix/doc-max-suggestion

    Improve suggestion for finding max and min using semver
    tomschr authored Apr 28, 2021
    Configuration menu
    Copy the full SHA
    e93b6de View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. Start supporting Python 3.10

    tomschr committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    4d2df08 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Merge pull request #347 from python-semver/feature/tests-for-py310

    Start supporting Python 3.10
    tomschr authored Jan 11, 2022
    Configuration menu
    Copy the full SHA
    dd8f5f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2022

  1. Fix #315: Create 3.0.0-dev.3

    * Improve entries for PyPI in setup.cfg
      * Remove key "download_url" as it points to a broken URL
      * Add Changelog entry pointing to RTD
    * Raise version to 3.0.0-dev.3
    * Update release procedure
    * Update Black formatter config
      * Replace "exclude" with "extend-exclude"
      * Ignore all *.py files in project's root directory
      * Include "setup.py" explicity
    tomschr committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    221bfba View commit details
    Browse the repository at this point in the history
  2. Update changelog

    tomschr committed Jan 20, 2022
    Configuration menu
    Copy the full SHA
    47f9f34 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #348 from tomschr/release/3.0.0-dev.3

    Release/3.0.0-dev.3
    tomschr authored Jan 20, 2022
    Configuration menu
    Copy the full SHA
    8293ee0 View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Improve release procedure

    * Missing merge step
    * Introduce the subsection "Finish the release"
    tomschr committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    769083c View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2022

  1. Split usage section into different files

    The usage.rst file become quite big and it is hard
    to maintain.
    It's now splitted up into different files in the
    subfolder "usage/". The index.rst collects all these
    files.
    tomschr committed Jan 22, 2022
    Configuration menu
    Copy the full SHA
    098dccf View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2022

  1. Merge pull request #350 from tomschr/feature/docs-put-usage-in-dir

    Restructure usage section
    tomschr authored Jan 23, 2022
    Configuration menu
    Copy the full SHA
    6b6cba8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    68553fe View commit details
    Browse the repository at this point in the history
  3. Introduce new topics for doc

    * Move some files that better fit into an "Advanced topic"
    * Introduce "Migration to semver3" topic
    tomschr committed Jan 23, 2022
    Configuration menu
    Copy the full SHA
    838527b View commit details
    Browse the repository at this point in the history
  4. Merge pull request #351 from tomschr/feature/rework-doc

    Introduce new topics for doc
    tomschr authored Jan 23, 2022
    Configuration menu
    Copy the full SHA
    53f721a View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Describe Pydantic and semver in "Advanced topics"

    Related to issue #343
    
    Co-authored-by: Caleb Stewart <[email protected]>
    tomschr and calebstewart committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    73bd190 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #353 from tomschr/feature/343-pydantic-into-doc

    Describe Pydantic and semver in "Advanced topics"
    tomschr authored Jan 28, 2022
    Configuration menu
    Copy the full SHA
    bafd212 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2022

  1. Describe conversion between PyPI and semver

    Add new section "Converting versions between PyPI and semver"
    the limitations and possible use cases to convert from one
    into the other versioning scheme.
    tomschr committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    0c4985c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #352 from tomschr/feature/335-pypi-to-semver

    Describe conversion between PyPI and semver
    tomschr authored Jan 31, 2022
    Configuration menu
    Copy the full SHA
    54a1af6 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2022

  1. Configuration menu
    Copy the full SHA
    57690e8 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #355 from b0uh/fix/use-https

    Use HTTPS instead of HTTP for the website URL
    tomschr authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    340b4f9 View commit details
    Browse the repository at this point in the history
  3. Add topic to read version from file

    Fix #340
    tomschr committed Feb 24, 2022
    Configuration menu
    Copy the full SHA
    ffe686a View commit details
    Browse the repository at this point in the history
  4. Merge pull request #356 from tomschr/feature/340-doc-version-file-open

    Add topic to read version from file
    tomschr authored Feb 24, 2022
    Configuration menu
    Copy the full SHA
    d063887 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Allow optional minor and patch parts (#359)

    * Change Version.parse to allow optional minor and patch parts
    * Add documentation and changelog entry
    
    Co-authored-by: Tom Schraitle <[email protected]>
    OidaTiftla and tomschr authored May 24, 2022
    Configuration menu
    Copy the full SHA
    2aeb61b View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2022

  1. Support matching 'equal' when no operator is provided (#362)

    * Add tests for new default equality match behavior
    * Change documentation and add changelog
    jmi2k authored Jul 4, 2022
    Configuration menu
    Copy the full SHA
    b5317af View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Fix #365: Improve pyproject.toml

    * Improve pyproject.toml
      * Use setuptools
      * Add metadata
      * Taken approach from
        https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/
    
    * Doc: Describe building of semver
    
    * Correct small glitches
      * Remove .travis.yml in MANIFEST.in (not needed anymore)
      * Distinguish between Python3.6 and others in tox.ini
      * Add skip_missing_interpreters option for tox.ini
    
    * Add changelog entry
    
    * GH Action:
      * Upgrade setuptools and setuptools-scm
      * Also test against 3.11.0-rc.2
    tomschr committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    3eae18c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #361 from tomschr/feature/pyproject.toml

    Fix #365: Improve pyproject.toml
    tomschr authored Oct 4, 2022
    Configuration menu
    Copy the full SHA
    c83c562 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. CI: Update GH Actions

    * Use v3 for some Actions
    * Move to 3.11 instead of RC
    tomschr committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    f7a6eda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98e845c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #366 from tomschr/gha-update

    CI: Update GH Actions
    tomschr authored Nov 10, 2022
    Configuration menu
    Copy the full SHA
    2a3d18d View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. CI: Raise version for GH Actions

    To avoid deprecation warnings, the GitHub workflow
    file is adjusted to newer versions.
    tomschr committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    62a2fef View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2022

  1. Revert "CI: Raise version for GH Actions"

    This reverts commit 62a2fef.
    tomschr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    5d60614 View commit details
    Browse the repository at this point in the history
  2. CI: Raise version for GH Actions

    To avoid deprecation warnings, the GitHub workflow
    file is adjusted to newer versions.
    tomschr committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    90bff70 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #370 from tomschr/update-ci

    Update CI
    tomschr authored Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3ec0131 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2022

  1. Fix #374: Adapt pyproject.tom for Towncrier

    * Replace the old, deprecated ``[[tool.towncrier.type]]`` entries
      with ``[tool.towncrier.fragment.<TYPE>]``.
      Described in https://towncrier.readthedocs.io/en/stable/configuration.html#deprecated-defining-custom-fragment-types-with-an-array-of-toml-tables
    * Add a changelog news file
    
    Co-authored-by: Nagidal <[email protected]>
    tomschr and Nagidal committed Nov 26, 2022
    Configuration menu
    Copy the full SHA
    24e70e9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #375 from tomschr/bugfix/374-towncrier-config

    Fix #374: Adapt pyproject.tom for Towncrier
    tomschr authored Nov 26, 2022
    Configuration menu
    Copy the full SHA
    4cf9d60 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2022

  1. Fix #372: Remove support for Python 3.6

    Python 3.6 reached its end of life and isn't supported anymore.
    At the time of writing (Dec 2022), the lowest version is 3.7.
    tomschr committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    ae716f0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #383 from tomschr/feature/372-rm-python36

    Fix #372:  Remove support for Python 3.6
    tomschr authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    68df773 View commit details
    Browse the repository at this point in the history
  3. Fix #378: Typos in Towncrier config

    Co-authored-by: Nagidal <[email protected]>
    tomschr and Nagidal committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    d8d80fa View commit details
    Browse the repository at this point in the history
  4. Add changelog entry for #372

    tomschr committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    223e027 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #382 from tomschr/bugfix/378-typo-towncrier-config

    Fix #378: Typos in Towncrier config
    tomschr authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    5600d1e View commit details
    Browse the repository at this point in the history
  6. General cleanup, reformat files

    * Reformat source code with black as some config options
      did accidently exclude the semver source code
      Mostly remove some includes/excludes in the black config.
    * Integrate concurrency in GH Action
    * Ignore Python files on project dirs in .gitignore
    * Remove unused patterns in MANIFEST.in
    * Use extend-exclude for flake in setup.cfg and adapt list.
    * Use skip_install=True in tox.ini for black
    tomschr committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    61335e0 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #384 from tomschr/reformat-withblack

    General cleanup, reformat files
    tomschr authored Dec 18, 2022
    Configuration menu
    Copy the full SHA
    7c7a72b View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. Create 3.0.0-dev.4 Release

    * Update CHANGELOG
    * Fix small typos inside changelog.d/
    tomschr committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    89d5423 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #385 from tomschr/release/3.0.0-dev.4

    Create 3.0.0-dev.4 Release
    tomschr authored Dec 19, 2022
    Configuration menu
    Copy the full SHA
    ff34cce View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. tox/pytest: Add testpaths and use importlib

    Switch to the more modern importlib approach as it doesn't
    require to modify sys.path:
    https://docs.pytest.org/en/7.2.x/explanation/pythonpath.html
    tomschr committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    f24a1da View commit details
    Browse the repository at this point in the history
  2. Merge pull request #388 from tomschr/feature/testpaths

    tox/pytest: Add testpaths and use importlib
    tomschr authored Dec 20, 2022
    Configuration menu
    Copy the full SHA
    bf8757a View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2022

  1. Introduce public Version.NAMES class variable

    This class variable contains a tuple of strings that
    contains the names of all attributes of a Version
    (like "major", "minor" etc).
    
    In cases we need to have dynamical values, this
    makes it easier to iterate.
    tomschr committed Dec 23, 2022
    Configuration menu
    Copy the full SHA
    86fcf48 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #389 from tomschr/feature/version.names

    Trivial: Introduce public Version.NAMES class variable
    tomschr authored Dec 23, 2022
    Configuration menu
    Copy the full SHA
    0ca281d View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Fix pydantic/semver example

    The current example, when used with semver 3.0.0.dev4 and pydantic
    1.10.4, produces the following error:
    
      pydantic.errors.ConfigError: Invalid signature for validator <bound
      method Version.parse of <class '__main__.PydanticVersion'>>: (version:
      Union[str, bytes], optional_minor_and_patch: bool = False) ->
      'Version', should be: (value, values, config, field), "values",
      "config" and "field" are all optional.
    
    This commit fixes the example in the documentation so that it works and
    does not raise an error.
    mssalvatore committed Jan 31, 2023
    Configuration menu
    Copy the full SHA
    35da4f6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #392 from mssalvatore/fix-pydantic-semver-example

    Fix pydantic/semver example
    tomschr authored Jan 31, 2023
    Configuration menu
    Copy the full SHA
    2018346 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2023

  1. Fix: All python -m semver commands fail with 'error: invalid choice:'

    This was caused by __main__.py passing `sys.argv` to `cli.main()`,
    which includes the path of the script in `sys.argv[0]`.
    `argparse.ArgumentParser.parse_args()` parses this as the subcommand
    name, causing it to throw an error.
    zanecodes committed Feb 8, 2023
    Configuration menu
    Copy the full SHA
    a5f3a69 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2023

  1. Merge pull request #393 from zanecodes/fix-cli

    Fix: All `python -m semver` commands fail with 'error: invalid choice:'
    tomschr authored Feb 22, 2023
    Configuration menu
    Copy the full SHA
    7e062c8 View commit details
    Browse the repository at this point in the history
  2. Add changelog entry for pr #393

    tomschr committed Feb 22, 2023
    Configuration menu
    Copy the full SHA
    a1604fb View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Fix return type of classmethod parse (#396)

    So that calling parse on a derived class will show correct type of
    derived class
    def- authored Feb 28, 2023
    Configuration menu
    Copy the full SHA
    6176316 View commit details
    Browse the repository at this point in the history
  2. Add changelog entry for PR #396

    tomschr committed Feb 28, 2023
    Configuration menu
    Copy the full SHA
    bee273e View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2023

  1. Fix #284: implement "is_compatible" with method

    * Implement Version.is_compatible() method
    * Update test cases
    * Update documentation
    * Rename isvalid method to is_valid to make it consistent
      with is_compatible
    
    The result is True, if either of the following is true:
    
    * both versions are equal, or
    * both majors are equal and higher than 0. Same for both minors.
      Both pre-releases are equal, or
    * both majors are equal and higher than 0. The minor of b's
      minor version is higher then a's. Both pre-releases are equal.
    
    The algorithm does *not* check patches!
    
    Co-authored-by: Lexi Robinson <[email protected]>
    Co-authored-by: Thomas Laferriere <[email protected]>
    Co-authored-by: Raphael Krupinski <[email protected]>
    4 people committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    5485b6b View commit details
    Browse the repository at this point in the history
  2. Fix #344 Allow empty string for bump methods

    The methods .bump_prerelease() and .bump_build() allow now
    different types for the token argument:
    
    * A string. This was already allowed and default was "rc".
      If the string is empty, we get only the raised number (without
      the "rc" part). The number starts from 1.
    * None. Is the same as calling the method without any argument.
    tomschr committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    f8a182f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #365 from tomschr/feature/344-prerelease-build

    Fix #344 Allow empty string for bump method
    tomschr authored Mar 5, 2023
    Configuration menu
    Copy the full SHA
    a2a6169 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Fix #397: Remove asterisk in python_requires

    The asterisk in "python_requires = >= 3.7.*" make the
    pyproject-build command fail with this exception:
    
     setuptools.extern.packaging.specifiers.InvalidSpecifier: Invalid specifier: '>=3.7.*'
    
    This fix removes the asterisk which leads to a successful build.
    tomschr committed Mar 6, 2023
    Configuration menu
    Copy the full SHA
    67464a7 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2023

  1. Merge pull request #398 from tomschr/bugfix/397-python_requires

    Fix #397: Remove asterisk in python_requires
    tomschr authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    9b475f7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #368 from tomschr/feature/284-compatibility

    Fix #284: implement "is compatible with" method
    tomschr authored Mar 7, 2023
    Configuration menu
    Copy the full SHA
    467ea0c View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2023

  1. Prepare for 3.0.0-rc.1 release

    * Combine all dev releases together in one changelog
    * Remove all changelog.d entries and integrate it into CHANGELOG
    * Move dev releases to file changelog-semver3-devel.rst
    * Split contributing into different sections
    * Some doc polishing; use :meth: consistently for semver.Version methods
    * Fix also some doc bugs
    * Amend list of contributors and sorted alphabetically by lastname
    * Correct docstrings on some deprecated functions
    tomschr committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    45e12ec View commit details
    Browse the repository at this point in the history
  2. Merge pull request #399 from tomschr/release/3.0.0-rc.1

    Prepare for 3.0.0-rc.1 release
    tomschr authored Mar 19, 2023
    Configuration menu
    Copy the full SHA
    7cb958a View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2023

  1. Simplify max_ver and min_ver

    Use max() and min() with argument key=Version.parse
    tomschr committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    c72c50c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #401 from tomschr/min_max_ver

    Simplify max_ver and min_ver. This makes the two functions consistent.
    tomschr authored Apr 2, 2023
    Configuration menu
    Copy the full SHA
    c40b6a4 View commit details
    Browse the repository at this point in the history
  3. Fix #258: Keep semver._deprecated.compare

    Although it breaks consistency with module level functions, it
    seems it's a much needed/used function. Nevertheless it's
    a "deprecated" function.
    
    * Function is also available accessing semver.compare()
    * Decorate semver.compare() as PendingDeprecationWarning
    * Update docstring of semver.compare()
    * Adapt `deprecated` decorator and use enforce keyword arguments
    * Update CHANGELOG.rst
    * Use intersphinx to link to Python exception, use Python
      inventory
    
    It's still unclear if we should deprecate this function or not (that's
    why we use PendingDeprecationWarning).
    As we don't have a uniform initializer yet, this function stays
    in _deprecated.py for the time being until we find a better soltuion.
    
    See #258 for details
    tomschr committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    47b49ca View commit details
    Browse the repository at this point in the history
  4. Merge pull request #402 from tomschr/compare-258

    Fix #258: Keep semver._deprecated.compare
    tomschr authored Apr 2, 2023
    Configuration menu
    Copy the full SHA
    5abeda6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d26cc07 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #403 from tomschr/release/3.0.0

    Build 3.0.0 release of semver
    tomschr authored Apr 2, 2023
    Configuration menu
    Copy the full SHA
    3a7680d View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. Remove incorrect dependencies in pyproject.toml (#405)

    * Remove redundant wheel dep from pyproject.toml
    
       Remove the redundant `wheel` dependency, as it is added by the backend
    automatically.  Listing it explicitly in the documentation was
    a historical mistake and has been fixed since, see:
    pypa/setuptools@f7d30a9
    
    * Add build into deps (prepare-dist)
    
    Co-authored-by: Tom Schraitle <[email protected]>
    mgorny and tomschr authored Apr 3, 2023
    Configuration menu
    Copy the full SHA
    3215a99 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2023

  1. Configuration menu
    Copy the full SHA
    7625129 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #406 from treee111/next_version-docu

    correct typo in function description of `next_version`
    tomschr authored Apr 12, 2023
    Configuration menu
    Copy the full SHA
    fe28d2a View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. Improve GitHub Action

    * Set timeout-minutes ti 15min
    * Add on.push.path on.pull_request.path
    * Raise Python 3.7 -> 3.8
    * Use cache for actions/setup-python@v3
    tomschr committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    100d90b View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Merge pull request #408 from tomschr/gha-improve

    Improve GitHub Action
    tomschr authored Apr 24, 2023
    Configuration menu
    Copy the full SHA
    1e3283a View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Add CITATION.cff for citation

    Benefits:
    * Users of our software can easily cite it using the metadata from
      CITATION.cff
    * GitHub shows the citation information in the sidebar
    * Browser plugins can import the correct reference
    
    Sources:
    * https://citation-file-format.github.io/
    * https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files
    tomschr committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    39bf287 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a8331f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #409 from tomschr/add-citation

    Add CITATION.cff for citation
    tomschr authored Apr 27, 2023
    Configuration menu
    Copy the full SHA
    9227686 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Fix #410 Export all names in __all__ variable

    * Export all semver names in `__all__` variable.
    * Fix linting issues
    Soneji authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    17bc257 View commit details
    Browse the repository at this point in the history
  2. Configure docformatter (#412)

    * Add config options to pyproject.toml
    * Call docformatter without any options in tox.ini
      as they are set in pyproject.toml now
    tomschr authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    90c3484 View commit details
    Browse the repository at this point in the history
  3. Prepare version 3.0.1 (#413)

    * Raise version
    * Ignore exit code from docformatter in checks `tox.ini`
    * Correct typo in release-procedure.md
    * Update CHANGELOG.rst
    tomschr authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    c268060 View commit details
    Browse the repository at this point in the history
  4. Fix minor issue in release-procedure.md

    Wrap commands in triple-backticks
    tomschr authored Jun 14, 2023
    Configuration menu
    Copy the full SHA
    dcda256 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Create SUPPORT.md

    tomschr authored Jun 15, 2023
    Configuration menu
    Copy the full SHA
    72bf1c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. GHA: Use matrix to test MacOS too

    Related to issue #416
    tomschr committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    ca1fcd9 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #417 from tomschr/gha-test-matrix

    GHA: Use matrix to test MacOS too
    tomschr authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    39774df View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2023

  1. Return dict instead of OrderedDict (#419)

    dict is guaranteed to preserve order in all supported versions
    dschwoerer authored Jul 12, 2023
    Configuration menu
    Copy the full SHA
    655a7d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2023

  1. Configuration menu
    Copy the full SHA
    50532e7 View commit details
    Browse the repository at this point in the history
  2. Introduce ClassVar type

    Use it for class variables NAMES, _LAST_NUMBER, _REGEX_TEMPLATE,
    _REGEX, and _REGEX_OPTIONAL_MINOR_AND_PATCH.
    tomschr committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    6a90bd3 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #420 from python-semver/classvar

    Introduce ClassVar type
    tomschr authored Jul 23, 2023
    Configuration menu
    Copy the full SHA
    fda2873 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b332b0 View commit details
    Browse the repository at this point in the history
  5. Insert mypy config into pyproject.toml

    Insert mypy configuration into pyproject.toml and remove
    config options from tox.ini.
    tomschr committed Jul 23, 2023
    Configuration menu
    Copy the full SHA
    96d3095 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #421 from python-semver/mypy-to-pyproject.toml

    Add mypy config to pyproject.toml
    tomschr authored Jul 23, 2023
    Configuration menu
    Copy the full SHA
    8fe4ef6 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    2ae1a21 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2023

  1. Merge pull request #423 from tomschr/422-doc-pydantic

    Fix #422: Update advanced topic about Pydantic v2
    tomschr authored Sep 16, 2023
    Configuration menu
    Copy the full SHA
    757ada6 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Fix #426: call subclass when deriving from Version

    When using the replace method, an instance of the Version class
    is created and not the respective subclass.
    
    Co-authored-by: Danny Staple <[email protected]>
    tomschr and dannystaple committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    4b03f86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2dda51c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #427 from tomschr/fix-426-match-derivedclass

    Fix #426: call subclass when deriving from Version
    tomschr authored Sep 29, 2023
    Configuration menu
    Copy the full SHA
    c5c779a View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Only run GHA if project files are modified

    There is no need to run the test suite when docs files are modified.
    tomschr committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    8ac99bd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #428 from tomschr/gh-succeed-if-no-py

    GH Action: Don't block when only doc files are modified
    tomschr authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    0b3d9fa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1aad4ad View commit details
    Browse the repository at this point in the history
  4. Merge pull request #425 from tomschr/docs-1

    Improve documentation wording & consistency
    tomschr authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    1f08632 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    a951c8a View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Merge pull request #430 from apiwat-chantawibul/fix-semver-pydantic-s…

    …erialization
    
    Fix #429: bug on serialization to json
    tomschr authored Oct 7, 2023
    Configuration menu
    Copy the full SHA
    bd313ed View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Configuration menu
    Copy the full SHA
    9391f8a View commit details
    Browse the repository at this point in the history
  2. Clarify version policy for semver

    Integrate additional topic that describes an high level overview
    about semver v2, v3, and v3 and beyond.
    
    Also revise section about "Release Policy" which is related. First
    mention semver3 and use semver2 later.
    tomschr committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    083b592 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #431 from tomschr/version-policy

    Clarify version policy for semver
    tomschr authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    9a98394 View commit details
    Browse the repository at this point in the history
  4. Improve external docs with intersphinx extension

    * Downloads the inventories for Python and Pydantic
    * Use the correct :ref: syntax ("INVENTORY_NAME:OBJECT")
    tomschr committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    23e0e73 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #432 from tomschr/improve-intersphinx

    Improve external docs with intersphinx extension
    tomschr authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    c534e3f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fb02b3b View commit details
    Browse the repository at this point in the history
  7. Merge pull request #433 from tomschr/release/3.0.2

    Build 3.0.2 release of semver
    tomschr authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    2154ce7 View commit details
    Browse the repository at this point in the history
  8. Correct some smaller issues when building

    * Remove :ref: in README.rst
    * Add tool.setuptools_scm section in pyproject.toml
    tomschr committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    f65feab View commit details
    Browse the repository at this point in the history
  9. Add missing .readthedocs.yaml

    According to [1], the .readthedocs.yaml configuration file
    is now required. The last builds have failed.
    
    [1] https://blog.readthedocs.com/migrate-configuration-v2/
    tomschr committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ec9348a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    03fb990 View commit details
    Browse the repository at this point in the history
  11. Use canonicals on ReadTheDocs

    If environment variable READTHEDOCS_CANONICAL_URL is
    definied, set html_baseurl variable so Sphinx can
    grab it.
    tomschr committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    87f639f View commit details
    Browse the repository at this point in the history
  12. Use meta directive for SEO

    tomschr committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ca41533 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #435 from tomschr/doc-improvements

    Use meta directive for SEO
    tomschr authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    b2311cc View commit details
    Browse the repository at this point in the history
  14. Move search box more at the top

    This makes it easier for users as if the TOC is long,
    the search box isn't visible anymore.
    tomschr committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    254e7c5 View commit details
    Browse the repository at this point in the history
  15. Merge pull request #436 from tomschr/docs-searchbox

    Move search box more at the top
    tomschr authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    68d19f5 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Replace organization placeholder in LICENSE

    Found by @tpoliaw in #438
    tomschr committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    c47774d View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Ignore venv*/.venv*

    tomschr committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    d974788 View commit details
    Browse the repository at this point in the history
  2. GHA: Change Python and CodeQL

    Python workflow:
     * Exclude 3.7 on macos-latest
     * Use actions/checkout@v4 (migrated from @V3)
     * Enable Python 3.12, use action/setup-python@v5
     * Use newer syntax of "tox run ..."
    
    CodeQL workflow:
    * Update to latest version @V3
    * Not be triggered in master, but in release/* branches
    tomschr committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    4cb269d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dec7f63 View commit details
    Browse the repository at this point in the history
  4. Format with black

    tomschr committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    97676c8 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #440 from python-semver/fix-workflow

    Fix workflow
    tomschr authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    7a950aa View commit details
    Browse the repository at this point in the history
  6. Improve type hints to fix TODOs

    waketzheng authored and tomschr committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    9593ad0 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #439 from waketzheng/master

    Improve type hints to fix TODOs
    tomschr authored Jul 16, 2024
    Configuration menu
    Copy the full SHA
    4815626 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    2072a68 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #446 from tomschr/gha-add-python313

    Gha add python313
    tomschr authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    5dae7b6 View commit details
    Browse the repository at this point in the history
  3. Improve private _nat_cmp() method

    * Remove obsolete else
    * Find a better way to identify digits without the re module
    * Fix docstring in compare
    tomschr committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    0f30183 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #445 from tomschr/improve_nat_cmp

    Improve private _nat_cmp() method
    tomschr authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    8daa571 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

  1. Modernize project configs with uv & pyproject.toml

    * Raise version to 3.0.3-alpha.1
    * In pyproject.toml:
      - Use new dependency group from PEP 735
      - Move all project related data from setup.cfg to pyproject.toml
      - Consolidate flake8, pycodestyle with ruff
      - Split Towncrier config type "trivial" into "trivial" and
        "internal"
    * Add uv's lock file (uv.lock)
    * Create config file for ruff (.ruff.toml)
    * Create config file for pytest (.pytest.ini)
    * Simplify tox.ini and remove old stuff
    * Document installation with new uv command
    * Simplify Sphinx config with find_version()
    * Update the authors
    * Use uv in GitHub Action python-testing.yml workflow
    tomschr committed Nov 4, 2024
    Configuration menu
    Copy the full SHA
    6208a54 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #447 from tomschr/modernize-project

    Modernize project configs with pyproject.toml
    tomschr authored Nov 4, 2024
    Configuration menu
    Copy the full SHA
    37e80d7 View commit details
    Browse the repository at this point in the history