pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pdm



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb  8 22:40:37 UTC 2024

Modified Files:
        pkgsrc/devel/py-pdm: Makefile PLIST distinfo

Log Message:
py-pdm: updated to 2.12.3

Release v2.12.3 (2024-02-01)
----------------------------

Bug Fixes

- fix the package-type fixer won't update toml properly for "Nested Section Ordering Issue in TOML".
- Unable to force override a package if the package is required with extras.
- Failed to clone template repository if the URL contains the rev part.
- Handle legacy specifiers when converting from poetry project.

Documentation

- Fix typo in template docs

Release v2.12.2 (2024-01-21)
----------------------------

Bug Fixes

- Fix the auto fixer for package-type.
- Fix the wrong installation destination for header files when installing build requirements.
- Install header files into package namespace under `include` directory.

Release v2.12.1 (2024-01-17)
----------------------------

Bug Fixes

- Hotfix: missing `identifier` attribute for package type fixer.

Release v2.12.0 (2024-01-17)
----------------------------

Features & Improvements

- Allow excluding packages from the lockfile via `tool.pdm.resolution.excludes` setting, the dependencies will also be skipped.
- Rename `--no-lock` option to `--frozen-lockfile`.
- Add `--no-hashes` as the recommended option name in favor of `--without-hashes` for `pdm export` command.
- Add `--no-markers` to `export` command to exclude markers from the output.
- Allow initializing a project without extra project files, with a new builtin template "minimal". Run it with `pdm init minimal`.
- Change the warning category emitted by `deprecated_warning()` to `PDMDeprecationWarning`.
- Prereleases will be allowed if a prerelease version is pinned in the lockfile. This can be disabled by passing `--stable` option.
- Change `tracked_names` argument to keyword-only. Move `allow_prereleases` setting to `tool.pdm.resolution` table.
- Rename the `preferred_pins` argument of provider classes to `locked_candidates`, and deprecate the old name.
- Rename the `package-type` field under `tool.pdm` settings table to `distribution` to make it more clear.

Bug Fixes

- `tool.pdm.resolution` settings won't be honored when installing dependencies into the build environment.
- Fixed pdm list output containing full license text in some cases
- Fix the environment variable substitution for `cmd` scripts.
- Allow normal extension modules in wheel tags when the python is debug build.
- Don't use pypi.org when pypi.url is set.

Removals and Deprecations

- Remove deprecated methods from `Project`. Remove deprecated helper functions from `actions.py`.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/py-pdm/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-pdm/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-pdm/distinfo

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-pdm/Makefile
diff -u pkgsrc/devel/py-pdm/Makefile:1.18 pkgsrc/devel/py-pdm/Makefile:1.19
--- pkgsrc/devel/py-pdm/Makefile:1.18   Fri Nov 24 05:29:39 2023
+++ pkgsrc/devel/py-pdm/Makefile        Thu Feb  8 22:40:37 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.18 2023/11/24 05:29:39 adam Exp $
+# $NetBSD: Makefile,v 1.19 2024/02/08 22:40:37 adam Exp $
 
-DISTNAME=      pdm-2.10.4
+DISTNAME=      pdm-2.12.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pdm/}
@@ -13,6 +13,7 @@ LICENSE=      mit
 TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend-[0-9]*:../../devel/py-pdm_backend
 DEPENDS+=      ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
 DEPENDS+=      ${PYPKGPREFIX}-cachecontrol>=0.13.0:../../devel/py-cachecontrol
+DEPENDS+=      ${PYPKGPREFIX}-dep-logic>=0.0.2:../../misc/py-dep-logic
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-dotenv>=0.15:../../devel/py-dotenv
 DEPENDS+=      ${PYPKGPREFIX}-findpython>=0.4.0:../../lang/py-findpython
@@ -29,6 +30,7 @@ DEPENDS+=     ${PYPKGPREFIX}-unearth>=0.12.1
 DEPENDS+=      ${PYPKGPREFIX}-virtualenv>=20:../../devel/py-virtualenv
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpserver>=1.0.6:../../devel/py-test-httpserver
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-rerunfailures>=10.2:../../devel/py-test-rerunfailures
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.31.0:../../devel/py-test-xdist
 
@@ -54,8 +56,5 @@ post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} pdm pdm-${PYVERSSUFFIX} || ${TRUE}
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-pdm/PLIST
diff -u pkgsrc/devel/py-pdm/PLIST:1.5 pkgsrc/devel/py-pdm/PLIST:1.6
--- pkgsrc/devel/py-pdm/PLIST:1.5       Sun Oct 29 16:51:23 2023
+++ pkgsrc/devel/py-pdm/PLIST   Thu Feb  8 22:40:37 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2023/10/29 16:51:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2024/02/08 22:40:37 adam Exp $
 bin/pdm-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -171,6 +171,10 @@ ${PYSITELIB}/pdm/cli/templates/default/s
 ${PYSITELIB}/pdm/cli/templates/default/tests/__init__.py
 ${PYSITELIB}/pdm/cli/templates/default/tests/__init__.pyc
 ${PYSITELIB}/pdm/cli/templates/default/tests/__init__.pyo
+${PYSITELIB}/pdm/cli/templates/minimal/__init__.py
+${PYSITELIB}/pdm/cli/templates/minimal/__init__.pyc
+${PYSITELIB}/pdm/cli/templates/minimal/__init__.pyo
+${PYSITELIB}/pdm/cli/templates/minimal/pyproject.toml
 ${PYSITELIB}/pdm/cli/utils.py
 ${PYSITELIB}/pdm/cli/utils.pyc
 ${PYSITELIB}/pdm/cli/utils.pyo
@@ -262,9 +266,9 @@ ${PYSITELIB}/pdm/models/finder.pyo
 ${PYSITELIB}/pdm/models/in_process/__init__.py
 ${PYSITELIB}/pdm/models/in_process/__init__.pyc
 ${PYSITELIB}/pdm/models/in_process/__init__.pyo
-${PYSITELIB}/pdm/models/in_process/get_abi_tag.py
-${PYSITELIB}/pdm/models/in_process/get_abi_tag.pyc
-${PYSITELIB}/pdm/models/in_process/get_abi_tag.pyo
+${PYSITELIB}/pdm/models/in_process/get_abis.py
+${PYSITELIB}/pdm/models/in_process/get_abis.pyc
+${PYSITELIB}/pdm/models/in_process/get_abis.pyo
 ${PYSITELIB}/pdm/models/in_process/parse_setup.py
 ${PYSITELIB}/pdm/models/in_process/parse_setup.pyc
 ${PYSITELIB}/pdm/models/in_process/parse_setup.pyo
@@ -348,6 +352,9 @@ ${PYSITELIB}/pdm/resolver/__init__.pyo
 ${PYSITELIB}/pdm/resolver/core.py
 ${PYSITELIB}/pdm/resolver/core.pyc
 ${PYSITELIB}/pdm/resolver/core.pyo
+${PYSITELIB}/pdm/resolver/graph.py
+${PYSITELIB}/pdm/resolver/graph.pyc
+${PYSITELIB}/pdm/resolver/graph.pyo
 ${PYSITELIB}/pdm/resolver/providers.py
 ${PYSITELIB}/pdm/resolver/providers.pyc
 ${PYSITELIB}/pdm/resolver/providers.pyo

Index: pkgsrc/devel/py-pdm/distinfo
diff -u pkgsrc/devel/py-pdm/distinfo:1.16 pkgsrc/devel/py-pdm/distinfo:1.17
--- pkgsrc/devel/py-pdm/distinfo:1.16   Fri Nov 24 05:29:39 2023
+++ pkgsrc/devel/py-pdm/distinfo        Thu Feb  8 22:40:37 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2023/11/24 05:29:39 adam Exp $
+$NetBSD: distinfo,v 1.17 2024/02/08 22:40:37 adam Exp $
 
-BLAKE2s (pdm-2.10.4.tar.gz) = 042a936f7e417e9db9728db98fb036c3ba239c3856edb747bd59e519d3cf4805
-SHA512 (pdm-2.10.4.tar.gz) = 7e165f497a1cf1993554277ccf347410893f7635748d8d5a43dba1bc6156ea7655045c6ac865b96ff2e44d736b963fde5921a4710628201dd88c20d4fa7014f2
-Size (pdm-2.10.4.tar.gz) = 2589461 bytes
+BLAKE2s (pdm-2.12.3.tar.gz) = 12aff3db32ab0c7c8408249782936cdc078ed6374982e24b541b32ca525dafb3
+SHA512 (pdm-2.12.3.tar.gz) = de51b4ad3837c5e4e70691fb25117e62fde239fcb164c2e66808758d0e1543f756ff17ded0acec50a022aa57a0e71bdf7804982597abd071910ae557adaf9a5f
+Size (pdm-2.12.3.tar.gz) = 2599533 bytes



Home | Main Index | Thread Index | Old Index