Accepting request 1109506 from devel:languages:python

- 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/request/show/1109506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flit?expand=0&rev=12
This commit is contained in:
Ana Guerrero 2023-09-08 19:15:22 +00:00 committed by Git OBS Bridge
commit b03f61652e
4 changed files with 29 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0f2a8f4bd45dc794befbf5839ecc0fd3830d65a57bd52b5997542fac5d5e937
size 139496

BIN
flit-3.9.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,7 +1,29 @@
-------------------------------------------------------------------
Thu Sep 7 10:50:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <kastl@b1-systems.de>

View File

@ -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