14
0
forked from pool/python-semver

Commit Graph

  • 4e511abad8 Accepting request 1301253 from devel:languages:python main Ana Guerrero 2025-08-25 18:39:22 +00:00
  • fd034461f5 - Convert to libalternatives on SLE-16-based and newer systems Markéta Machová 2025-08-25 11:39:34 +00:00
  • 606299b6ac Accepting request 1242079 from devel:languages:python slfo-main slfo-1.2 Ana Guerrero 2025-02-03 20:43:18 +00:00
  • 67f7d9247d Accepting request 1242079 from devel:languages:python Ana Guerrero 2025-02-03 20:43:18 +00:00
  • bf638b7452 - update to version 3.0.4: - Bug Fixes: - Fix 3.0.3: * Re-enable Trove license identifier * Fix source dist file Sebastian Wagner 2025-01-25 08:45:24 +00:00
  • d2fd1f4d76 - update to version 3.0.4: - Bug Fixes: - Fix 3.0.3: * Re-enable Trove license identifier * Fix source dist file Sebastian Wagner 2025-01-25 08:45:24 +00:00
  • 42ebf6c4cc don't run coverage Sebastian Wagner 2025-01-18 14:44:14 +00:00
  • de046b8e8e don't run coverage Sebastian Wagner 2025-01-18 14:44:14 +00:00
  • 61cd2814c4 - update to version 3.0.3: - Bug Fixes: - :pr:453: The check in `_comparator does not match the check in :meth:Version.compare. This breaks comparision with subclasses. - Improved Documentation: - :pr:435: Several small improvements for documentation: * Add meta description to improve SEO * Use canonicals on ReadTheDocs (commit 87f639f) * Pin versions for reproducable doc builds (commit 03fb990) * Add missing :file:.readthedocs.yaml file (commit ec9348a) * Correct some smaller issues when building (commit f65feab) - :pr:436: 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. - Features: - :pr:439: Improve type hints to fix TODOs - Internal Changes: - :pr:447: Modernize project configs with :file:pyproject.toml and use Astral's uv command. * In :file:pyproject.toml: * Move all project related data from :file:setup.cfg to :file:pyproject.toml * Use new dependency group from :pep:735 * Consolidate flake8, isort, pycodestyle with ruff * Split towncrier config type "trivial" into "trivial" and "internal" * Create config file for ruff (:file:.ruff.toml) * Create config file for pytest (:file:.pytest.ini) * Document installation with new :command:uv command - Trivial Changes: - :pr:445: Improve private :func:_nat_cmp` method: * Remove obsolete else. Sebastian Wagner 2025-01-18 14:41:14 +00:00
  • 391b4e1781 - update to version 3.0.3: - Bug Fixes: - :pr:453: The check in `_comparator does not match the check in :meth:Version.compare. This breaks comparision with subclasses. - Improved Documentation: - :pr:435: Several small improvements for documentation: * Add meta description to improve SEO * Use canonicals on ReadTheDocs (commit 87f639f) * Pin versions for reproducable doc builds (commit 03fb990) * Add missing :file:.readthedocs.yaml file (commit ec9348a) * Correct some smaller issues when building (commit f65feab) - :pr:436: 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. - Features: - :pr:439: Improve type hints to fix TODOs - Internal Changes: - :pr:447: Modernize project configs with :file:pyproject.toml and use Astral's uv command. * In :file:pyproject.toml: * Move all project related data from :file:setup.cfg to :file:pyproject.toml * Use new dependency group from :pep:735 * Consolidate flake8, isort, pycodestyle with ruff * Split towncrier config type "trivial" into "trivial" and "internal" * Create config file for ruff (:file:.ruff.toml) * Create config file for pytest (:file:.pytest.ini) * Document installation with new :command:uv command - Trivial Changes: - :pr:445: Improve private :func:_nat_cmp` method: * Remove obsolete else. Sebastian Wagner 2025-01-18 14:41:14 +00:00
  • aeedd1029a Accepting request 1132138 from devel:languages:python Dominique Leuenberger 2023-12-09 21:53:31 +00:00
  • f0f5ad1449 - update to 3.0.2: * :pr:418: Replace :class:~collection.OrderedDict with :class:dict. * The dict datatype is ordered since Python 3.7. As we do not support Python 3.6 anymore, it can be considered safe to avoid :class:~collection.OrderedDict. * :pr:431: Clarify version policy for the different semver versions (v2, v3, >v3) and the supported Python versions. * :gh:432: Improve external doc links to Python and Pydantic. * :pr:417: Amend GitHub Actions to check against MacOS. - switch to the tagged version rather than a gh branch tarball * PR #62. Support custom default names for pre and build Dirk Mueller 2023-12-08 16:19:20 +00:00
  • bd4e218329 Accepting request 1095875 from devel:languages:python Dominique Leuenberger 2023-06-29 15:28:47 +00:00
  • 4e801a78f2 - remove obsolete setup-remove-asterisk.patch - update to version 3.0.1: - Remove incorrect dependencies from build-system section of pyproject.toml by @mgorny in #405 - correct typo in function description of next_version by @treee111 in #406 - Improve GitHub Action by @tomschr in #408 - Add CITATION.cff for citation by @tomschr in #409 - Add Version class to __all__ export. Fix #410 by @Soneji in #411 - Configure docformatter by @tomschr in #412 - Prepare version 3.0.1 by @tomschr in #413 Sebastian Wagner 2023-06-21 20:14:53 +00:00
  • 7ff0f82871 Accepting request 1087008 from devel:languages:python Dominique Leuenberger 2023-05-14 14:31:43 +00:00
  • 8e06e2145b - update to version 3.0.0: - Bugfixes - :gh:291: Disallow negative numbers in VersionInfo arguments for `major, minor, and patch. * :gh:310: Rework API documentation. Follow a more "semi-manual" attempt and add auto directives into :file:docs/api.rst. * :gh:344: Allow empty string, a string with a prefix, or None as token in :meth:~semver.version.Version.bump_build and :meth:~semver.version.Version.bump_prerelease. * :pr:384: General cleanup, reformat files: * Reformat source code with black again as some config options did accidentely 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 :file:setup.cfg` and adapt list. * Use skip_install=True in :file:tox.ini for black * :pr:393: Fix command :command:python -m semver to avoid the error "invalid choice" * :pr:396: Calling :meth:~semver.version.Version.parse on a derived class will show correct type of derived class. - Deprecations * :gh:169: Deprecate CLI functions not imported from semver.cli. * :gh:234: In :file:setup.py simplified file and remove Tox and Clean classes * :gh:284: Deprecate the use of :meth:~Version.isvalid. Rename :meth:~semver.version.Version.isvalid to :meth:~semver.version.Version.is_valid for consistency reasons with :meth:~semver.version.Version.is_compatible`. Sebastian Wagner 2023-05-06 17:18:09 +00:00
  • b28ab91c11 Accepting request 1070842 from devel:languages:python Dominique Leuenberger 2023-03-11 17:24:13 +00:00
  • 362f2ba7d4 fix build update to 3.0.0 dev4 Sebastian Wagner 2023-03-11 10:00:35 +00:00
  • e40d4049f6 Accepting request 1012034 from devel:languages:python Dominique Leuenberger 2022-10-17 12:58:27 +00:00
  • 80309332b2 - switch to the tagged version rather than a gh branch tarball Dirk Mueller 2022-10-10 08:26:43 +00:00
  • 43155d8cf1 Accepting request 945413 from devel:languages:python Dominique Leuenberger 2022-01-10 22:54:02 +00:00
  • aa4dd420dc - fix support for Python 3.10 with update to development version: - update to revision g4d2df08: - Changes for the upcoming release can be found in: - the "changelog.d" directory <https://github.com/python-semver/python-semver/tree/master/changelog.d>_: - in our repository.: - update to version 3.0.0-dev.2: - Deprecations: - :gh:169: Deprecate CLI functions not imported from `semver.cli. - Features: - :gh:169: Create semver package and split code among different modules in the packages. * Remove :file:semver.py * Create :file:src/semver/__init__.py * 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:Version class (old name :class:VersionInfo) and its utility functions * Create :file:src/semver/__about__.py for all the metadata variables - :gh:305: Rename :class:VersionInfo to :class:Version but keep an alias for compatibility - Improved Documentation: - :gh:304: Several improvements in documentation: * Reorganize API documentation. * Add migration chapter from semver2 to semver3. * Distinguish between changlog for version 2 and 3 - :gh:305: Add note about :class:Version rename. - Trivial/Internal Changes: - :gh:169: Adapted 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 Sebastian Wagner 2022-01-10 21:28:49 +00:00
  • c43dd285bd Accepting request 862836 from devel:languages:python Dominique Leuenberger 2021-01-13 17:24:10 +00:00
  • a443ecc09d Accepting request 862829 from home:jayvdb:branches:devel:languages:python Markéta Machová 2021-01-13 09:50:46 +00:00
  • 3c5a6a8e3c Accepting request 846445 from devel:languages:python Dominique Leuenberger 2020-11-06 22:45:13 +00:00
  • 294c8b94cd - update to version 2.13.0: - Features: - :pr:287: Document how to create subclass from `VersionInfo - Bug Fixes: - :pr:283: Ensure equal versions have equal hashes. Version equality means for semver, that major, minor, patch, and prerelease parts are equal in both versions you compare. The build part is ignored. - update to version 2.12.0: - Bug Fixes: - :gh:291 (:pr:292): Disallow negative numbers of major, minor, and patch for semver.VersionInfo - update to version 2.11.0: - Bug Fixes: - :gh:276 (:pr:277): VersionInfo.parse should be a class method Also add authors and update changelog in :gh:286 - :gh:274 (:pr:275`): Py2 vs. Py3 incompatibility TypeError Sebastian Wagner 2020-10-30 11:47:16 +00:00
  • 9f9507fea1 Accepting request 821766 from devel:languages:python Dominique Leuenberger 2020-07-20 19:00:12 +00:00
  • caf61bea75 - update to version 2.10.2: - Features: - Increase coverage - Bug Fixes: - Fixed `__getitem__ returning None on wrong parts - Doc: Add missing "install" subcommand for openSUSE - Deprecations: - functions semver.max_ver, semver.min_ver - update to version 2.10.1: - Features: - Added release policy and version restriction in documentation to help our users which would like to stay on the major 2 release. - Simplified installation semver on openSUSE with obs://. - Made docstrings consistent - Bug Fixes: - Fixed return type of semver.VersionInfo.next_version to always return a VersionInfo` instance. Sebastian Wagner 2020-07-12 16:07:39 +00:00
  • 8c9529b71e Accepting request 807288 from devel:languages:python Dominique Leuenberger 2020-05-19 12:58:26 +00:00
  • 53f37154be Accepting request 807244 from home:pgajdos:python Tomáš Chvátal 2020-05-19 12:14:13 +00:00
  • cb3aed6963 Accepting request 802284 from devel:languages:python Dominique Leuenberger 2020-05-11 11:37:35 +00:00
  • d62028be47 Accepting request 802262 from home:apersaud:branches:devel:languages:python Tomáš Chvátal 2020-05-09 17:30:28 +00:00
  • 219e6477e2 Accepting request 779224 from devel:languages:python Dominique Leuenberger 2020-02-26 14:04:40 +00:00
  • d100318dbe - update to version 2.9.1: - Features: - :gh:177 (:pr:178): Fixed repository and CI links (moved https://github.com/k-bx/python-semver/ repository to https://github.com/python-semver/python-semver/) - :pr:179: Added note about moving this project to the new python-semver organization on GitHub - :gh:187 (:pr:188): Added logo for python-semver organization and documentation - :gh:191 (:pr:194): Created manpage for pysemver - :gh:196 (:pr:197): Added distribution specific installation instructions - :gh:201 (:pr:202): Reformatted source code with black - :gh:208 (:pr:209): Introduce new function :func:semver.VersionInfo.isvalid and extend :command:pysemver with :command:check subcommand - :gh:210 (:pr:215): Document how to deal with invalid versions - :pr:212: Improve docstrings according to PEP257 - Bug Fixes: - :gh:192 (:pr:193): Fixed "pysemver" and "pysemver bump" when called without arguments Sebastian Wagner 2020-02-18 20:04:52 +00:00
  • ab956afb2d Accepting request 753273 from devel:languages:python Dominique Leuenberger 2019-12-04 12:53:20 +00:00
  • 5aa6fe32da - update to version 2.9.0: - Version 2.9.0 (WIP): - Features: - :gh:59 (:pr:164): Implemented a command line interface - :gh:85 (:pr:147, :pr:154): Improved contribution section - :gh:104 (:pr:125): Added iterator to :func:semver.VersionInfo - :gh:112, :gh:113: Added Python 3.7 support - :pr:120: Improved test_immutable function with properties - :pr:125: Created :file:setup.cfg for pytest and tox - :gh:126 (:pr:127): Added target for documentation in :file:tox.ini - :gh:142 (:pr:143): Improved usage section - :gh:144 (:pr:156): Added :func:semver.replace and :func:semver.VersionInfo.replace functions - :gh:145 (:pr:146): Added posargs in :file:tox.ini - :pr:157: Introduce :file:conftest.py to improve doctests - :pr:165: Improved code coverage - :pr:166: Reworked :file:.gitignore file - :gh:167 (:pr:168): Introduced global constant :data:SEMVER_SPEC_VERSION - Bug Fixes: - :gh:102: Fixed comparison between VersionInfo and tuple - :gh:103: Disallow comparison between VersionInfo and string (and int) - :gh:121 (:pr:122): Use python3 instead of python3.4 in :file:tox.ini - :pr:123: Improved :func:__repr__ and derive class name from :func:type - :gh:128 (:pr:129): Fixed wrong datatypes in docstring for :func:semver.format_version - :gh:135 (:pr:140): Converted prerelease and build to string - :gh:136 (:pr:151): Added testsuite to tarball - :gh:154 (:pr:155): Improved README description - Removals: - :gh:111 (:pr:110): Droped Python 3.3 - :gh:148 (:pr:149): Removed and replaced `python setup.py test` Sebastian Wagner 2019-11-26 14:17:36 +00:00
  • c6b16b75ed Accepting request 734777 from devel:languages:python Dominique Leuenberger 2019-10-03 12:10:29 +00:00
  • 05bab370be Accepting request 734770 from home:jayvdb:branches:devel:languages:python Sebastian Wagner 2019-10-03 10:37:41 +00:00
  • d2285cec7e Accepting request 708128 from devel:languages:python Dominique Leuenberger 2019-06-06 16:19:26 +00:00
  • 0a03fab00b Accepting request 708127 from home:pgajdos Tomáš Chvátal 2019-06-06 12:41:33 +00:00
  • 3813f274ca Accepting request 659664 from devel:languages:python Dominique Leuenberger 2018-12-24 10:43:47 +00:00
  • c066f906e1 Remove superfluous devel dependency for noarch package Matej Cepl 2018-12-04 14:01:52 +00:00
  • 04cbc581bc Accepting request 622232 from devel:languages:python Dominique Leuenberger 2018-07-13 08:21:19 +00:00
  • b7fc2a73e1 Accepting request 622190 from home:apersaud:branches:devel:languages:python Sebastian Wagner 2018-07-12 06:11:59 +00:00
  • 0a659e38d4 Accepting request 617156 from devel:languages:python Dominique Leuenberger 2018-06-29 20:27:18 +00:00
  • 288de8de9e - update to version 2.8.0 (excerpt): * Issue #79 (PR #81 #84). Define and improve a release procedure file * Issue #72 #73 (PR #75). Implements __str__ and __hash__ Sebastian Wagner 2018-05-21 06:44:49 +00:00
  • ac0d11c571 Accepting request 541981 from devel:languages:python Dominique Leuenberger 2017-11-17 09:54:42 +00:00
  • 2bfbd7b813 Accepting request 541921 from home:apersaud:branches:devel:languages:python Dirk Mueller 2017-11-15 09:29:53 +00:00
  • aa7b97b066 Accepting request 533146 from devel:languages:python Dominique Leuenberger 2017-10-13 12:16:26 +00:00
  • dfdea6bf32 - update to 2.7.8 * PR #62. Support custom default names for pre and build Sebastian Wagner 2017-08-25 07:57:47 +00:00
  • dbf379efee Accepting request 501317 from devel:languages:python Dominique Leuenberger 2017-06-20 07:39:12 +00:00
  • e9964a20e3 Accepting request 500784 from home:sebix Dirk Mueller 2017-06-06 08:33:59 +00:00