Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build-system requirements of setuptools-scm to >= 7.0.5 #872

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dvzrv
Copy link

@dvzrv dvzrv commented Nov 18, 2022

pyproject.toml:
Increase the build-system requirements of setuptools-scm to >= 7.0.5, which obsoletes setuptools-scm-git-archive.
Issues around the use of setuptools-scm as discussed in #809 and pypa/setuptools_scm#745
have been fixed in
pypa/setuptools_scm@b7c0d0d and relesed with
https://github.com/pypa/setuptools_scm/releases/tag/v7.0.5

What do these changes do?

Increase the build-system requirements of setuptools-scm to >= 7.0.5, which obsoletes setuptools-scm-git-archive.

Are there changes in behavior for the user?

setuptools-scm-git-archive is no longer required during build time.

Related issue number

#809
pypa/setuptools_scm#745

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

pyproject.toml:
Increase the build-system requirements of setuptools-scm to >= 7.0.5,
which obsoletes setuptools-scm-git-archive.
Issues around the use of setuptools-scm as discussed in
aio-libs#809 and
pypa/setuptools_scm#745
have been fixed in
pypa/setuptools_scm@b7c0d0d
and relesed with
https://github.com/pypa/setuptools_scm/releases/tag/v7.0.5
CHANGES.txt:
Add changelog entry about udpates to build-system requirements.
@codecov
Copy link

codecov bot commented Nov 18, 2022

Codecov Report

Merging #872 (2f1140a) into master (bb8697d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #872   +/-   ##
=======================================
  Coverage   93.64%   93.64%           
=======================================
  Files          36       36           
  Lines        5538     5538           
  Branches      895      895           
=======================================
  Hits         5186     5186           
  Misses        262      262           
  Partials       90       90           
Flag Coverage Δ
CI-GHA 93.24% <ø> (ø)
DB-mariadb-10.3 90.30% <ø> (ø)
DB-mariadb-10.4 90.30% <ø> (ø)
DB-mariadb-10.5 90.28% <ø> (ø)
DB-mariadb-10.6 90.28% <ø> (ø)
DB-mariadb-10.7 90.28% <ø> (ø)
DB-mariadb-10.8 90.28% <ø> (ø)
DB-mysql-5.7 90.98% <ø> (ø)
DB-mysql-8.0 92.37% <ø> (ø)
OS-Linux 93.24% <ø> (ø)
Py-3.10.8 93.15% <ø> (ø)
Py-3.11.0 93.15% <ø> (ø)
Py-3.7.15 92.78% <ø> (ø)
Py-3.8.14 93.18% <ø> (ø)
Py-3.9.15 93.02% <ø> (ø)
VM-ubuntu-latest 93.24% <ø> (ø)
ubuntu-latest_3.10_mariadb-10.3 90.21% <ø> (ø)
ubuntu-latest_3.10_mariadb-10.4 90.21% <ø> (ø)
ubuntu-latest_3.10_mariadb-10.5 90.19% <ø> (ø)
ubuntu-latest_3.10_mariadb-10.6 90.19% <ø> (ø)
ubuntu-latest_3.10_mariadb-10.7 90.19% <ø> (ø)
ubuntu-latest_3.10_mariadb-10.8 90.19% <ø> (ø)
ubuntu-latest_3.10_mysql-5.7 90.89% <ø> (ø)
ubuntu-latest_3.10_mysql-8.0 92.28% <ø> (ø)
ubuntu-latest_3.11_mariadb-10.3 90.21% <ø> (ø)
ubuntu-latest_3.11_mariadb-10.4 90.21% <ø> (ø)
ubuntu-latest_3.11_mariadb-10.5 90.19% <ø> (ø)
ubuntu-latest_3.11_mariadb-10.6 90.19% <ø> (ø)
ubuntu-latest_3.11_mariadb-10.7 90.19% <ø> (ø)
ubuntu-latest_3.11_mariadb-10.8 90.19% <ø> (ø)
ubuntu-latest_3.11_mysql-5.7 90.89% <ø> (ø)
ubuntu-latest_3.11_mysql-8.0 92.28% <ø> (ø)
ubuntu-latest_3.7_mariadb-10.3 89.66% <ø> (ø)
ubuntu-latest_3.7_mariadb-10.4 89.66% <ø> (ø)
ubuntu-latest_3.7_mariadb-10.5 89.64% <ø> (ø)
ubuntu-latest_3.7_mariadb-10.6 89.64% <ø> (ø)
ubuntu-latest_3.7_mariadb-10.7 89.64% <ø> (ø)
ubuntu-latest_3.7_mariadb-10.8 89.64% <ø> (ø)
ubuntu-latest_3.7_mysql-5.7 90.39% <ø> (ø)
ubuntu-latest_3.7_mysql-8.0 91.86% <ø> (ø)
ubuntu-latest_3.8_mariadb-10.3 90.25% <ø> (ø)
ubuntu-latest_3.8_mariadb-10.4 90.25% <ø> (ø)
ubuntu-latest_3.8_mariadb-10.5 90.23% <ø> (ø)
ubuntu-latest_3.8_mariadb-10.6 90.23% <ø> (ø)
ubuntu-latest_3.8_mariadb-10.7 90.23% <ø> (ø)
ubuntu-latest_3.8_mariadb-10.8 90.23% <ø> (ø)
ubuntu-latest_3.8_mysql-5.7 90.94% <ø> (ø)
ubuntu-latest_3.8_mysql-8.0 92.31% <ø> (ø)
ubuntu-latest_3.9_mariadb-10.3 90.09% <ø> (ø)
ubuntu-latest_3.9_mariadb-10.4 90.09% <ø> (ø)
ubuntu-latest_3.9_mariadb-10.5 90.07% <ø> (ø)
ubuntu-latest_3.9_mariadb-10.6 90.07% <ø> (ø)
ubuntu-latest_3.9_mariadb-10.7 90.07% <ø> (ø)
ubuntu-latest_3.9_mariadb-10.8 90.07% <ø> (ø)
ubuntu-latest_3.9_mysql-5.7 90.77% <ø> (ø)
ubuntu-latest_3.9_mysql-8.0 92.15% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dvzrv
Copy link
Author

dvzrv commented Dec 6, 2022

@Nothing4You since you seem to be the most active recently, could you have a look and merge this please? :)
We would like to drop the use of setuptools-scm-git-archive on Arch Linux :)

@Nothing4You
Copy link
Collaborator

thanks for the PR, I'll get to it soonish

@dvzrv
Copy link
Author

dvzrv commented Jan 2, 2023

thanks for the PR, I'll get to it soonish

@Nothing4You anything more I can do? Is the change okay this way?

Copy link
Member

@webknjaz webknjaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing updates to .git_archival.txt that the new version relies on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants