* Mon Feb 09 2026 daniel.garcia@suse.com
- Add pythons_for_pypi macro. This macro will help to build the python
minimal stack for different python versions.
* Thu Jan 29 2026 daniel.garcia@suse.com
- Use %bcond_with macro for test flavor
* Fri May 02 2025 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 2025 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 2025 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 2024 dmueller@suse.com
- add py312-avoid-using-utcfromtimestamp.patch,
py314-avoid-using-ast-str.patch
* Fri Feb 23 2024 dimstar@opensuse.org
- Use newly supported shrink{} on OBS to exclude python flavors
will all python versions skipped.
* Thu Sep 07 2023 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.
* Fri Apr 21 2023 dmueller@suse.com
- add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 mcepl@suse.com
- Make calling of %{sle15modernpython} optional.