Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
4362b05ea3 | |||
70d6b6e68d |
BIN
flit_core-3.12.0.tar.gz
(Stored with Git LFS)
Normal file
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)
BIN
flit_core-3.9.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -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). It’s 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>
|
Thu Sep 7 10:50:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -29,8 +29,7 @@
|
|||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
%define pprefix python
|
%define pprefix python
|
||||||
%{expand:%%define skip_%{primary_python} 1}
|
%{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 "%{shrink:%{pythons}}" == ""
|
||||||
%if "%{pythons}" == "" || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " " || "%{pythons}" == " "
|
|
||||||
# Exclude for local osc build: unresolvable
|
# Exclude for local osc build: unresolvable
|
||||||
%define python_module() empty-python-buildset
|
%define python_module() empty-python-buildset
|
||||||
# Exclude for obs server
|
# Exclude for obs server
|
||||||
@@ -53,7 +52,7 @@ ExclusiveArch: do-not-build
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: %{pprefix}-flit-core%{?psuffix}
|
Name: %{pprefix}-flit-core%{?psuffix}
|
||||||
Version: 3.9.0
|
Version: 3.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Distribution-building parts of Flit
|
Summary: Distribution-building parts of Flit
|
||||||
License: BSD-3-Clause AND MIT
|
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.
|
The only public interface is the API specified by PEP 517, at flit_core.buildapi.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n flit_core-%{version}
|
%autosetup -p2 -n flit_core-%{version}
|
||||||
|
|
||||||
%if "%{flavor}" != "test"
|
%if "%{flavor}" != "test"
|
||||||
%build
|
%build
|
||||||
@@ -101,8 +100,6 @@ $mypython -m flit_core.wheel
|
|||||||
%{python_expand #
|
%{python_expand #
|
||||||
mkdir -p %{buildroot}%{$python_sitelib}
|
mkdir -p %{buildroot}%{$python_sitelib}
|
||||||
$python bootstrap_install.py dist/flit_core-%{version}-py3-none-any.whl -i %{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_compileall}
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
@@ -118,7 +115,7 @@ rm flit_core/*.py pyproject.toml
|
|||||||
%if "%{flavor}" != "test"
|
%if "%{flavor}" != "test"
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/flit_core
|
%{python_sitelib}/flit_core
|
||||||
%{python_sitelib}/flit_core-%{version}*-info
|
%{python_sitelib}/flit_core-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user