pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-build



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Sep  7 12:07:18 UTC 2023

Modified Files:
        pkgsrc/devel/py-build: Makefile PLIST distinfo
        pkgsrc/devel/py-build/files: setup.py

Log Message:
py-build: updated to 1.0.3

1.0.3 (2023-09-06)
==================

- Avoid CPython 3.8.17, 3.9.17, 3.10.12, and 3.11.4 tarfile symlink bug
  triggered by adding ``data_filter`` in 1.0.0.

1.0.0 (2023-09-01)
==================

- Removed the ``toml`` library fallback; ``toml`` can no longer be used
  as a substitute for ``tomli``
- Added ``runner`` parameter to ``util.project_wheel_metadata``
- Modified ``ProjectBuilder`` constructor signature, added alternative
  ``ProjectBuilder.from_env`` constructor, redefined ``env.IsolatedEnv``
  interface, and exposed ``env.DefaultIsolatedEnv``, replacing
  ``env.IsolatedEnvBuilder``.  The aim has been to shift responsibility for
  modifying the environment from the project builder to the ``IsolatedEnv``
  entirely and to ensure that the builder will be initialised from an
  ``IsolatedEnv`` in a consistent manner.  Mutating the project builder is no
  longer supported.
- ``virtualenv`` is no longer imported when using ``-n``, for faster builds
- The SDist now contains the repository contents, including tests. Flit-core
  3.8+ required.
- The minimum version of ``importlib-metadata`` has been increased to 4.6 and
  Python 3.10 due to a bug in the standard library version with URL
  requirements in extras. This is still not required for 3.8 when bootstrapping
  (as long as you don't have URL requirements in extras).
- Docs now built with Sphinx 7
- Tests now contain a ``network`` marker
- Config-settings are now passed to ``get_requires*`` hooks, fixing a long
  standing bug. If this affects your setuptools build, you can use
  ``-C--build-option=<cmd> -C--build-option=<option>`` to workaround an issue
  with Setuptools not allowing unrecognised build options when running this
  hook.
- Test on Python 3.12 betas/RCs
- Filter out malicious files when extracting tar archives when Python supports it
- Specify encoding, fixing issues when ``PYTHONWARNDEFAULTENCODING`` is set.
- Ruff is now used for linting.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-build/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-build/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-build/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-build/files/setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-build/Makefile
diff -u pkgsrc/devel/py-build/Makefile:1.13 pkgsrc/devel/py-build/Makefile:1.14
--- pkgsrc/devel/py-build/Makefile:1.13 Wed Mar 29 09:34:06 2023
+++ pkgsrc/devel/py-build/Makefile      Thu Sep  7 12:07:18 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:06 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2023/09/07 12:07:18 adam Exp $
 
-DISTNAME=      build-0.10.0
+DISTNAME=      build-1.0.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/build/}
@@ -12,7 +12,6 @@ LICENSE=      mit
 
 DEPENDS+=      ${PYPKGPREFIX}-packaging>=19.0:../../devel/py-packaging
 DEPENDS+=      ${PYPKGPREFIX}-pyproject_hooks-[0-9]*:../../devel/py-pyproject_hooks
-DEPENDS+=      ${PYPKGPREFIX}-pep517>=0.9.1:../../devel/py-pep517
 
 USE_LANGUAGES= # none
 
@@ -21,7 +20,9 @@ USE_PKG_RESOURCES=    yes
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../lang/python/pyversion.mk"
-
+.if ${PYTHON_VERSION} < 310
+DEPENDS+=      ${PYPKGPREFIX}-importlib-metadata>=4.6:../../devel/py-importlib-metadata
+.endif
 .if ${PYTHON_VERSION} < 311
 DEPENDS+=      ${PYPKGPREFIX}-tomli>=1.0.0:../../textproc/py-tomli
 .endif

Index: pkgsrc/devel/py-build/PLIST
diff -u pkgsrc/devel/py-build/PLIST:1.2 pkgsrc/devel/py-build/PLIST:1.3
--- pkgsrc/devel/py-build/PLIST:1.2     Mon Apr 18 11:28:54 2022
+++ pkgsrc/devel/py-build/PLIST Thu Sep  7 12:07:18 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/04/18 11:28:54 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/09/07 12:07:18 adam Exp $
 bin/pyproject-build-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -12,6 +12,15 @@ ${PYSITELIB}/build/__init__.pyo
 ${PYSITELIB}/build/__main__.py
 ${PYSITELIB}/build/__main__.pyc
 ${PYSITELIB}/build/__main__.pyo
+${PYSITELIB}/build/_exceptions.py
+${PYSITELIB}/build/_exceptions.pyc
+${PYSITELIB}/build/_exceptions.pyo
+${PYSITELIB}/build/_importlib.py
+${PYSITELIB}/build/_importlib.pyc
+${PYSITELIB}/build/_importlib.pyo
+${PYSITELIB}/build/_util.py
+${PYSITELIB}/build/_util.pyc
+${PYSITELIB}/build/_util.pyo
 ${PYSITELIB}/build/env.py
 ${PYSITELIB}/build/env.pyc
 ${PYSITELIB}/build/env.pyo

Index: pkgsrc/devel/py-build/distinfo
diff -u pkgsrc/devel/py-build/distinfo:1.4 pkgsrc/devel/py-build/distinfo:1.5
--- pkgsrc/devel/py-build/distinfo:1.4  Tue Feb 14 16:10:02 2023
+++ pkgsrc/devel/py-build/distinfo      Thu Sep  7 12:07:18 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2023/02/14 16:10:02 adam Exp $
+$NetBSD: distinfo,v 1.5 2023/09/07 12:07:18 adam Exp $
 
-BLAKE2s (build-0.10.0.tar.gz) = 77fc4e90045a4533c0fb4468ea13a93691939162e185474c7e2726d57b598081
-SHA512 (build-0.10.0.tar.gz) = 7278b570fa1e1eb6e6d4c04298eee2917311a29f0d6e1497945f00b7d1028c4d932b3d74a533ef6aaa46d7d3f140dd7e5b3781c5fd62f5f828ed227d5ff77565
-Size (build-0.10.0.tar.gz) = 16465 bytes
+BLAKE2s (build-1.0.3.tar.gz) = c23531fe44e38f5df21d19ca2bc7b0471a3677ec7d69d3afa324d7db56f39fb6
+SHA512 (build-1.0.3.tar.gz) = 92179348078647c3162ca6fe2cc1ab374469ab1336feccc5486b50274014f4773006eb50d8d3300390f1442da474424c45002a71ce155b35d7f2b3c5b754a1bd
+Size (build-1.0.3.tar.gz) = 40797 bytes

Index: pkgsrc/devel/py-build/files/setup.py
diff -u pkgsrc/devel/py-build/files/setup.py:1.1 pkgsrc/devel/py-build/files/setup.py:1.2
--- pkgsrc/devel/py-build/files/setup.py:1.1    Tue Feb 14 16:10:02 2023
+++ pkgsrc/devel/py-build/files/setup.py        Thu Sep  7 12:07:18 2023
@@ -16,24 +16,26 @@ install_requires = \
 
 extras_require = \
 {':os_name == "nt"': ['colorama'],
+ ':python_version < "3.10"': ['importlib-metadata >= 4.6'],
  ':python_version < "3.11"': ['tomli >= 1.1.0'],
- ':python_version < "3.8"': ['importlib-metadata >= 0.22'],
- 'docs': ['furo >= 2021.08.31',
-          'sphinx ~= 4.0',
+ 'docs': ['furo >= 2023.08.17',
+          'sphinx ~= 7.0',
           'sphinx-argparse-cli >= 1.5',
-          'sphinx-autodoc-typehints >= 1.10'],
+          'sphinx-autodoc-typehints >= 1.10',
+          'sphinx-issues >= 3.0.0'],
  'test': ['filelock >= 3',
           'pytest >= 6.2.4',
           'pytest-cov >= 2.12',
           'pytest-mock >= 2',
           'pytest-rerunfailures >= 9.1',
           'pytest-xdist >= 1.34',
-          'toml >= 0.10.0',
           'wheel >= 0.36.0'],
  'test:python_version < "3.10"': ['setuptools >= 42.0.0'],
- 'test:python_version >= "3.10"': ['setuptools >= 56.0.0'],
+ 'test:python_version == "3.10"': ['setuptools >= 56.0.0'],
+ 'test:python_version == "3.11"': ['setuptools >= 56.0.0'],
+ 'test:python_version >= "3.12"': ['setuptools >= 67.8.0'],
  'typing': ['importlib-metadata >= 5.1',
-            'mypy == 0.991',
+            'mypy ~= 1.5.0',
             'tomli',
             'typing-extensions >= 3.7.4.3'],
  'virtualenv': ['virtualenv >= 20.0.35']}
@@ -43,7 +45,7 @@ entry_points = \
  'pipx.run': ['build = build.__main__:entrypoint']}
 
 setup(name='build',
-      version='0.10.0',
+      version='1.0.3',
       description='A simple, correct Python build frontend',
       author=None,
       author_email='Filipe Laíns <lains%riseup.net@localhost>, Bernát Gábor <gaborjbernat%gmail.com@localhost>, layday <layday%protonmail.com@localhost>, Henry Schreiner 
<henryschreineriii%gmail.com@localhost>',



Home | Main Index | Thread Index | Old Index