Compare commits

2 Commits
1.1 ... main

4 changed files with 81 additions and 14 deletions

BIN
flit_core-3.12.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
flit_core-3.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,73 @@
-------------------------------------------------------------------
Fri May 2 14:17:24 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 3.12.0
* Support for license expressions using the AND and OR operators.
* Recognise __version__: str = "0.1" annotated assignments when
finding the version number.
* Clear error message when referring to a license file in a parent
directory, which is not supported.
-------------------------------------------------------------------
Fri Mar 14 12:32:28 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 3.11.0
* Support for SPDX license expressions and multiple license files,
as detailed in PEP 639:
license = "BSD-3-Clause"
license-files = ["LICENSE"]
For now, only a single license identifier is allowed. More complex
expressions describing multiple licenses & expressions may be supported
in a future version.
* The metadata format in produced packages is now version 2.4, to support
the expanded license information.
-------------------------------------------------------------------
Tue Jan 14 02:39:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.10.1:
* flit publish can now use PyPI tokens stored in keyring (PR #649), either
project tokens with a username like pypi_token:project:project_name
(use the normalised form of the name) or user tokens
(pypi_token:user:username).
* The --python option can now take the path of a virtualenv folder, as an
alternative to a Python executable (PR #667).
* Flit will work with current development versions of Pythona again
(PR #684).
* The flit command line package now requires Python 3.8 or above (PR #660).
flit_core still works with Python 3.6 or above.
* The metadata in packages now has the names of optional dependency
groups (“extras”) normalised, complying with version 2.3 of the metadata
standard (PR #676, PR #697).
* The flit command line package now depends on pip (PR #647).
* Fix potential substitution of environment variables into passwords read
from .pypirc files (PR #652).
* A warning is now shown when building packages which specify the old
flit.buildapi backend, which should be replaced by flit_core.buildapi
(PR #674). Its a good idea to always set a maximum version for the
build requirement, to protect against changes in future major versions
of Flit.
* Avoid using the deprecated datetime.utcfromtimestamp() (PR #682).
* Flit now has a SECURITY.md file in the Github repository (PR #665).
* The tests for flit_core are no longer part of the installed package,
reducing the size of the wheels (PR #691).
- Drop patches, included upstream:
* py312-avoid-using-utcfromtimestamp.patch
* py314-avoid-using-ast-str.patch
- We no longer need to remove the tests from the install.
-------------------------------------------------------------------
Sun Jun 30 19:09:04 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add py312-avoid-using-utcfromtimestamp.patch,
py314-avoid-using-ast-str.patch
-------------------------------------------------------------------
Fri Feb 23 12:20:15 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use newly supported shrink{} on OBS to exclude python flavors
will all python versions skipped.
-------------------------------------------------------------------
Thu Sep 7 10:50:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
@@ -52,8 +122,8 @@ Fri Jan 27 15:43:53 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
-------------------------------------------------------------------
Tue Nov 8 00:36:32 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to v3.8.0
- Update to v3.8.0
* Merge pull request #607 from pypa/relnotes-3.8
Add release notes for version 3.8
* Add --only-deps option to release notes

View File

@@ -1,7 +1,7 @@
#
# spec file
# spec file for package python-flit-core
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -29,8 +29,7 @@
%if "%{flavor}" == ""
%define pprefix python
%{expand:%%define skip_%{primary_python} 1}
# ... unless the build set is empty. (We can't use shrink server-side and any skips here or on project level may have left spaces)
%if "%{pythons}" == "" || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " "
%if "%{shrink:%{pythons}}" == ""
# Exclude for local osc build: unresolvable
%define python_module() empty-python-buildset
# Exclude for obs server
@@ -53,7 +52,7 @@ ExclusiveArch: do-not-build
%endif
%{?sle15_python_module_pythons}
Name: %{pprefix}-flit-core%{?psuffix}
Version: 3.9.0
Version: 3.12.0
Release: 0
Summary: Distribution-building parts of Flit
License: BSD-3-Clause AND MIT
@@ -89,7 +88,7 @@ This provides a PEP 517 build backend for packages using Flit.
The only public interface is the API specified by PEP 517, at flit_core.buildapi.
%prep
%setup -q -n flit_core-%{version}
%autosetup -p2 -n flit_core-%{version}
%if "%{flavor}" != "test"
%build
@@ -101,8 +100,6 @@ $mypython -m flit_core.wheel
%{python_expand #
mkdir -p %{buildroot}%{$python_sitelib}
$python bootstrap_install.py dist/flit_core-%{version}-py3-none-any.whl -i %{buildroot}%{$python_sitelib}
# Don't package the tests
rm -r %{buildroot}%{$python_sitelib}/flit_core/tests
}
%{?python_compileall}
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -118,7 +115,7 @@ rm flit_core/*.py pyproject.toml
%if "%{flavor}" != "test"
%files %{python_files}
%{python_sitelib}/flit_core
%{python_sitelib}/flit_core-%{version}*-info
%{python_sitelib}/flit_core-%{version}.dist-info
%endif
%changelog