* Sun Jan 09 2022 Ben Greiner <code@bnavigator.de>
- Back to bootstrap without pip
* Sun Jan 09 2022 Ben Greiner <code@bnavigator.de>
- Update to version 3.6
* flit_core now bundles the tomli TOML parser library (version
1.2.3) to avoid a circular dependency between flit_core and
tomli (:ghpull:`492`). This means flit_core now has no
dependencies except Python itself, both at build time and at
runtime, simplifying :doc:`bootstrapping <bootstrap>`.
- The above is not fully applicale to openSUSE, we debundle.
- Release notes for Version 3.5.1
* Fix development installs with flit install --symlink and
- -pth-file, which were broken in 3.5.0, especially for packages
using a src folder (:ghpull:`472`).
- Release notes for Version 3.5
* You can now use Flit to distribute a module or package inside a
namespace package (as defined by PEP 420). To do this, specify
the import name of the concrete, inner module you are packaging
- e.g. name = "sphinxcontrib.foo" - either in the [project]
table, or under [tool.flit.module] if you want to use a
different name on PyPI (:ghpull:`468`).
* Flit no longer generates a setup.py file in sdists (.tar.gz
packages) by default (:ghpull:`462`). Modern packaging tools
don't need this. You can use the --setup-py flag to keep adding
it for now, but this will probably be removed at some point in
the future.
* Fixed how flit init handles authors' names with non-ASCII
characters (:ghpull:`460`).
* When flit init generates a LICENSE file, the new pyproject.toml
now references it (:ghpull:`467`).
- Do not package tests
- Make it work with old python-rpm-macros
* Fri Oct 15 2021 Ben Greiner <code@bnavigator.de>
- Break build cycle by using upstream recommended bootstrap method
https://flit.readthedocs.io/en/latest/bootstrap.html
* Fri Oct 15 2021 Ben Greiner <code@bnavigator.de>
- Update to Version 3.4
* Python 3.6 or above is now required, both for flit and
flit_core.
* Add a --setup-py option to flit build and flit publish,
and a warning when neither this nor --no-setup-py are
specified (PR #431). A future version will stop
generating setup.py files in sdists by default.
* Add support for standardised editable installs - pip
install -e - according to PEP 660 (PR #400).
* Add a --pypirc option for flit publish to specify an
alternative path to a .pypirc config file describing
package indexes (PR #434).
* Fix installing dependencies specified in a [project]
table (PR #433)
* Fix building wheels when SOURCE_DATE_EPOCH (see
Reproducible builds) is set to a date before 1980 (PR
[#448]).
* Switch to using the tomli TOML parser, in common with
other packaging projects (PR #438). This supports TOML
version 1.0.
* Add a document on Bootstrapping (PR #441).
- Release Version 3.3
* PKG-INFO files in sdists are now generated the same way
as METADATA in wheels, fixing some issues with sdists
(PR #410).
* flit publish now sends SHA-256 hashes, fixing uploads
to GitLab package repositories (PR #416).
* The [project] metadata table from PEP 621 is now fully
supported and documented. Projects using this can now
specify requires = ["flit_core >=3.2,<4"] in the
[build-system] table.
- Multibuild: break another depcycle with
pytest/importlib-metadata/tomli
* Wed Apr 14 2021 Matthias Bach <marix@marix.org>
- Update to version 3.2
* Experimental support for specifying metadata in a [project] in
pyproject.toml table as specified by PEP-621.
* Fix writing METADATA file with multi-line information in
certain fields such as Author.
* Fix building wheel when a directory such as LICENSES appears
in the project root directory.
* Switch from the deprecated pytoml package to toml.
* Mon Oct 26 2020 Benjamin Greiner <code@bnavigator.de>
- Update to version 3.0
* flit_core once again requires Python 3 (>=3.4). Packages that
support Python 2 can still be built by flit_core 2.x, but can't
rely on new features (:ghpull:`342`).
- Kill dephell dependency
* Mon Mar 23 2020 Matej Cepl <mcepl@suse.com>
- Add macro %dephell_genspec to generate setup.py
* Sun Mar 15 2020 Tomá? Chvátal <tchvatal@suse.com>
- Fix generating with new dephell
* Wed Dec 18 2019 John Vandenberg <jayvdb@gmail.com>
- Remove dephell build workaround
* Mon Dec 16 2019 John Vandenberg <jayvdb@gmail.com>
- Initial spec for v2.1.0
Version: 3.12.0-160100.2.1
* 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.