diff --git a/.gitignore b/.gitignore index 58df7ba..45fb183 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /flit-3.4.0.tar.gz /flit-3.5.1.tar.gz /flit-3.7.1.tar.gz +/flit-3.8.0.tar.gz diff --git a/python-flit.spec b/python-flit.spec index 643c210..2f35431 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -4,8 +4,8 @@ %global srcname flit Name: python-%{srcname} -Version: 3.7.1 -Release: 5%{?dist} +Version: 3.8.0 +Release: 1%{?dist} Summary: Simplified packaging of Python modules # ./flit/log.py under ASL 2.0 license @@ -23,9 +23,6 @@ BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros >= 0-40 BuildRequires: python3-pip -# Runtime deps needed to build self -BuildRequires: python3-tomli - %if %{with tests} # Runtime deps, others BuildRequires: python3-requests @@ -76,8 +73,6 @@ Recommends: python3-pygments %package -n python3-%{srcname}-core Summary: PEP 517 build backend for packages using Flit Conflicts: python3-%{srcname} < 2.1.0-2 -# We manually specify this, because it's bundled upstream and not in the metadata -Requires: python3-tomli %description -n python3-%{srcname}-core This provides a PEP 517 build backend for packages using Flit. @@ -88,13 +83,9 @@ at flit_core.buildapi. %prep %autosetup -p1 -n %{srcname}-%{version} -# Remove vendored tomli that flit_core includes to solve the circular dependency. +# Remove vendored tomli that flit_core includes to solve the circular dependency on older Pythons # (flit_core requires tomli, but flit_core is needed to build tomli). -# We don't use this, as python3-tomli already has its own bootstrap bcond -# to build without flit_core. -# -# flit's tests already require tomli, so we're pulling it in at buildtime anyways. -sed -i 's|from \.vendor import tomli|import tomli|' flit_core/flit_core/config.py +# We don't use this, as tomllib is a part of standard library since Python 3.11. rm -rf flit_core/flit_core/vendor %build @@ -145,6 +136,10 @@ export XDG_CACHE_HOME=$PWD/fake_cache %changelog +* Thu Nov 10 2022 Tomáš Hrnčiar - 3.8.0-1 +- Update to 3.8.0 +- Fixes: rhbz#2140390 + * Fri Jul 22 2022 Fedora Release Engineering - 3.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 573f527..017d269 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flit-3.7.1.tar.gz) = e38162696a24a0f8d9a61f3364c2ada9c8024309b02138af66c53790e14f88bf285822ea85d6634e85f88d9712eaad039bb5dcbbd1ac1f87bce6b2790bd96d6f +SHA512 (flit-3.8.0.tar.gz) = c4af79e1511e647303dc6b0913d8526586580db8d916aa7c4a52a9ebb281b375b6082e961ac8be05c0fc8ffdd8c3ec858fcba4e7faea25f465895288fa09c355