[Rpm-maint] [rpm-software-management/rpm] scripts/pythondistdeps: New test suite and various updates and fixes (#1195)

torsava notifications at github.com
Fri Apr 24 12:54:53 UTC 2020


Please do a review commit-by-commit. I changed indentation of a large part of the code, so the overall diff is hard to read.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/1195

-- Commit Summary --

  * scripts/pythondistdeps: Also provide pythonXdist() with PEP 503 normalized names
  * scripts/pythondistdeps: "Fix" support of environment markers
  * scripts/pythondistdeps: Notes from an attempted rewrite to importlib.metadata
  * scripts/pythondistdeps: Add option to generate major-version provides only for specified Python versions
  * scripts/pythondistdeps: Implement --normalized-name-* options
  * scripts/pythondistdeps: Add tests
  * scripts/pythondistdeps: Do anything only when called as a main script
  * scripts/pythondistdeps: Version handling exception with better information
  * scripts/pythondistdeps: Add the tests to the readme and makefile
  * scripts/pythondistdeps: Modify handling of dev versions

-- File Changes --

    M .gitignore (1)
    M scripts/pythondistdeps.py (463)
    M tests/Makefile.am (4)
    M tests/README (22)
    A tests/data/scripts_pythondistdeps/pyreq2rpm.tests-2020.04.07.024dab0-py3.9.egg-info/PKG-INFO (21)
    A tests/data/scripts_pythondistdeps/pyreq2rpm.tests-2020.04.07.024dab0-py3.9.egg-info/requires.txt (102)
    A tests/data/scripts_pythondistdeps/test-data.yaml (1174)
    A tests/data/scripts_pythondistdeps/test-requires.yaml (97)
    A tests/test_scripts_pythondistdeps.py (242)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/1195.patch
https://github.com/rpm-software-management/rpm/pull/1195.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1195
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200424/4df51bc5/attachment.html>


More information about the Rpm-maint mailing list