-
Notifications
You must be signed in to change notification settings - Fork 5
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
base: master
Are you sure you want to change the base?
Commits on Nov 25, 2019
-
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)
Configuration menu - View commit details
-
Copy full SHA for dfc2270 - Browse repository at this point
Copy the full SHA dfc2270View commit details -
Fix #203: Use --check option for black (infra) (#204)
* Remove uploading the diff file as artifact * Use `--check` to test our source code
Configuration menu - View commit details
-
Copy full SHA for 8169c12 - Browse repository at this point
Copy the full SHA 8169c12View commit details
Commits on Dec 7, 2019
-
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
Configuration menu - View commit details
-
Copy full SHA for 63b9163 - Browse repository at this point
Copy the full SHA 63b9163View commit details -
Configuration menu - View commit details
-
Copy full SHA for 445f47a - Browse repository at this point
Copy the full SHA 445f47aView commit details
Commits on Dec 10, 2019
-
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`
Configuration menu - View commit details
-
Copy full SHA for f2c23f6 - Browse repository at this point
Copy the full SHA f2c23f6View commit details
Commits on Jan 19, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 177f080 - Browse repository at this point
Copy the full SHA 177f080View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 5755f9a - Browse repository at this point
Copy the full SHA 5755f9aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for b5ccad6 - Browse repository at this point
Copy the full SHA b5ccad6View commit details
Commits on Feb 16, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 3f92aa5 - Browse repository at this point
Copy the full SHA 3f92aa5View commit details
Commits on Feb 29, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 6878916 - Browse repository at this point
Copy the full SHA 6878916View commit details
Commits on Mar 15, 2020
-
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`
Configuration menu - View commit details
-
Copy full SHA for 6669ba0 - Browse repository at this point
Copy the full SHA 6669ba0View commit details
Commits on Mar 16, 2020
-
Merge pull request #228 from tomschr/feature/integrate-doctests
Add better doctest integration into pytest
Configuration menu - View commit details
-
Copy full SHA for 158f19f - Browse repository at this point
Copy the full SHA 158f19fView commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 1e6a251 - Browse repository at this point
Copy the full SHA 1e6a251View commit details
Commits on Mar 19, 2020
-
Merge pull request #230 from tomschr/feature/minor-fix4docs
Add version information in some functions
Configuration menu - View commit details
-
Copy full SHA for 34f038d - Browse repository at this point
Copy the full SHA 34f038dView commit details
Commits on Apr 14, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 5b8bb16 - Browse repository at this point
Copy the full SHA 5b8bb16View commit details
Commits on Apr 16, 2020
-
Merge pull request #229 from tomschr/feature/deprecationwarning
Deprecate module level functions
Configuration menu - View commit details
-
Copy full SHA for c9b2a7f - Browse repository at this point
Copy the full SHA c9b2a7fView commit details
Commits on Apr 19, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for b145931 - Browse repository at this point
Copy the full SHA b145931View commit details
Commits on Apr 20, 2020
-
Merge pull request #235 from tomschr/feature/doc-focus-on-versioninfo
Shift focus on semver.VersionInfo.* functions
Configuration menu - View commit details
-
Copy full SHA for 9691b41 - Browse repository at this point
Copy the full SHA 9691b41View commit details
Commits on Apr 21, 2020
-
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`
Configuration menu - View commit details
-
Copy full SHA for 14cd842 - Browse repository at this point
Copy the full SHA 14cd842View commit details -
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)
Configuration menu - View commit details
-
Copy full SHA for 4482f8c - Browse repository at this point
Copy the full SHA 4482f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c8fc74 - Browse repository at this point
Copy the full SHA 1c8fc74View commit details
Commits on Apr 23, 2020
-
Merge pull request #239 from tomschr/bugfix/236-deprecate-others
Fix #236: add missing deprecated functions
Configuration menu - View commit details
-
Copy full SHA for d69e7c4 - Browse repository at this point
Copy the full SHA d69e7c4View commit details
Commits on Apr 26, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for ec6588e - Browse repository at this point
Copy the full SHA ec6588eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 7057dc5 - Browse repository at this point
Copy the full SHA 7057dc5View commit details
Commits on Apr 27, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 5b04960 - Browse repository at this point
Copy the full SHA 5b04960View commit details
Commits on May 1, 2020
-
Merge pull request #222 from tomschr/feature/221-bump-prerelease-and-…
…build First implementation of next_version
Configuration menu - View commit details
-
Copy full SHA for 8d4336e - Browse repository at this point
Copy the full SHA 8d4336eView commit details -
Merge pull request #243 from tomschr/feature/138-add-__getitem__
Implement __getitem__ for #138
Configuration menu - View commit details
-
Copy full SHA for 2ef2eea - Browse repository at this point
Copy the full SHA 2ef2eeaView commit details
Commits on May 5, 2020
-
Merge pull request #245 from tomschr/bugfix/244-missing-list-and-str
Fix #244: Allow list & str for comparison
Configuration menu - View commit details
-
Copy full SHA for 22ff5af - Browse repository at this point
Copy the full SHA 22ff5afView commit details -
* 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"
Configuration menu - View commit details
-
Copy full SHA for 1ff9360 - Browse repository at this point
Copy the full SHA 1ff9360View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f5423 - Browse repository at this point
Copy the full SHA 25f5423View commit details
Commits on May 10, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 8697b8e - Browse repository at this point
Copy the full SHA 8697b8eView commit details -
Merge pull request #242 from tomschr/feature/__all__
Add __all__ to provide explict index of semver
Configuration menu - View commit details
-
Copy full SHA for 6e7291b - Browse repository at this point
Copy the full SHA 6e7291bView commit details
Commits on May 11, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 230d61a - Browse repository at this point
Copy the full SHA 230d61aView commit details -
Merge pull request #250 from tomschr/feature/doc-install
Simplify openSUSE installation with obs://
Configuration menu - View commit details
-
Copy full SHA for cf18005 - Browse repository at this point
Copy the full SHA cf18005View commit details
Commits on May 13, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for f55559a - Browse repository at this point
Copy the full SHA f55559aView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 1f0d49b - Browse repository at this point
Copy the full SHA 1f0d49bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 028f6b1 - Browse repository at this point
Copy the full SHA 028f6b1View commit details -
* Use VersionInfo instead of semver.VersionInfo * Change order. Deprecation notice should come first in docstring
Configuration menu - View commit details
-
Copy full SHA for cfcbec7 - Browse repository at this point
Copy the full SHA cfcbec7View commit details -
Merge pull request #249 from tomschr/feature/doc-release-policy
Doc: Add version rule to avoid surpises
Configuration menu - View commit details
-
Copy full SHA for 0733da7 - Browse repository at this point
Copy the full SHA 0733da7View commit details -
Merge pull request #256 from tomschr/feature/docstring-consistency
Make docstrings consistent
Configuration menu - View commit details
-
Copy full SHA for f264183 - Browse repository at this point
Copy the full SHA f264183View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 52ba0d6 - Browse repository at this point
Copy the full SHA 52ba0d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69d1cf2 - Browse repository at this point
Copy the full SHA 69d1cf2View commit details
Commits on Jun 10, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for f332326 - Browse repository at this point
Copy the full SHA f332326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fe1bd9 - Browse repository at this point
Copy the full SHA 7fe1bd9View commit details -
Merge pull request #263 from tomschr/bugfix/doc-missing-install
Doc: Add missing "install" for openSUSE
Configuration menu - View commit details
-
Copy full SHA for e8b388d - Browse repository at this point
Copy the full SHA e8b388dView commit details
Commits on Jun 12, 2020
-
* Increase coverage in VersionInfo.compare * Test __repr__ * Test nextver subcommand * Run black
Configuration menu - View commit details
-
Copy full SHA for 4841d6f - Browse repository at this point
Copy the full SHA 4841d6fView commit details
Commits on Jun 15, 2020
-
Deprecate
max_ver
andmin_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]>
Configuration menu - View commit details
-
Copy full SHA for 772a7a6 - Browse repository at this point
Copy the full SHA 772a7a6View commit details -
* Update CHANGELOG.rst * Raise version number
Configuration menu - View commit details
-
Copy full SHA for af5456f - Browse repository at this point
Copy the full SHA af5456fView commit details -
Merge pull request #272 from tomschr/release/2.10.2
Create 2.10.2 release (#271)
Configuration menu - View commit details
-
Copy full SHA for e2532b2 - Browse repository at this point
Copy the full SHA e2532b2View commit details
Commits on Jul 22, 2020
-
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.
Configuration menu - View commit details
-
Copy full SHA for 9088f50 - Browse repository at this point
Copy the full SHA 9088f50View commit details -
Merge pull request #278 from tomschr/feature/doc-contrib
Doc: Mention Sphinx directive for docstrings
Configuration menu - View commit details
-
Copy full SHA for 3689e27 - Browse repository at this point
Copy the full SHA 3689e27View commit details
Commits on Oct 16, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 9332d92 - Browse repository at this point
Copy the full SHA 9332d92View commit details -
Configuration menu - View commit details
-
Copy full SHA for db870f2 - Browse repository at this point
Copy the full SHA db870f2View commit details
Commits on Oct 17, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 20e5c4f - Browse repository at this point
Copy the full SHA 20e5c4fView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd110f1 - Browse repository at this point
Copy the full SHA dd110f1View commit details
Commits on Oct 19, 2020
-
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, ..."
Configuration menu - View commit details
-
Copy full SHA for 0309c63 - Browse repository at this point
Copy the full SHA 0309c63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49229d9 - Browse repository at this point
Copy the full SHA 49229d9View commit details
Commits on Oct 20, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for db55f27 - Browse repository at this point
Copy the full SHA db55f27View commit details -
Document how to create subclass from VersionInfo (#287)
Related to issue #276
Configuration menu - View commit details
-
Copy full SHA for 90bf1be - Browse repository at this point
Copy the full SHA 90bf1beView commit details -
Prepare 2.13.0 release (#295) (#295)
* #283: Ensure equal versions have equal hashes * Update list of contributors
Configuration menu - View commit details
-
Copy full SHA for 4090b94 - Browse repository at this point
Copy the full SHA 4090b94View commit details
Commits on Oct 25, 2020
-
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]>
Configuration menu - View commit details
-
Copy full SHA for fc92fb4 - Browse repository at this point
Copy the full SHA fc92fb4View commit details -
Completely revamp file. Mostly update from gh://github/gitignore/ and integrate: * Python * Global/Kate * Global/Vim * Global/VisualStudio * Global/JetBrains
Configuration menu - View commit details
-
Copy full SHA for fe64de2 - Browse repository at this point
Copy the full SHA fe64de2View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 24bcdfd - Browse repository at this point
Copy the full SHA 24bcdfdView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for cbd4335 - Browse repository at this point
Copy the full SHA cbd4335View commit details
Commits on Oct 26, 2020
-
Merge pull request #290 from tomschr/feature/3.0.0-alpha0
Fix #176: Create semver 3.0.0-dev.1
Configuration menu - View commit details
-
Copy full SHA for 5e02f12 - Browse repository at this point
Copy the full SHA 5e02f12View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae8a961 - Browse repository at this point
Copy the full SHA ae8a961View commit details -
Merge pull request #298 from tomschr/feature/fix-rtd-1
Doc: Disable sphinx-argparse
Configuration menu - View commit details
-
Copy full SHA for 1930e3e - Browse repository at this point
Copy the full SHA 1930e3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a91525 - Browse repository at this point
Copy the full SHA 8a91525View commit details -
Merge pull request #300 from tlaferriere/297-fix-docs
Remove sphinx from requirements.txt
Configuration menu - View commit details
-
Copy full SHA for b3f53b4 - Browse repository at this point
Copy the full SHA b3f53b4View commit details -
* Update CHANGELOG * Make the Quickstart the main page of semver doc. It's a bit friendlier than having a sterile table of contents.
Configuration menu - View commit details
-
Copy full SHA for 1dab57f - Browse repository at this point
Copy the full SHA 1dab57fView commit details -
Merge pull request #301 from tomschr/release/3.0.0-dev.1
Create 3.0.0-dev.1 Release
Configuration menu - View commit details
-
Copy full SHA for ddf2b30 - Browse repository at this point
Copy the full SHA ddf2b30View commit details
Commits on Nov 1, 2020
-
* 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]>
Configuration menu - View commit details
-
Copy full SHA for b0f854d - Browse repository at this point
Copy the full SHA b0f854dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 2123413 - Browse repository at this point
Copy the full SHA 2123413View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1cf906 - Browse repository at this point
Copy the full SHA d1cf906View commit details -
Distinguish between changlog for version 2 and 3
Split changelog entries into semver 3 (new) and semver 2 (old).
Configuration menu - View commit details
-
Copy full SHA for edfbbe9 - Browse repository at this point
Copy the full SHA edfbbe9View commit details -
Document migration from semver2 to semver3
Create a separate file to describe how to migrate to new semver3.
Configuration menu - View commit details
-
Copy full SHA for bb2cb90 - Browse repository at this point
Copy the full SHA bb2cb90View commit details -
* 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]>
Configuration menu - View commit details
-
Copy full SHA for 7d00884 - Browse repository at this point
Copy the full SHA 7d00884View commit details -
Merge pull request #306 from tomschr/feature/169-package
Create semver package
Configuration menu - View commit details
-
Copy full SHA for ff07c90 - Browse repository at this point
Copy the full SHA ff07c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b22c6f - Browse repository at this point
Copy the full SHA 8b22c6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d192da - Browse repository at this point
Copy the full SHA 5d192daView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 6a5ba32 - Browse repository at this point
Copy the full SHA 6a5ba32View commit details -
Merge pull request #307 from tomschr/release/3.0.0-dev.2
Create 3.0.0-dev.2
Configuration menu - View commit details
-
Copy full SHA for e7558a9 - Browse repository at this point
Copy the full SHA e7558a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0ed470 - Browse repository at this point
Copy the full SHA f0ed470View commit details -
* Remove old occurances of Python 2.7 * Correct wrong single test for tox * Use better example * Use references to black, flake8, mypy, and docformatter
Configuration menu - View commit details
-
Copy full SHA for 42bf3e2 - Browse repository at this point
Copy the full SHA 42bf3e2View commit details -
Merge pull request #308 from tomschr/feature/contribution
Add CONTRIBUTING.rst
Configuration menu - View commit details
-
Copy full SHA for 02418ce - Browse repository at this point
Copy the full SHA 02418ceView commit details
Commits on Nov 3, 2020
-
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`
Configuration menu - View commit details
-
Copy full SHA for dcdcd2a - Browse repository at this point
Copy the full SHA dcdcd2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff204d7 - Browse repository at this point
Copy the full SHA ff204d7View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a6a8115 - Browse repository at this point
Copy the full SHA a6a8115View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40c26e5 - Browse repository at this point
Copy the full SHA 40c26e5View commit details -
Merge pull request #313 from tomschr/feature/tox-changelog
Tox: skip installation for changelog target
Configuration menu - View commit details
-
Copy full SHA for cd0f04c - Browse repository at this point
Copy the full SHA cd0f04cView commit details
Commits on Nov 4, 2020
-
Merge pull request #311 from tomschr/bugfix/310-api-doc
Fix #310: Correct API documentation
Configuration menu - View commit details
-
Copy full SHA for 073e314 - Browse repository at this point
Copy the full SHA 073e314View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a8dd4ea - Browse repository at this point
Copy the full SHA a8dd4eaView commit details -
Merge pull request #314 from tomschr/bugfix/312-usage-doc
Improve usage section
Configuration menu - View commit details
-
Copy full SHA for 44708ef - Browse repository at this point
Copy the full SHA 44708efView commit details
Commits on Nov 8, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 6793320 - Browse repository at this point
Copy the full SHA 6793320View commit details -
Merge pull request #318 from tomschr/bugfix/316-notimplemented
Fix #316: Return NotImplemented for comparisons
Configuration menu - View commit details
-
Copy full SHA for c75737d - Browse repository at this point
Copy the full SHA c75737dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3031da4 - Browse repository at this point
Copy the full SHA 3031da4View commit details -
Merge pull request #319 from tomschr/feature/travis-stages
Introduce stages in .travis.yml
Configuration menu - View commit details
-
Copy full SHA for dc1e110 - Browse repository at this point
Copy the full SHA dc1e110View commit details
Commits on Nov 10, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for 201d783 - Browse repository at this point
Copy the full SHA 201d783View commit details -
Merge pull request #320 from tomschr/feature/309-private-functions
Fix #309: Make some functions private
Configuration menu - View commit details
-
Copy full SHA for 13ad4ab - Browse repository at this point
Copy the full SHA 13ad4abView commit details -
Fix #181: create issue templates
Create GitHub issue templates for bugs and features.
Configuration menu - View commit details
-
Copy full SHA for 2818cdb - Browse repository at this point
Copy the full SHA 2818cdbView commit details -
Merge pull request #321 from python-semver/feature/181-gh-issue-templ…
…ates Create issue templates
Configuration menu - View commit details
-
Copy full SHA for 608ce3c - Browse repository at this point
Copy the full SHA 608ce3cView commit details
Commits on Nov 11, 2020
-
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
Configuration menu - View commit details
-
Copy full SHA for aa58f62 - Browse repository at this point
Copy the full SHA aa58f62View commit details
Commits on Nov 12, 2020
-
Merge pull request #323 from tomschr/feature/322-gh-action
Fix #322: Implement GitHub Action
Configuration menu - View commit details
-
Copy full SHA for 2d8197a - Browse repository at this point
Copy the full SHA 2d8197aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a58a65 - Browse repository at this point
Copy the full SHA 3a58a65View commit details -
Merge pull request #324 from tomschr/feature/gitter-in-readme
Add Gitter badge to README
Configuration menu - View commit details
-
Copy full SHA for 79ca600 - Browse repository at this point
Copy the full SHA 79ca600View commit details -
* Add batch for isitmaintained.com * Add batch for GitHub Action
Configuration menu - View commit details
-
Copy full SHA for d3d7b22 - Browse repository at this point
Copy the full SHA d3d7b22View commit details -
Merge pull request #325 from tomschr/feature/readme-batches
Improve batches in README
Configuration menu - View commit details
-
Copy full SHA for f509b74 - Browse repository at this point
Copy the full SHA f509b74View commit details
Commits on Nov 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 4eb6fa6 - Browse repository at this point
Copy the full SHA 4eb6fa6View commit details -
Merge pull request #326 from tomschr/bugfix/clean-changelog
Clean changelog
Configuration menu - View commit details
-
Copy full SHA for 453d154 - Browse repository at this point
Copy the full SHA 453d154View commit details
Commits on Dec 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for bc3f96a - Browse repository at this point
Copy the full SHA bc3f96aView commit details -
Change README (Gitter -> GH Discussions)
* Remove Gitter badge * Add GitHub Discussions badge
Configuration menu - View commit details
-
Copy full SHA for 07cacb5 - Browse repository at this point
Copy the full SHA 07cacb5View commit details -
Merge pull request #331 from tomschr/feature/add-gh-discussions
Add badge to GitHub Discussion
Configuration menu - View commit details
-
Copy full SHA for b5d8f78 - Browse repository at this point
Copy the full SHA b5d8f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1986860 - Browse repository at this point
Copy the full SHA 1986860View commit details
Commits on Dec 17, 2020
-
Add config.yml for GitHub issues
Configure the template chooser and provide some additional information.
Configuration menu - View commit details
-
Copy full SHA for e7b0c08 - Browse repository at this point
Copy the full SHA e7b0c08View commit details -
Merge pull request #333 from tomschr/feature/issues-config.yml
Add config.yml for GitHub issues
Configuration menu - View commit details
-
Copy full SHA for d81b8af - Browse repository at this point
Copy the full SHA d81b8afView commit details -
Merge pull request #332 from python-semver/feature/dependabot
Create dependabot.yml
Configuration menu - View commit details
-
Copy full SHA for acb0fea - Browse repository at this point
Copy the full SHA acb0feaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4aff99e - Browse repository at this point
Copy the full SHA 4aff99eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0db94e6 - Browse repository at this point
Copy the full SHA 0db94e6View commit details -
Merge pull request #334 from python-semver/feature/code-analysis
Create codeql-analysis.yml Let's just try it if this is useful.
Configuration menu - View commit details
-
Copy full SHA for 4631fa6 - Browse repository at this point
Copy the full SHA 4631fa6View commit details
Commits on Apr 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f74e3a3 - Browse repository at this point
Copy the full SHA f74e3a3View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 0398baa - Browse repository at this point
Copy the full SHA 0398baaView commit details -
Merge pull request #337 from mzjp2/fix/doc-max-suggestion
Improve suggestion for finding max and min using semver
Configuration menu - View commit details
-
Copy full SHA for e93b6de - Browse repository at this point
Copy the full SHA e93b6deView commit details
Commits on Jan 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4d2df08 - Browse repository at this point
Copy the full SHA 4d2df08View commit details
Commits on Jan 11, 2022
-
Merge pull request #347 from python-semver/feature/tests-for-py310
Start supporting Python 3.10
Configuration menu - View commit details
-
Copy full SHA for dd8f5f3 - Browse repository at this point
Copy the full SHA dd8f5f3View commit details
Commits on Jan 20, 2022
-
* 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
Configuration menu - View commit details
-
Copy full SHA for 221bfba - Browse repository at this point
Copy the full SHA 221bfbaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47f9f34 - Browse repository at this point
Copy the full SHA 47f9f34View commit details -
Merge pull request #348 from tomschr/release/3.0.0-dev.3
Release/3.0.0-dev.3
Configuration menu - View commit details
-
Copy full SHA for 8293ee0 - Browse repository at this point
Copy the full SHA 8293ee0View commit details
Commits on Jan 21, 2022
-
* Missing merge step * Introduce the subsection "Finish the release"
Configuration menu - View commit details
-
Copy full SHA for 769083c - Browse repository at this point
Copy the full SHA 769083cView commit details
Commits on Jan 22, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for 098dccf - Browse repository at this point
Copy the full SHA 098dccfView commit details
Commits on Jan 23, 2022
-
Merge pull request #350 from tomschr/feature/docs-put-usage-in-dir
Restructure usage section
Configuration menu - View commit details
-
Copy full SHA for 6b6cba8 - Browse repository at this point
Copy the full SHA 6b6cba8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68553fe - Browse repository at this point
Copy the full SHA 68553feView commit details -
* Move some files that better fit into an "Advanced topic" * Introduce "Migration to semver3" topic
Configuration menu - View commit details
-
Copy full SHA for 838527b - Browse repository at this point
Copy the full SHA 838527bView commit details -
Merge pull request #351 from tomschr/feature/rework-doc
Introduce new topics for doc
Configuration menu - View commit details
-
Copy full SHA for 53f721a - Browse repository at this point
Copy the full SHA 53f721aView commit details
Commits on Jan 28, 2022
-
Describe Pydantic and semver in "Advanced topics"
Related to issue #343 Co-authored-by: Caleb Stewart <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73bd190 - Browse repository at this point
Copy the full SHA 73bd190View commit details -
Merge pull request #353 from tomschr/feature/343-pydantic-into-doc
Describe Pydantic and semver in "Advanced topics"
Configuration menu - View commit details
-
Copy full SHA for bafd212 - Browse repository at this point
Copy the full SHA bafd212View commit details
Commits on Jan 31, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for 0c4985c - Browse repository at this point
Copy the full SHA 0c4985cView commit details -
Merge pull request #352 from tomschr/feature/335-pypi-to-semver
Describe conversion between PyPI and semver
Configuration menu - View commit details
-
Copy full SHA for 54a1af6 - Browse repository at this point
Copy the full SHA 54a1af6View commit details
Commits on Feb 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 57690e8 - Browse repository at this point
Copy the full SHA 57690e8View commit details -
Merge pull request #355 from b0uh/fix/use-https
Use HTTPS instead of HTTP for the website URL
Configuration menu - View commit details
-
Copy full SHA for 340b4f9 - Browse repository at this point
Copy the full SHA 340b4f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffe686a - Browse repository at this point
Copy the full SHA ffe686aView commit details -
Merge pull request #356 from tomschr/feature/340-doc-version-file-open
Add topic to read version from file
Configuration menu - View commit details
-
Copy full SHA for d063887 - Browse repository at this point
Copy the full SHA d063887View commit details
Commits on May 24, 2022
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 2aeb61b - Browse repository at this point
Copy the full SHA 2aeb61bView commit details
Commits on Jul 4, 2022
-
Support matching 'equal' when no operator is provided (#362)
* Add tests for new default equality match behavior * Change documentation and add changelog
Configuration menu - View commit details
-
Copy full SHA for b5317af - Browse repository at this point
Copy the full SHA b5317afView commit details
Commits on Oct 4, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for 3eae18c - Browse repository at this point
Copy the full SHA 3eae18cView commit details -
Merge pull request #361 from tomschr/feature/pyproject.toml
Fix #365: Improve pyproject.toml
Configuration menu - View commit details
-
Copy full SHA for c83c562 - Browse repository at this point
Copy the full SHA c83c562View commit details
Commits on Nov 10, 2022
-
* Use v3 for some Actions * Move to 3.11 instead of RC
Configuration menu - View commit details
-
Copy full SHA for f7a6eda - Browse repository at this point
Copy the full SHA f7a6edaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98e845c - Browse repository at this point
Copy the full SHA 98e845cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a3d18d - Browse repository at this point
Copy the full SHA 2a3d18dView commit details
Commits on Nov 16, 2022
-
CI: Raise version for GH Actions
To avoid deprecation warnings, the GitHub workflow file is adjusted to newer versions.
Configuration menu - View commit details
-
Copy full SHA for 62a2fef - Browse repository at this point
Copy the full SHA 62a2fefView commit details
Commits on Nov 17, 2022
-
Revert "CI: Raise version for GH Actions"
This reverts commit 62a2fef.
Configuration menu - View commit details
-
Copy full SHA for 5d60614 - Browse repository at this point
Copy the full SHA 5d60614View commit details -
CI: Raise version for GH Actions
To avoid deprecation warnings, the GitHub workflow file is adjusted to newer versions.
Configuration menu - View commit details
-
Copy full SHA for 90bff70 - Browse repository at this point
Copy the full SHA 90bff70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ec0131 - Browse repository at this point
Copy the full SHA 3ec0131View commit details
Commits on Nov 26, 2022
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 24e70e9 - Browse repository at this point
Copy the full SHA 24e70e9View commit details -
Merge pull request #375 from tomschr/bugfix/374-towncrier-config
Fix #374: Adapt pyproject.tom for Towncrier
Configuration menu - View commit details
-
Copy full SHA for 4cf9d60 - Browse repository at this point
Copy the full SHA 4cf9d60View commit details
Commits on Dec 18, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for ae716f0 - Browse repository at this point
Copy the full SHA ae716f0View commit details -
Merge pull request #383 from tomschr/feature/372-rm-python36
Fix #372: Remove support for Python 3.6
Configuration menu - View commit details
-
Copy full SHA for 68df773 - Browse repository at this point
Copy the full SHA 68df773View commit details -
Fix #378: Typos in Towncrier config
Co-authored-by: Nagidal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d8d80fa - Browse repository at this point
Copy the full SHA d8d80faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 223e027 - Browse repository at this point
Copy the full SHA 223e027View commit details -
Merge pull request #382 from tomschr/bugfix/378-typo-towncrier-config
Fix #378: Typos in Towncrier config
Configuration menu - View commit details
-
Copy full SHA for 5600d1e - Browse repository at this point
Copy the full SHA 5600d1eView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 61335e0 - Browse repository at this point
Copy the full SHA 61335e0View commit details -
Merge pull request #384 from tomschr/reformat-withblack
General cleanup, reformat files
Configuration menu - View commit details
-
Copy full SHA for 7c7a72b - Browse repository at this point
Copy the full SHA 7c7a72bView commit details
Commits on Dec 19, 2022
-
* Update CHANGELOG * Fix small typos inside changelog.d/
Configuration menu - View commit details
-
Copy full SHA for 89d5423 - Browse repository at this point
Copy the full SHA 89d5423View commit details -
Merge pull request #385 from tomschr/release/3.0.0-dev.4
Create 3.0.0-dev.4 Release
Configuration menu - View commit details
-
Copy full SHA for ff34cce - Browse repository at this point
Copy the full SHA ff34cceView commit details
Commits on Dec 20, 2022
-
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
Configuration menu - View commit details
-
Copy full SHA for f24a1da - Browse repository at this point
Copy the full SHA f24a1daView commit details -
Merge pull request #388 from tomschr/feature/testpaths
tox/pytest: Add testpaths and use importlib
Configuration menu - View commit details
-
Copy full SHA for bf8757a - Browse repository at this point
Copy the full SHA bf8757aView commit details
Commits on Dec 23, 2022
-
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.
Configuration menu - View commit details
-
Copy full SHA for 86fcf48 - Browse repository at this point
Copy the full SHA 86fcf48View commit details -
Merge pull request #389 from tomschr/feature/version.names
Trivial: Introduce public Version.NAMES class variable
Configuration menu - View commit details
-
Copy full SHA for 0ca281d - Browse repository at this point
Copy the full SHA 0ca281dView commit details
Commits on Jan 31, 2023
-
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.
Configuration menu - View commit details
-
Copy full SHA for 35da4f6 - Browse repository at this point
Copy the full SHA 35da4f6View commit details -
Merge pull request #392 from mssalvatore/fix-pydantic-semver-example
Fix pydantic/semver example
Configuration menu - View commit details
-
Copy full SHA for 2018346 - Browse repository at this point
Copy the full SHA 2018346View commit details
Commits on Feb 8, 2023
-
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.
Configuration menu - View commit details
-
Copy full SHA for a5f3a69 - Browse repository at this point
Copy the full SHA a5f3a69View commit details
Commits on Feb 22, 2023
-
Merge pull request #393 from zanecodes/fix-cli
Fix: All `python -m semver` commands fail with 'error: invalid choice:'
Configuration menu - View commit details
-
Copy full SHA for 7e062c8 - Browse repository at this point
Copy the full SHA 7e062c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1604fb - Browse repository at this point
Copy the full SHA a1604fbView commit details
Commits on Feb 28, 2023
-
Fix return type of classmethod parse (#396)
So that calling parse on a derived class will show correct type of derived class
Configuration menu - View commit details
-
Copy full SHA for 6176316 - Browse repository at this point
Copy the full SHA 6176316View commit details -
Configuration menu - View commit details
-
Copy full SHA for bee273e - Browse repository at this point
Copy the full SHA bee273eView commit details
Commits on Mar 5, 2023
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 5485b6b - Browse repository at this point
Copy the full SHA 5485b6bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f8a182f - Browse repository at this point
Copy the full SHA f8a182fView commit details -
Merge pull request #365 from tomschr/feature/344-prerelease-build
Fix #344 Allow empty string for bump method
Configuration menu - View commit details
-
Copy full SHA for a2a6169 - Browse repository at this point
Copy the full SHA a2a6169View commit details
Commits on Mar 6, 2023
-
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.
Configuration menu - View commit details
-
Copy full SHA for 67464a7 - Browse repository at this point
Copy the full SHA 67464a7View commit details
Commits on Mar 7, 2023
-
Merge pull request #398 from tomschr/bugfix/397-python_requires
Fix #397: Remove asterisk in python_requires
Configuration menu - View commit details
-
Copy full SHA for 9b475f7 - Browse repository at this point
Copy the full SHA 9b475f7View commit details -
Merge pull request #368 from tomschr/feature/284-compatibility
Fix #284: implement "is compatible with" method
Configuration menu - View commit details
-
Copy full SHA for 467ea0c - Browse repository at this point
Copy the full SHA 467ea0cView commit details
Commits on Mar 19, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 45e12ec - Browse repository at this point
Copy the full SHA 45e12ecView commit details -
Merge pull request #399 from tomschr/release/3.0.0-rc.1
Prepare for 3.0.0-rc.1 release
Configuration menu - View commit details
-
Copy full SHA for 7cb958a - Browse repository at this point
Copy the full SHA 7cb958aView commit details
Commits on Apr 2, 2023
-
Use max() and min() with argument key=Version.parse
Configuration menu - View commit details
-
Copy full SHA for c72c50c - Browse repository at this point
Copy the full SHA c72c50cView commit details -
Merge pull request #401 from tomschr/min_max_ver
Simplify max_ver and min_ver. This makes the two functions consistent.
Configuration menu - View commit details
-
Copy full SHA for c40b6a4 - Browse repository at this point
Copy the full SHA c40b6a4View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 47b49ca - Browse repository at this point
Copy the full SHA 47b49caView commit details -
Merge pull request #402 from tomschr/compare-258
Fix #258: Keep semver._deprecated.compare
Configuration menu - View commit details
-
Copy full SHA for 5abeda6 - Browse repository at this point
Copy the full SHA 5abeda6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d26cc07 - Browse repository at this point
Copy the full SHA d26cc07View commit details -
Merge pull request #403 from tomschr/release/3.0.0
Build 3.0.0 release of semver
Configuration menu - View commit details
-
Copy full SHA for 3a7680d - Browse repository at this point
Copy the full SHA 3a7680dView commit details
Commits on Apr 3, 2023
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 3215a99 - Browse repository at this point
Copy the full SHA 3215a99View commit details
Commits on Apr 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7625129 - Browse repository at this point
Copy the full SHA 7625129View commit details -
Merge pull request #406 from treee111/next_version-docu
correct typo in function description of `next_version`
Configuration menu - View commit details
-
Copy full SHA for fe28d2a - Browse repository at this point
Copy the full SHA fe28d2aView commit details
Commits on Apr 22, 2023
-
* 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
Configuration menu - View commit details
-
Copy full SHA for 100d90b - Browse repository at this point
Copy the full SHA 100d90bView commit details
Commits on Apr 24, 2023
-
Merge pull request #408 from tomschr/gha-improve
Improve GitHub Action
Configuration menu - View commit details
-
Copy full SHA for 1e3283a - Browse repository at this point
Copy the full SHA 1e3283aView commit details
Commits on Apr 27, 2023
-
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
Configuration menu - View commit details
-
Copy full SHA for 39bf287 - Browse repository at this point
Copy the full SHA 39bf287View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a8331f - Browse repository at this point
Copy the full SHA 2a8331fView commit details -
Merge pull request #409 from tomschr/add-citation
Add CITATION.cff for citation
Configuration menu - View commit details
-
Copy full SHA for 9227686 - Browse repository at this point
Copy the full SHA 9227686View commit details
Commits on Jun 14, 2023
-
Fix #410 Export all names in __all__ variable
* Export all semver names in `__all__` variable. * Fix linting issues
Configuration menu - View commit details
-
Copy full SHA for 17bc257 - Browse repository at this point
Copy the full SHA 17bc257View commit details -
* Add config options to pyproject.toml * Call docformatter without any options in tox.ini as they are set in pyproject.toml now
Configuration menu - View commit details
-
Copy full SHA for 90c3484 - Browse repository at this point
Copy the full SHA 90c3484View commit details -
* Raise version * Ignore exit code from docformatter in checks `tox.ini` * Correct typo in release-procedure.md * Update CHANGELOG.rst
Configuration menu - View commit details
-
Copy full SHA for c268060 - Browse repository at this point
Copy the full SHA c268060View commit details -
Fix minor issue in release-procedure.md
Wrap commands in triple-backticks
Configuration menu - View commit details
-
Copy full SHA for dcda256 - Browse repository at this point
Copy the full SHA dcda256View commit details
Commits on Jun 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 72bf1c3 - Browse repository at this point
Copy the full SHA 72bf1c3View commit details
Commits on Jun 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ca1fcd9 - Browse repository at this point
Copy the full SHA ca1fcd9View commit details -
Merge pull request #417 from tomschr/gha-test-matrix
GHA: Use matrix to test MacOS too
Configuration menu - View commit details
-
Copy full SHA for 39774df - Browse repository at this point
Copy the full SHA 39774dfView commit details
Commits on Jul 12, 2023
-
Return dict instead of OrderedDict (#419)
dict is guaranteed to preserve order in all supported versions
Configuration menu - View commit details
-
Copy full SHA for 655a7d0 - Browse repository at this point
Copy the full SHA 655a7d0View commit details
Commits on Jul 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 50532e7 - Browse repository at this point
Copy the full SHA 50532e7View commit details -
Use it for class variables NAMES, _LAST_NUMBER, _REGEX_TEMPLATE, _REGEX, and _REGEX_OPTIONAL_MINOR_AND_PATCH.
Configuration menu - View commit details
-
Copy full SHA for 6a90bd3 - Browse repository at this point
Copy the full SHA 6a90bd3View commit details -
Merge pull request #420 from python-semver/classvar
Introduce ClassVar type
Configuration menu - View commit details
-
Copy full SHA for fda2873 - Browse repository at this point
Copy the full SHA fda2873View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b332b0 - Browse repository at this point
Copy the full SHA 9b332b0View commit details -
Insert mypy config into pyproject.toml
Insert mypy configuration into pyproject.toml and remove config options from tox.ini.
Configuration menu - View commit details
-
Copy full SHA for 96d3095 - Browse repository at this point
Copy the full SHA 96d3095View commit details -
Merge pull request #421 from python-semver/mypy-to-pyproject.toml
Add mypy config to pyproject.toml
Configuration menu - View commit details
-
Copy full SHA for 8fe4ef6 - Browse repository at this point
Copy the full SHA 8fe4ef6View commit details
Commits on Jul 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2ae1a21 - Browse repository at this point
Copy the full SHA 2ae1a21View commit details
Commits on Sep 16, 2023
-
Merge pull request #423 from tomschr/422-doc-pydantic
Fix #422: Update advanced topic about Pydantic v2
Configuration menu - View commit details
-
Copy full SHA for 757ada6 - Browse repository at this point
Copy the full SHA 757ada6View commit details
Commits on Sep 29, 2023
-
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]>
Configuration menu - View commit details
-
Copy full SHA for 4b03f86 - Browse repository at this point
Copy the full SHA 4b03f86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2dda51c - Browse repository at this point
Copy the full SHA 2dda51cView commit details -
Merge pull request #427 from tomschr/fix-426-match-derivedclass
Fix #426: call subclass when deriving from Version
Configuration menu - View commit details
-
Copy full SHA for c5c779a - Browse repository at this point
Copy the full SHA c5c779aView commit details
Commits on Oct 5, 2023
-
Only run GHA if project files are modified
There is no need to run the test suite when docs files are modified.
Configuration menu - View commit details
-
Copy full SHA for 8ac99bd - Browse repository at this point
Copy the full SHA 8ac99bdView commit details -
Merge pull request #428 from tomschr/gh-succeed-if-no-py
GH Action: Don't block when only doc files are modified
Configuration menu - View commit details
-
Copy full SHA for 0b3d9fa - Browse repository at this point
Copy the full SHA 0b3d9faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1aad4ad - Browse repository at this point
Copy the full SHA 1aad4adView commit details -
Merge pull request #425 from tomschr/docs-1
Improve documentation wording & consistency
Configuration menu - View commit details
-
Copy full SHA for 1f08632 - Browse repository at this point
Copy the full SHA 1f08632View commit details
Commits on Oct 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a951c8a - Browse repository at this point
Copy the full SHA a951c8aView commit details
Commits on Oct 7, 2023
-
Merge pull request #430 from apiwat-chantawibul/fix-semver-pydantic-s…
…erialization Fix #429: bug on serialization to json
Configuration menu - View commit details
-
Copy full SHA for bd313ed - Browse repository at this point
Copy the full SHA bd313edView commit details
Commits on Oct 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9391f8a - Browse repository at this point
Copy the full SHA 9391f8aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 083b592 - Browse repository at this point
Copy the full SHA 083b592View commit details -
Merge pull request #431 from tomschr/version-policy
Clarify version policy for semver
Configuration menu - View commit details
-
Copy full SHA for 9a98394 - Browse repository at this point
Copy the full SHA 9a98394View commit details -
Improve external docs with intersphinx extension
* Downloads the inventories for Python and Pydantic * Use the correct :ref: syntax ("INVENTORY_NAME:OBJECT")
Configuration menu - View commit details
-
Copy full SHA for 23e0e73 - Browse repository at this point
Copy the full SHA 23e0e73View commit details -
Merge pull request #432 from tomschr/improve-intersphinx
Improve external docs with intersphinx extension
Configuration menu - View commit details
-
Copy full SHA for c534e3f - Browse repository at this point
Copy the full SHA c534e3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb02b3b - Browse repository at this point
Copy the full SHA fb02b3bView commit details -
Merge pull request #433 from tomschr/release/3.0.2
Build 3.0.2 release of semver
Configuration menu - View commit details
-
Copy full SHA for 2154ce7 - Browse repository at this point
Copy the full SHA 2154ce7View commit details -
Correct some smaller issues when building
* Remove :ref: in README.rst * Add tool.setuptools_scm section in pyproject.toml
Configuration menu - View commit details
-
Copy full SHA for f65feab - Browse repository at this point
Copy the full SHA f65feabView commit details -
According to [1], the .readthedocs.yaml configuration file is now required. The last builds have failed. [1] https://blog.readthedocs.com/migrate-configuration-v2/
Configuration menu - View commit details
-
Copy full SHA for ec9348a - Browse repository at this point
Copy the full SHA ec9348aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03fb990 - Browse repository at this point
Copy the full SHA 03fb990View commit details -
If environment variable READTHEDOCS_CANONICAL_URL is definied, set html_baseurl variable so Sphinx can grab it.
Configuration menu - View commit details
-
Copy full SHA for 87f639f - Browse repository at this point
Copy the full SHA 87f639fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ca41533 - Browse repository at this point
Copy the full SHA ca41533View commit details -
Merge pull request #435 from tomschr/doc-improvements
Use meta directive for SEO
Configuration menu - View commit details
-
Copy full SHA for b2311cc - Browse repository at this point
Copy the full SHA b2311ccView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 254e7c5 - Browse repository at this point
Copy the full SHA 254e7c5View commit details -
Merge pull request #436 from tomschr/docs-searchbox
Move search box more at the top
Configuration menu - View commit details
-
Copy full SHA for 68d19f5 - Browse repository at this point
Copy the full SHA 68d19f5View commit details
Commits on Apr 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c47774d - Browse repository at this point
Copy the full SHA c47774dView commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d974788 - Browse repository at this point
Copy the full SHA d974788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cb269d - Browse repository at this point
Copy the full SHA 4cb269dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dec7f63 - Browse repository at this point
Copy the full SHA dec7f63View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97676c8 - Browse repository at this point
Copy the full SHA 97676c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a950aa - Browse repository at this point
Copy the full SHA 7a950aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9593ad0 - Browse repository at this point
Copy the full SHA 9593ad0View commit details -
Merge pull request #439 from waketzheng/master
Improve type hints to fix TODOs
Configuration menu - View commit details
-
Copy full SHA for 4815626 - Browse repository at this point
Copy the full SHA 4815626View commit details
Commits on Oct 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2072a68 - Browse repository at this point
Copy the full SHA 2072a68View commit details -
Merge pull request #446 from tomschr/gha-add-python313
Gha add python313
Configuration menu - View commit details
-
Copy full SHA for 5dae7b6 - Browse repository at this point
Copy the full SHA 5dae7b6View commit details -
Improve private _nat_cmp() method
* Remove obsolete else * Find a better way to identify digits without the re module * Fix docstring in compare
Configuration menu - View commit details
-
Copy full SHA for 0f30183 - Browse repository at this point
Copy the full SHA 0f30183View commit details -
Merge pull request #445 from tomschr/improve_nat_cmp
Improve private _nat_cmp() method
Configuration menu - View commit details
-
Copy full SHA for 8daa571 - Browse repository at this point
Copy the full SHA 8daa571View commit details
Commits on Nov 4, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for 6208a54 - Browse repository at this point
Copy the full SHA 6208a54View commit details -
Merge pull request #447 from tomschr/modernize-project
Modernize project configs with pyproject.toml
Configuration menu - View commit details
-
Copy full SHA for 37e80d7 - Browse repository at this point
Copy the full SHA 37e80d7View commit details