./devel/py-setuptools, New Python packaging system

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


Branch: CURRENT, Version: 69.2.0, Package name: py311-setuptools-69.2.0, Maintainer: pkgsrc-users

setuptools is a collection of enhancements to the Python distutils
that allow you to more easily build and distribute Python packages,
especially ones that have dependencies on other packages.

DEINSTALL [+/-]

Required to run:
[textproc/py-expat] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 2170.85 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-16 18:42:21 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-setuptools: updated to 69.2.0

v69.2.0

Features

- Explicitly use ``encoding="locale"`` for ``.pth`` files whenever \ 
possible,
  to  reduce ``EncodingWarnings``.
  This avoid errors with UTF-8 (see discussion in python/cpython-77102).

Bugfixes

- Clarify some `pkg_resources` methods return `bytes`, not `str`. Also return an \ 
empty `bytes` in ``EmptyProvider._get``
- Return an empty `list` by default in \ 
``pkg_resources.ResourceManager.cleanup_resources``
- Made ``pkg_resoursces.NullProvider``'s ``has_metadata`` and ``metadata_isdir`` \ 
methods return actual booleans like all other Providers.
   2024-02-23 13:18:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-setuptools: updated to 69.1.1

v69.1.1

Bugfixes

- Fix argument order of ``--config-settings["--build-option"]`` arguments.
   2024-02-12 14:05:29 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-setuptools: updated to 69.1.0

v69.1.0
=======

Features
--------
- Updated and removed obsolete Python < 3.8 code and comments.
- Updated `pkg_resources` to use stdlib `importlib.machinery` instead of \ 
``importlib_machinery``

Bugfixes
--------
- In tests, rely on pytest-home for reusable fixture.
- Explicitely marked as ``Protocol`` and fixed missing ``self`` argument in \ 
interfaces ``pkg_resources.IMetadataProvider`` and \ 
``pkg_resources.IResourceProvider``
- Restored expectation that egg-link files would be named with dash separators \ 
for compatibility with pip prior to version 24.

Improved Documentation
----------------------
- Updated documentation referencing obsolete Python 3.7 code.
- Changed ``versionadded`` for "Type information included by default" \ 
feature from ``v68.3.0`` to ``v69.0.0``
- Described the auto-generated files
- Updated "Quickstart" to describe the current status of ``setup.cfg`` \ 
and ``pyproject.toml``
   2023-12-30 17:20:19 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-setuptools: convert to wheel.mk

Standardizes this package a lot. Stops download in install phase.

Bump PKGREVISION.
   2023-12-28 18:18:58 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-setuptools: updated to 69.0.3

v69.0.3

Bugfixes
Retain valid names with underscores in egg_info.
   2023-11-27 10:58:35 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-setuptools: updated to 69.0.2

v69.0.2

Bugfixes

Added missing estimated date for removing setuptools.dep_util (deprecated in \ 
v69.0.0).

v69.0.1

Bugfixes

Fixed imports of setuptools.dep_util.newer_group. A deprecation warning is \ 
issued instead of a hard failure.

v69.0.0

Features

Include type information (py.typed, *.pyi) by default
Exported distutils.dep_util and setuptools.dep_util through setuptools.modified

Bugfixes

Replaced hardcoded numeric values with :obj:`dis.opmap`, fixing problem with \ 
3.13.0a1.

Deprecations and Removals

Configuring project version and egg_info.tag_* in such a way that results in \ 
invalid version strings (according to PEP 440) is no longer permitted.
Removed deprecated egg_base option from dist_info. Note that the dist_info \ 
command is considered internal to the way setuptools build backend works and not \ 
intended for public usage.
The parsing of the deprecated metadata.license_file and metadata.requires fields \ 
in setup.cfg is no longer supported. Users are expected to move to \ 
metadata.license_files and options.install_requires (respectively).
Passing config_settings to setuptools.build_meta with deprecated values for \ 
--global-option is no longer allowed.
Removed deprecated namespace-packages from pyproject.toml. Users are asked to \ 
use :doc:`implicit namespace packages \ 
<PyPUG:guides/packaging-namespace-packages>` (as defined in PEP 420).
Added strict enforcement for project.dynamic in pyproject.toml. This removes the \ 
transitional ability of users configuring certain parameters via setup.py \ 
without making the necessary changes to pyproject.toml (as mandated by PEP 621).
Removed handling of --config-settings["--build-option"] in \ 
setuptools.build_meta from build-backend API hooks other than build_wheel. This \ 
was motivate by errors caused when passing this option.
   2023-10-23 08:39:18 by Thomas Klausner | Files touched by this commit (2)
Log message:
py-setuptools: adapt for Python base package change

While here, make this package standalone, depending only on the pip
coming with Python (and not distutils).

This adds support for Python 3.12.

Bump PKGREVISION.
   2023-10-14 12:47:56 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-setuptools: updated to 68.2.2

v68.2.2

Bugfixes

Improve backwards compatibility with deprecated CLI practices.

v68.2.1

Bugfixes

Avoid using caching attributes in Distribution.metadata for requirements. This \ 
is done for backwards compatibility with customizations that attempt to modify \ 
install_requires or extras_require at a late point (still not recommended).

v68.2.0

Features

Rework how setuptools internally handles dependencies/install_requires and \ 
optional-dependencies/extras_require.
Improve the generated PKG-INFO files, by adding Requires-Dist fields. \ 
Previously, these fields would be omitted in favour of a non-standard \ 
*.egg-info/requires.txt file (which is still generated for the time being).
Improve atomicity when writing PKG-INFO files to avoid race conditions with \ 
importlib.metadata.

Bugfixes

Fix the name given to the *-nspkg.pth files in editable installs, ensuring they \ 
are unique per distribution.
Workaround some limitations on pkg_resources-style legacy namespaces in the meta \ 
path finder for editable installations.