Commit Graph

18 Commits

Author SHA256 Message Date
aeb3cb44c9 - Add findpython-022.patch to make package work with findpython
0.2.2 (from gh#pdm-project/pdm#1516).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=22
2022-11-16 08:59:17 +00:00
7e8fb22f0e - Skip failing test (gh#pdm-project/pdm#1516).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=21
2022-11-15 19:09:48 +00:00
6012aa11fa Accepting request 1034886 from home:yarunachalam:branches:devel:languages:python
- Update to v2.2.1 
  Features & Improvements#
  * Make sitecustomize.py respect the PDM_PROJECT_MAX_DEPTH environment variable #1471
  Bug Fixes#
  * Fix the comparison of python_version in the environment marker. When the version contains only one digit, the result was incorrect. #1484
- Update to v2.2.0
  Features & Improvements#
  * Add venv.prompt configuration to allow customizing prompt when a virtualenv is activated #1332
  * Allow the use of custom CA certificates per publish repository using ca_certs or from the command line via pdm publish --ca-certs <path> .... #1392
  * Rename the plugin command to self, and it can not only manage plugins but also all dependencies. Add a subcommand self update to update PDM itself. #1406
  * Allow pdm init to receive a Python path or version via --python option. #1412
  * Add a default value for requires-python when importing from other formats. #1426
  * Use pdm instead of pip to resolve and install build requirements. So that PDM configurations can control the process. #1429
  * Customizable color theme via pdm config command. #1450
  * A new pdm lock --check flag to validate whether the lock is up to date. #1459
  * Add both option and config item to ship pip when creating a new venv. #1463
  * Issue warning and skip the requirement if it has the same name as the current project. #1466
  * Enhance the pdm list command with new formats: --csv,--markdown and add options --fields,--sort to control the output contents. Users can also include
    licenses in the --fields option to display the package licenses. #1469
  * A new pre-commit hook to run pdm lock --check in pre-commit. #1471
  Bug Fixes#
  * Fix the issue that relative paths don't work well with --project argument. #1220
  * It is now possible to refer to a package from outside the project with relative paths in dependencies. #1381
  * Ensure pypi.[ca,client]_cert[s] config items are passed to distribution builder install steps to allow for custom PyPI index sources with
    self signed certificates. #1396
  * Fix a crash issue when depending on editable packages with extras. #1401
  * Do not save the python path when using non-interactive mode in pdm init. #1410
  * Fix the matching of python* command in pdm run. #1414
  * Show the Python path, instead of the real executable, in the Python selection menu. #1418
  * Fix the HTTP client of package publishment to prompt for password and read PDM configurations correctly. #1430

OBS-URL: https://build.opensuse.org/request/show/1034886
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=20
2022-11-10 10:47:34 +00:00
b955d945dc - Update to v2.1.5
* Ensure pypi.[ca,client]_cert[s] config items are passed to distribution
    builder install steps to allow for custom PyPI index sources with self
    signed certificates. #1396
  * Fix a crash issue when depending on editable packages with extras. #1401
  * Do not save the python path when using non-interactive mode in pdm init.
    #1410
  * Restrict importlib-metadata (<5.0.0) for Python <3.8 #1411

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=18
2022-10-05 09:58:05 +00:00
04ead52648 Accepting request 1008034 from home:yarunachalam:branches:devel:languages:python
- Update to v2.1.4 (2022-09-17)
  Bug Fixes
  Fix a lock failure when depending on self with URL requirements. #1347
  Ensure list to concatenate args for composite scripts. #1359
  Fix an error in pdm lock --refresh if some packages has URLs. #1361
  Fix unnecessary package downloads and VCS clones for certain commands. #1370
  Fix a conversion error when converting a list of conditional dependencies from a Poetry format. #1383
  Documentation
  Adds a section to the docs on how to correctly work with PDM and version control systems. #1364
- Update to v2.1.3 (2022-08-30)
  Features & Improvements
  When adding a package to (or removing from) a group, enhance the formatting of the group name in the printed message. #1329
  Bug Fixes
  Fix a bug of missing hashes for packages with file:// links the first time they are added. #1325
  Ignore invalid values of data-requires-python when parsing package links. #1334
  Leave an incomplete project metadata if PDM fails to parse the project files, but emit a warning. #1337
  Fix the bug that editables package isn't installed for self package. #1344
  Fix a decoding error for non-ASCII characters in package description when publishing it. #1345
  Documentation
  Clarify documentation explaining setup-script, run-setuptools, and is-purelib. #1327

OBS-URL: https://build.opensuse.org/request/show/1008034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=17
2022-10-05 09:46:36 +00:00
6e8f9ac71c Accepting request 995206 from home:bnavigator:branches:devel:languages:python
- Update to v2.1.2
  * Fix a bug that dependencies from different versions of the same
    package override each other. #1307
  * Forward SIGTERM to child processes in pdm run. #1312
  * Fix errors when running on FIPS 140-2 enabled systems using
    Python 3.9 and newer. #1313
  * Fix the build failure when the subprocess outputs with non-UTF8
    characters. #1319
  * Delay the trigger of post_lock for add and update operations,
    to ensure the pyproject.toml is updated before the hook is run.
    #1320
- Release 2.1.1
  * Add a env_file.override option that allows the user to specify
    that the env_file should override any existing environment
    variables. This is not the default as the environment the code
    runs it should take precedence. #1299
  * Fix a bug that unnamed requirements can't override the old ones
    in either add or update command. #1287
  * Support mutual TLS to private repositories via pypi.client_cert
    and pypi.client_key config options. #1290
  * Set a minimum version for the packaging dependency to ensure
    that packaging.utils.parse_wheel_filename is available. #1293
  * Fix a bug that checking for PDM update creates a venv. #1301
  * Prefer compatible packages when fetching metadata. #1302
- Release 2.1.0
  * Allow the use of custom CA certificates using the pypi.ca_certs
    config entry. #1240
  * Add pdm export to available pre-commit hooks. #1279
  * Skip incompatible requirements when installing build
    dependencies. #1264

OBS-URL: https://build.opensuse.org/request/show/995206
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=15
2022-08-17 16:37:18 +00:00
Steve Kowalik
a50e15c800 Accepting request 983784 from home:bnavigator:branches:devel:languages:python
- Fix runtime requirements, test by removing build requirements and
  let it pull in in test flavors.

OBS-URL: https://build.opensuse.org/request/show/983784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=13
2022-06-20 00:43:13 +00:00
Steve Kowalik
b024b73ecb Remove patch, skip test test_use_command
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=11
2022-06-17 07:43:14 +00:00
Steve Kowalik
6f1b75f282 Add base as a test requirement
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=10
2022-06-17 07:07:26 +00:00
Steve Kowalik
35a5b9dea4 Update instrumentation-test-case
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=9
2022-06-17 06:42:06 +00:00
Steve Kowalik
e985f6c013 - Add patch instrumentation-test-case.patch:
* Instrument a test case for ease of debugging.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=8
2022-06-17 03:03:04 +00:00
Steve Kowalik
0b8863642a Require >= 0.5 of python-installer
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=7
2022-06-16 08:25:02 +00:00
Steve Kowalik
5000b9980b - Update to 1.15.2:
* Fix a defect in the resolution preferences that causes an infinite
    resolution loop. #1119
  * Update the poetry importer to support the new [tool.poetry.build] config
    table. #1131
  * Fix a bug where dependencies with requires-python pre-release versions 
    caused pdm update to fail with InvalidPyVersion. #1111
  * Fix a bug that dependencies are missing from the dep graph when they are
    depended by a requirement with extras. #1097
  * Allow specifying lockfile other than pdm.lock by --lockfile option or
    PDM_LOCKFILE env var. #1038
  * Ensure the pip module inside venv in installation script. #1053
  * Fix a bug that file paths in URLs are not correctly unquoted. #1073
  * Fix a bug on Python 3.11 that overriding an existing command from plugins
    raises an error. #1075
  * Fix a bug of missing subdirectory fragment when importing from a
    requirements.txt. #1036
  * Fix use_cache.json with corrupted python causes pdm use error. #1039
  * Fix a bug that requirement with extras isn't resolved to the version as
    specified by the range. #1001
  * Support installer 0.5.x. #1002
  * Don't create project files in pdm search command. #993
  * Fix a bug that the env vars in source urls in exported result are not
    expanded. #997
  * Don't follow symlinks for the paths in the requirement strings. #976
  * Fix a bug that _.site_packages is overridden by default option value. #985
  * Filter out the unmatched python versions when listing the available
    versions. #941
  * Fix a bug displaying the available python versions. #943
  * Fix a bug under non-UTF8 console encoding. #960
  * Fix a bug that data files are not copied to the destination when using
    installation cache. #961
  * Switch from pythonfinder to findpython as the Python version finder. #930
  * Fix a regression issue that prereleases can't be installed if the version
    specifier of the requirement doesn't imply that. #920
  * Fix a race condition in parallel installation by changing metadata to a
    lazy property. This fixes a bug that incompatible wheels are installed
    unexpectedly. #924
  * Fix a bug that incompatible platform-specific wheels are installed. #921
  * Fix the compatibility issue with pip>=22.0. #875
  * Fix the hash calculation when generating direct_url.json for a local
    pre-built wheel. #861
  * Reduce the number of tests that require network, and mark the rest with
    network marker. #858 
- Remove artifacts.tar.gz, it is now included in the source tarball.
- Drop patches because they are included upstream:
  * mark-network-tests.patch
  * mark-tests-path.patch
  * sys-exec-failures.patch
- Switch to multibuild per Python version since the testsuite takes
  approximately seven eons.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=6
2022-06-15 01:55:32 +00:00
Dominique Leuenberger
9b142b41b1 Accepting request 948488 from devel:languages:python
- My ad-hoc patch failed_test_use_command.patch replaced by the
  upstream mark-tests-path.patch (from
  gh#pdm-project/pdm#commit/23f1cf62a302 and gh#pdm-project/pdm#865).
- By downgrading python-installer to 0.3 we have eliminated
  number of failed tests.
- Replacing mark-network-tests.patch with the upstream PR
  (gh#pdm-project/pdm#864), which unfortunately leaves a lot of
  tests still failing.
- Add mark-network-tests.patch for skipping network-requiring
  tests (gh#pdm-project/pdm#858). This is a very shotgun
  approach, just mark everything which fails.
- Add sys-exec-failures.patch to fix problems with the version
  number of Python 3.10 (gh#pdm-project/pdm#865).
- Initial packaging effort for pdm 1.12.6

OBS-URL: https://build.opensuse.org/request/show/948488
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pdm?expand=0&rev=1
2022-02-03 22:16:36 +00:00
dd89e2cd8e Skip over test_use_python_by_version as well.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=4
2022-01-24 21:39:36 +00:00
dc692a2afd - My ad-hoc patch failed_test_use_command.patch replaced by the
upstream mark-tests-path.patch (from
  gh#pdm-project/pdm#commit/23f1cf62a302 and gh#pdm-project/pdm#865).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=3
2022-01-24 09:39:50 +00:00
15cc59fe47 Run cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=2
2022-01-23 23:45:49 +00:00
8c09ff3b37 Accepting request 948281 from home:mcepl:branches:devel:languages:python
Required for python-flufl.* updates.

-------------------------------------------------------------------
Sun Jan 23 20:56:10 UTC 2022 - Matej Cepl <mcepl@suse.com>

- By downgrading python-installer to 0.3 we have eliminated
  number of failed tests.

-------------------------------------------------------------------
Sun Jan 23 00:55:41 UTC 2022 - Matej Cepl <mcepl@suse.com>

- Replacing mark-network-tests.patch with the upstream PR
  (gh#pdm-project/pdm#864), which unfortunately leaves a lot of
  tests still failing.

-------------------------------------------------------------------
Fri Jan 21 01:35:33 UTC 2022 - Matej Cepl <mcepl@suse.com>

- Add mark-network-tests.patch for skipping network-requiring
  tests (gh#pdm-project/pdm#858). This is a very shotgun
  approach, just mark everything which fails.
- Add sys-exec-failures.patch to fix problems with the version
  number of Python 3.10 (gh#pdm-project/pdm#865).

-------------------------------------------------------------------
Thu Jan 20 18:51:14 UTC 2022 - Matej Cepl <mcepl@suse.com>

- Initial packaging effort for pdm 1.12.6

OBS-URL: https://build.opensuse.org/request/show/948281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=1
2022-01-23 23:11:46 +00:00