aio-libs / aiomysql

aiomysql is a library for accessing a MySQL database from the asyncio
https://aiomysql.rtfd.io
MIT License
1.74k stars 255 forks source link

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

Open dvzrv opened 1 year ago

dvzrv commented 1 year ago

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 https://github.com/aio-libs/aiomysql/issues/809 and https://github.com/pypa/setuptools_scm/issues/745 have been fixed in https://github.com/pypa/setuptools_scm/commit/b7c0d0d04cd7fdd761eabcd3d16ce18b12d458d7 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

https://github.com/aio-libs/aiomysql/issues/809 https://github.com/pypa/setuptools_scm/issues/745

Checklist

codecov[bot] commented 1 year ago

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.

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

dvzrv commented 1 year ago

@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 commented 1 year ago

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

dvzrv commented 1 year ago

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

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