Skip to content

Bump semver from 2.13.0 to 3.0.0 #130

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

Merged
merged 2 commits into from
Apr 4, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 4, 2023

Bumps semver from 2.13.0 to 3.0.0.

Release notes

Sourced from semver's releases.

3.0.0

Related pr: #403

Documentation: https://python-semver.rtfd.io/en/3.0.0/ PyPI: https://pypi.org/project/semver/3.0.0/ Full Changelog: python-semver/python-semver@3.0.0-rc.1...3.0.0 Full Changelog between last 2 release and 3: python-semver/python-semver@2.13.0...3.0.0

What's Changed

3.0.0-dev.4

Related pr: python-semver/python-semver#385

  • Released 2022-12-20

  • Maintainer Tom Schraitle

Documentation: https://python-semver.rtfd.io/en/3.0.0-dev.4/ Full Changelog: python-semver/python-semver@3.0.0-dev.3...3.0.0-dev.4 PyPI: https://pypi.org/project/semver/3.0.0dev4/

Bug Fixes

  • #374: Correct Towncrier’s config entries in the pyproject.toml file. The old entries [[tool.towncrier.type]] are deprecated and need to be replaced by [tool.towncrier.fragment.<TYPE>].

Deprecations

  • #372: Deprecate 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.

    Although the poll didn’t cast many votes, the majority agree to remove support for Python 3.6.

Improved Documentation

  • #335: Add new section “Converting versions between PyPI and semver” the limitations and possible use cases to convert from one into the other versioning scheme.
  • #340: Describe how to get version from a file
  • #343: Describe combining Pydantic with semver in the “Advanced topic” section.
  • #350: Restructure usage section. Create subdirectory “usage/” and splitted all section into different files.
  • #351: Introduce new topics for:
    • “Migration to semver3”
    • “Advanced topics”

Features

  • PR #359: Add optional parameter optional_minor_and_patch in Version.parse() to allow optional minor and patch parts.
  • PR #362: Make Version.match() accept a bare version string as match expression, defaulting to equality testing.
  • #364: Enhance pyproject.toml to make it possible to use the pyproject-build command from the build module. For more information, see Building semver.
  • #365: Improve pyproject.toml.

... (truncated)

Changelog

Sourced from semver's changelog.

Version 3.0.0

:Released: 2023-04-02 :Maintainer: Tom Schraitle

Bug Fixes

  • :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.

  • :gh:374: Correct Towncrier's config entries in the :file:pyproject.toml file. The old entries [[tool.towncrier.type]] are deprecated and need to be replaced by [tool.towncrier.fragment.<TYPE>].

  • :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

... (truncated)

Commits
  • 3a7680d Merge pull request #403 from tomschr/release/3.0.0
  • d26cc07 Build 3.0.0 release of semver
  • 5abeda6 Merge pull request #402 from tomschr/compare-258
  • 47b49ca Fix #258: Keep semver._deprecated.compare
  • c40b6a4 Merge pull request #401 from tomschr/min_max_ver
  • c72c50c Simplify max_ver and min_ver
  • 7cb958a Merge pull request #399 from tomschr/release/3.0.0-rc.1
  • 45e12ec Prepare for 3.0.0-rc.1 release
  • 467ea0c Merge pull request #368 from tomschr/feature/284-compatibility
  • 9b475f7 Merge pull request #398 from tomschr/bugfix/397-python_requires
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [semver](https://github.com/python-semver/python-semver) from 2.13.0 to 3.0.0.
- [Release notes](https://github.com/python-semver/python-semver/releases)
- [Changelog](https://github.com/python-semver/python-semver/blob/master/CHANGELOG.rst)
- [Commits](python-semver/python-semver@2.13.0...3.0.0)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the topic: infrastructure Related to project infrastructure label Apr 4, 2023
@per1234 per1234 added the type: enhancement Proposed improvement label Apr 4, 2023
@per1234 per1234 force-pushed the dependabot/pip/semver-3.0.0 branch from a0f62e8 to cedce1f Compare April 4, 2023 02:21
@codecov-commenter
Copy link

Codecov Report

Patch and project coverage have no change.

Comparison is base (8fd8403) 99.81% compared to head (cedce1f) 99.81%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #130   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files           2        2           
  Lines        1608     1608           
=======================================
  Hits         1605     1605           
  Misses          3        3           
Impacted Files Coverage Δ
compilesketches/compilesketches.py 99.54% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@per1234 per1234 merged commit a335766 into main Apr 4, 2023
@per1234 per1234 deleted the dependabot/pip/semver-3.0.0 branch April 4, 2023 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: infrastructure Related to project infrastructure type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants