-
Notifications
You must be signed in to change notification settings - Fork 96
Comparing changes
Open a pull request
base repository: python-semver/python-semver
base: 3.0.0-dev.4
head repository: python-semver/python-semver
compare: 3.0.0-rc.1
- 18 commits
- 53 files changed
- 8 contributors
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 <lexi@lexi.org.uk> Co-authored-by: Thomas Laferriere <tlaferriere@users.noreply.github.com> Co-authored-by: Raphael Krupinski <rafalkrupinski@users.noreply.github.com>
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
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.0.0-dev.4...3.0.0-rc.1