./devel/py-flit_core, Distribution-building parts of Flit

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.10.1, Package name: py312-flit_core-3.10.1, Maintainer: pkgsrc-users

Flit is a simple way to put Python packages and modules on PyPI.

It tries to require less thought about packaging and help you avoid
common mistakes.

flit_core is the flit pep517 build backend, used as a build backend
for a lot of python packages including the build of the flit tool.


Master sites:

Filesize: 41.838 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-03 08:50:30 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
py-flit_core py-flit: updated to 3.10.1

Version 3.10.1

- The sdist of ``flit_core`` now includes the corresponding tests
  These were missing in 3.10.

Version 3.10

- ``flit publish`` can now use PyPI tokens stored in keyring
  either project tokens with a 'username' like
  :samp:`pypi_token:project:{project_name}` (use the `normalised form of the
  name \ 
<https://packaging.python.org/en/latest/specifications/name-normalization/>`_)
  or user tokens
- The ``--python`` option can now take the path of a virtualenv folder, as an
  alternative to a Python executable
- Flit will work with current development versions of Pythona again
- The ``flit`` command line package now requires Python 3.8 or above
  ``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
- The ``flit`` command line package now depends on pip
- Fix potential substitution of environment variables into passwords read from
  ``.pypirc`` files
- A warning is now shown when building packages which specify the old
  ``flit.buildapi`` backend, which should be replaced by ``flit_core.buildapi``
  build requirement, to protect against changes in future major versions of Flit.
- Avoid using the deprecated ``datetime.utcfromtimestamp()``
- Flit now has a ``SECURITY.md`` file in the Github repository
- The tests for ``flit_core`` are no longer part of the installed package,
  reducing the size of the wheels
   2023-10-25 23:46:36 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-flit_core: make this module standalone

This now needs no other Python modules to build and install.

This is relevant because py-flit_core is currently the recommended
method to bootstrap Python module distributions from scratch.

Bump PKGREVISION.
   2023-05-15 09:18:20 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-flit_core py_flit: updated to 3.9.0

Version 3.9

New options flit build --use-vcs and 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. Setting SOURCE_DATE_EPOCH is still \ 
recommended for properly reproducible builds.
   2022-11-14 10:09:27 by Adam Ciarcinski | Files touched by this commit (5) | Package updated
Log message:
py-flit_core py-flit: updated to 3.8.0

Version 3.8

A project name containing hyphens is now automatically translated to use \ 
underscores for the import name
New option flit install --only-deps to install the dependencies of the package, \ 
but not the package itself.
Add support for recursive globbing (**) in sdist includes and excludes
Python’s bytecode cache files (__pycache__ folders and .pyc files) are now \ 
always excluded from sdists
Use tomllib in Python 3.11, rather than tomli
Fix crash when unable to get a password from keyring
Fix including modified files in sdist when using Mercurial
Fix for some cases of determining whether a package supports Python 2 or not
Fix parsing version number from code using multiple assignments
Document how to use a PyPI token with FLIT_PASSWORD
Fix link to information about environment variables for pip
Link to the docs for the latest stable version in package metadata
Remove a mention of the toml package, which is no longer needed, from the \ 
Developing Flit page
The bootstrap install script for flit_core accepts a new --install-root option.
Ensure the license file is included in packages on PyPI
   2022-04-07 14:28:15 by Adam Ciarcinski | Files touched by this commit (7) | Package updated
Log message:
py-flit_core py-flit: updated to 3.7.1

Version 3.7.1

Fix building packages which need execution to get the version number, and have a \ 
relative import in __init__.py.

Version 3.7

Support for external data files such as man pages or Jupyter extension support files.
Project names are now lowercase in wheel filenames and .dist-info folder names, \ 
in line with the specification.
Improved support for bootstrapping a Python environment, e.g. for downstream \ 
packagers. flit_core.wheel is usable with python -m to create wheels before the \ 
build tool is available, and flit_core sdists also include a script to install \ 
itself from a wheel before installer is available.
Use newer importlib APIs, fixing some deprecation warnings
   2022-01-25 22:51:58 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-flit_core: wheel.mk is now standalone, remove extension.mk
   2022-01-11 22:49:03 by Niclas Rosenvik | Files touched by this commit (4)
Log message:
make py-flit_core use pep517 for building
   2022-01-10 20:28:26 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-flit_core: add setup.py