From 80afe3bdabcc949631d7cb4791bf5eccf494cbe9d94275fa38c94c909c8dcdaa Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Sep 2023 10:58:24 +0000 Subject: [PATCH] - update to 3.9.0: * New options :option:`flit build --use-vcs` and :option:`flit build --no-use-vcs` to enable & disable including all committed files in the sdist. For now --use-vcs is the default, but this is likely to change in a future version, to bring flit build in line with standard build frontends like python -m build * Sdist file names, and the name of the top-level folder in an sdist, are now normalised, in accordance with PEP 625 * A statically defined version number can now be parsed from files called version.py, _version.py or __version__.py inside a packge, as well as from __init__.py, so executing code is required in fewer cases * Fix setting the flag for regular files in zip metadata * The timestamp embedded in the gzip wrapper for sdists now defaults to a fixed date, so building an sdist twice on the same machine should produce identical results, even without any special steps. - skip install tests for better interoperability with PEP 668 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flit?expand=0&rev=23 --- flit-3.8.0.tar.gz | 3 --- flit-3.9.0.tar.gz | 3 +++ python-flit.changes | 24 +++++++++++++++++++++++- python-flit.spec | 6 +++--- 4 files changed, 29 insertions(+), 7 deletions(-) delete mode 100644 flit-3.8.0.tar.gz create mode 100644 flit-3.9.0.tar.gz diff --git a/flit-3.8.0.tar.gz b/flit-3.8.0.tar.gz deleted file mode 100644 index 2148261..0000000 --- a/flit-3.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d0f2a8f4bd45dc794befbf5839ecc0fd3830d65a57bd52b5997542fac5d5e937 -size 139496 diff --git a/flit-3.9.0.tar.gz b/flit-3.9.0.tar.gz new file mode 100644 index 0000000..f1f6f2f --- /dev/null +++ b/flit-3.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d75edf5eb324da20d53570a6a6f87f51e606eee8384925cd66a90611140844c7 +size 141104 diff --git a/python-flit.changes b/python-flit.changes index 28c92fe..bfd10e5 100644 --- a/python-flit.changes +++ b/python-flit.changes @@ -1,7 +1,29 @@ +------------------------------------------------------------------- +Thu Sep 7 10:50:43 UTC 2023 - Dirk Müller + +- update to 3.9.0: + * New options :option:`flit build --use-vcs` and :option:`flit + build --no-use-vcs` to enable & disable including all + committed files in the sdist. For now --use-vcs is the + default, but this is likely to change in a + future version, to bring flit build in line with standard + build frontends like python -m build + * Sdist file names, and the name of the top-level folder in an + sdist, are now normalised, in accordance with PEP 625 + * A statically defined version number can now be parsed from + files called version.py, _version.py or __version__.py inside + a packge, as well as from __init__.py, so executing code is + required in fewer cases + * Fix setting the flag for regular files in zip metadata + * The timestamp embedded in the gzip wrapper for sdists now + defaults to a fixed date, so building an sdist twice on the + same machine should produce identical results, even without + any special steps. + ------------------------------------------------------------------- Thu Aug 10 09:01:51 UTC 2023 - Dirk Müller -- skip install tests for better interoperability with PEP 668 +- skip install tests for better interoperability with PEP 668 ------------------------------------------------------------------- Wed May 10 06:11:46 UTC 2023 - Johannes Kastl diff --git a/python-flit.spec b/python-flit.spec index 8752ac1..dc590e2 100644 --- a/python-flit.spec +++ b/python-flit.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-flit -Version: 3.8.0 +Version: 3.9.0 Release: 0 Summary: Simplified packaging of Python modules License: BSD-3-Clause @@ -28,14 +28,14 @@ URL: https://github.com/pypa/flit Source: https://files.pythonhosted.org/packages/source/f/flit/flit-%{version}.tar.gz BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module docutils} -BuildRequires: %{python_module flit-core >= 3.8.0} +BuildRequires: %{python_module flit-core >= %{version}} BuildRequires: %{python_module pip} BuildRequires: %{python_module requests} BuildRequires: %{python_module tomli-w} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-docutils -Requires: python-flit-core >= 3.8.0 +Requires: python-flit-core >= %{version} Requires: python-requests Requires: python-tomli-w Requires(post): update-alternatives