python-inspector 0.12.0__tar.gz → 0.13.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python-inspector-0.12.0 → python_inspector-0.13.1}/.github/workflows/pypi-release.yml +4 -4
- {python-inspector-0.12.0 → python_inspector-0.13.1}/CHANGELOG.rst +15 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/Makefile +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/NOTICE +21 -2
- {python-inspector-0.12.0 → python_inspector-0.13.1}/PKG-INFO +121 -8
- python_inspector-0.13.1/README.rst +187 -0
- python_inspector-0.13.1/azure-pipelines.yml +54 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/configure +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/configure.bat +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/source/test-protocol.rst +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/requirements_builder.ABOUT +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/setup.cfg +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/__init__.py +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/models.py +2 -2
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/pypi.py +6 -6
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/pypi_setup_py.py +6 -6
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/utils.py +4 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/__init__.py +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/api.py +2 -2
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/cli_utils.py +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/error.py +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/package_data.py +4 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/resolution.py +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/resolve_cli.py +4 -4
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/utils.py +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/utils_pip_compatibility_tags.py.ABOUT +1 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/utils_pypi.py +6 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector.egg-info/PKG-INFO +121 -8
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector.egg-info/SOURCES.txt +2 -0
- python_inspector-0.13.1/tests/data/azure-devops.req-310-expected.json +2629 -0
- python_inspector-0.13.1/tests/data/azure-devops.req-312-expected.json +2629 -0
- python_inspector-0.13.1/tests/data/azure-devops.req-313-expected.json +2629 -0
- python_inspector-0.13.1/tests/data/azure-devops.req-38-expected.json +2631 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/default-url-expected.json +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/environment-marker-test-requirements.txt-expected.json +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/example-requirements-ignore-errors-expected.json +136 -140
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/frozen-requirements.txt-expected.json +26 -26
- python_inspector-0.13.1/tests/data/insecure-setup/setup.py-expected.json +446 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/insecure-setup-2/setup.py-expected.json +52 -50
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/pdt-requirements.txt-expected.json +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/pinned-pdt-requirements.txt-expected.json +105 -101
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/pinned-requirements.txt-expected.json +109 -105
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/prefer-source-expected.json +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup/no-direct-dependencies-setup.py-expected.json +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup/simple-setup.py-expected.json +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup/spdx-setup.py-expected.json +40 -113
- python_inspector-0.13.1/tests/data/single-url-except-simple-expected.json +1085 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/single-url-expected.json +3 -3
- python_inspector-0.13.1/tests/data/test-api-expected.json +740 -0
- python_inspector-0.13.1/tests/data/test-api-pdt-expected.json +752 -0
- python_inspector-0.13.1/tests/data/test-api-with-lief-python-312.json +67 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/test-api-with-partial-setup-py.json +18 -16
- python_inspector-0.13.1/tests/data/test-api-with-prefer-source.json +390 -0
- python_inspector-0.13.1/tests/data/test-api-with-python-311.json +390 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/test-api-with-recursive-requirement-file.json +20 -20
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/test-api-with-requirement-file.json +24 -24
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/tilde_req-expected.json +3 -3
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_api.py +12 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_cli.py +19 -1
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_codestyle.py +4 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_resolution.py +28 -28
- python-inspector-0.12.0/README.rst +0 -75
- python-inspector-0.12.0/azure-pipelines.yml +0 -64
- python-inspector-0.12.0/tests/data/azure-devops.req-310-expected.json +0 -2595
- python-inspector-0.12.0/tests/data/azure-devops.req-312-expected.json +0 -2595
- python-inspector-0.12.0/tests/data/azure-devops.req-38-expected.json +0 -2595
- python-inspector-0.12.0/tests/data/insecure-setup/setup.py-expected.json +0 -514
- python-inspector-0.12.0/tests/data/single-url-except-simple-expected.json +0 -1107
- python-inspector-0.12.0/tests/data/test-api-expected.json +0 -750
- python-inspector-0.12.0/tests/data/test-api-pdt-expected.json +0 -762
- python-inspector-0.12.0/tests/data/test-api-with-prefer-source.json +0 -395
- python-inspector-0.12.0/tests/data/test-api-with-python-311.json +0 -395
- {python-inspector-0.12.0 → python_inspector-0.13.1}/.gitattributes +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/.github/workflows/docs-ci.yml +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/.gitignore +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/.readthedocs.yml +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/AUTHORS.rst +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/CODE_OF_CONDUCT.rst +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/MANIFEST.in +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/apache-2.0.LICENSE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/Makefile +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/make.bat +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/scripts/doc8_style_check.sh +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/scripts/sphinx_build_link_check.sh +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/source/_static/theme_overrides.css +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/source/conf.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/source/dependencies-design.rst +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/docs/source/index.rst +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/azure-container-deb.yml +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/azure-container-rpm.yml +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/azure-posix.yml +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/azure-win.yml +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/install_sudo.sh +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/macports-ci +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/macports-ci.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/ci/mit.LICENSE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/README.rst +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/check_thirdparty.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/fetch_thirdparty.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/gen_pypi_simple.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/gen_pypi_simple.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/gen_pypi_simple.py.NOTICE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/gen_requirements.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/gen_requirements_dev.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/test_utils_pip_compatibility_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/test_utils_pip_compatibility_tags.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/test_utils_pypi_supported_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/test_utils_pypi_supported_tags.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_dejacode.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_pip_compatibility_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_pip_compatibility_tags.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_pypi_supported_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_pypi_supported_tags.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_requirements.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_thirdparty.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/etc/scripts/utils_thirdparty.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/pyproject.toml +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/requirements-dev.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/setup.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/pypi.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/pypi.py.NOTICE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/pypi_setup_py.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/_packagedcode/pypi_setup_py.py.LICENSE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/dependencies.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/resolution.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/resolution.py.LICENSE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/setup_py_live_eval.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/setup_py_live_eval.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/setup_py_live_eval.py.LICENSE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/utils_pip_compatibility_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/utils_pypi.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/utils_pypi_supported_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector/utils_pypi_supported_tags.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector.egg-info/dependency_links.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector.egg-info/entry_points.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector.egg-info/not-zip-safe +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector.egg-info/requires.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/src/python_inspector.egg-info/top_level.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/conftest.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/azure-devops.req.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/environment-marker-test-requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/error-requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/fetch_links_test.html +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/frozen-requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/insecure-setup/rdflib/__init__.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/insecure-setup/setup.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/insecure-setup-2/setup.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/insecure-setup-2/testpkh/__init__.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/other_req.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/parse-reqs-with-setup_requires-and-python-requires.json +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/parse-reqs.json +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/partial-setup.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/pdt-requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/pinned-pdt-requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/pinned-requirements.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/psycopg2-links-expected.json +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/psycopg2.html +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/recursive_requirements/com.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/recursive_requirements/r.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/relative-links-expected.json +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/req.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/requirements-test.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/requirements.devel.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/secure-setup/setup-emptyrequires.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/secure-setup/setup-norequires.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/secure-setup/setup-requires.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup/no-direct-dependencies-setup.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup/simple-setup.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup/spdx-setup.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup-distutils-asnames.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup-distutils-qualifiedfct.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup-distutils.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup-qualifiedfct.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup.cfg +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup.txt +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup_if_main.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/setup_with_setup_requires_and_python_requires.cfg +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/test-commented.netrc +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/data/test.netrc +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_packagecode_pypi.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_pypi.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_requirement_parsing.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_setup_py_live_eval.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_setup_py_live_eval.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_setup_py_live_eval.py.LICENSE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_setup_py_live_eval_cli.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_setup_py_live_eval_cli.py.LICENSE +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_setup_py_parsing.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_skeleton_codestyle.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_utils.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_utils_pip_compatibility_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_utils_pip_compatibility_tags.py.ABOUT +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_utils_pypi.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_utils_pypi_supported_tags.py +0 -0
- {python-inspector-0.12.0 → python_inspector-0.13.1}/tests/test_utils_pypi_supported_tags.py.ABOUT +0 -0
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
runs-on: ubuntu-20.04
|
|
25
25
|
|
|
26
26
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
27
|
+
- uses: actions/checkout@v4
|
|
28
28
|
- name: Set up Python
|
|
29
29
|
uses: actions/setup-python@v4
|
|
30
30
|
with:
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
run: python -m build --sdist --wheel --outdir dist/
|
|
38
38
|
|
|
39
39
|
- name: Upload built archives
|
|
40
|
-
uses: actions/upload-artifact@
|
|
40
|
+
uses: actions/upload-artifact@v4
|
|
41
41
|
with:
|
|
42
42
|
name: pypi_archives
|
|
43
43
|
path: dist/*
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
|
|
52
52
|
steps:
|
|
53
53
|
- name: Download built archives
|
|
54
|
-
uses: actions/download-artifact@
|
|
54
|
+
uses: actions/download-artifact@v4
|
|
55
55
|
with:
|
|
56
56
|
name: pypi_archives
|
|
57
57
|
path: dist
|
|
@@ -71,7 +71,7 @@ jobs:
|
|
|
71
71
|
|
|
72
72
|
steps:
|
|
73
73
|
- name: Download built archives
|
|
74
|
-
uses: actions/download-artifact@
|
|
74
|
+
uses: actions/download-artifact@v4
|
|
75
75
|
with:
|
|
76
76
|
name: pypi_archives
|
|
77
77
|
path: dist
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
v0.13.1
|
|
5
|
+
-----------
|
|
6
|
+
|
|
7
|
+
- Fix ResolutionImpossible for lief==0.15.1 #202
|
|
8
|
+
- Add license expression data from pypi API #208
|
|
9
|
+
- Add python 3.13 in python-inspector #196
|
|
10
|
+
- Update homepage_url and fix CI and tests
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
v0.12.1
|
|
14
|
+
-----------
|
|
15
|
+
|
|
16
|
+
- Update link references of ownership from nexB to aboutcode-org
|
|
17
|
+
|
|
18
|
+
|
|
4
19
|
v0.12.0
|
|
5
20
|
-----------
|
|
6
21
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# ScanCode is a trademark of nexB Inc.
|
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
|
6
6
|
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
|
|
7
|
-
# See https://github.com/
|
|
7
|
+
# See https://github.com/aboutcode-org/python-inspector for support or download.
|
|
8
8
|
# See https://aboutcode.org for more information about nexB OSS projects.
|
|
9
9
|
#
|
|
10
10
|
|
|
@@ -1,20 +1,39 @@
|
|
|
1
1
|
#
|
|
2
|
+
|
|
2
3
|
# Copyright (c) nexB Inc. and others.
|
|
4
|
+
|
|
3
5
|
# SPDX-License-Identifier: Apache-2.0
|
|
6
|
+
|
|
4
7
|
#
|
|
5
|
-
|
|
8
|
+
|
|
9
|
+
# Visit https://aboutcode.org and https://github.com/aboutcode-org/python-inspector
|
|
10
|
+
|
|
6
11
|
# for support and download.
|
|
12
|
+
|
|
7
13
|
# ScanCode is a trademark of nexB Inc.
|
|
14
|
+
|
|
8
15
|
#
|
|
16
|
+
|
|
9
17
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
18
|
+
|
|
10
19
|
# you may not use this file except in compliance with the License.
|
|
20
|
+
|
|
11
21
|
# You may obtain a copy of the License at
|
|
22
|
+
|
|
12
23
|
#
|
|
13
|
-
|
|
24
|
+
|
|
25
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
26
|
+
|
|
14
27
|
#
|
|
28
|
+
|
|
15
29
|
# Unless required by applicable law or agreed to in writing, software
|
|
30
|
+
|
|
16
31
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
32
|
+
|
|
17
33
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
34
|
+
|
|
18
35
|
# See the License for the specific language governing permissions and
|
|
36
|
+
|
|
19
37
|
# limitations under the License.
|
|
38
|
+
|
|
20
39
|
#
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: python-inspector
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.13.1
|
|
4
4
|
Summary: python-inspector is is a collection of utilities to collect PyPI package metadata and resolve packages dependencies.
|
|
5
|
-
Home-page: https://github.com/
|
|
5
|
+
Home-page: https://github.com/aboutcode-org/python-inspector
|
|
6
6
|
Author: nexB. Inc. and others
|
|
7
7
|
Author-email: info@aboutcode.org
|
|
8
8
|
License: Apache-2.0
|
|
@@ -49,6 +49,7 @@ Requires-Dist: Sphinx>=5.0.2; extra == "docs"
|
|
|
49
49
|
Requires-Dist: sphinx-rtd-theme>=1.0.0; extra == "docs"
|
|
50
50
|
Requires-Dist: sphinx-reredirects>=0.1.2; extra == "docs"
|
|
51
51
|
Requires-Dist: doc8>=0.11.2; extra == "docs"
|
|
52
|
+
Dynamic: license-file
|
|
52
53
|
|
|
53
54
|
python-inspector - inspect Python packages dependencies and metadata
|
|
54
55
|
=====================================================================
|
|
@@ -56,7 +57,7 @@ python-inspector - inspect Python packages dependencies and metadata
|
|
|
56
57
|
|
|
57
58
|
Copyright (c) nexB Inc. and others.
|
|
58
59
|
SPDX-License-Identifier: Apache-2.0
|
|
59
|
-
Homepage: https://github.com/
|
|
60
|
+
Homepage: https://github.com/aboutcode-org/python-inspector and https://www.aboutcode.org/
|
|
60
61
|
|
|
61
62
|
|
|
62
63
|
``python-inspector`` is a collection of utilities to:
|
|
@@ -88,7 +89,7 @@ Testing
|
|
|
88
89
|
pytest -vvs
|
|
89
90
|
|
|
90
91
|
- These are live tests to regenrate the tests with updated data run::
|
|
91
|
-
|
|
92
|
+
|
|
92
93
|
PYINSP_REGEN_TEST_FIXTURES=yes pytest -vvs
|
|
93
94
|
|
|
94
95
|
Usage
|
|
@@ -96,7 +97,7 @@ Usage
|
|
|
96
97
|
|
|
97
98
|
- Install with pip::
|
|
98
99
|
|
|
99
|
-
pip install git+https://github.com/
|
|
100
|
+
pip install git+https://github.com/aboutcode-org/python-inspector
|
|
100
101
|
|
|
101
102
|
- Run the command line utility with::
|
|
102
103
|
|
|
@@ -123,5 +124,117 @@ Its companion libraries are:
|
|
|
123
124
|
installed site-packages and their metadata formats.
|
|
124
125
|
|
|
125
126
|
- ``packageurl-python`` to use Package URL to reference Python packages
|
|
126
|
-
|
|
127
|
-
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Acknowledgements, Funding, Support and Sponsoring
|
|
131
|
+
--------------------------------------------------------
|
|
132
|
+
|
|
133
|
+
This project is funded, supported and sponsored by:
|
|
134
|
+
|
|
135
|
+
- Generous support and contributions from users like you!
|
|
136
|
+
- the European Commission NGI programme
|
|
137
|
+
- the NLnet Foundation
|
|
138
|
+
- the Swiss State Secretariat for Education, Research and Innovation (SERI)
|
|
139
|
+
- Google, including the Google Summer of Code and the Google Seasons of Doc programmes
|
|
140
|
+
- Mercedes-Benz Group
|
|
141
|
+
- Microsoft and Microsoft Azure
|
|
142
|
+
- AboutCode ASBL
|
|
143
|
+
- nexB Inc.
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|europa| |dgconnect|
|
|
148
|
+
|
|
149
|
+
|ngi| |nlnet|
|
|
150
|
+
|
|
151
|
+
|aboutcode| |nexb|
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
This project was funded through the NGI0 Discovery Fund, a fund established by NLnet with financial
|
|
155
|
+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
|
|
156
|
+
Communications Networks, Content and Technology under grant agreement No 825322.
|
|
157
|
+
|
|
158
|
+
|ngidiscovery| https://nlnet.nl/project/vulnerabilitydatabase/
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial
|
|
162
|
+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
|
|
163
|
+
Communications Networks, Content and Technology under grant agreement No 101092990.
|
|
164
|
+
|
|
165
|
+
|ngizerocore| https://nlnet.nl/project/Back2source-next/
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
.. |nlnet| image:: https://nlnet.nl/logo/banner.png
|
|
170
|
+
:target: https://nlnet.nl
|
|
171
|
+
:height: 50
|
|
172
|
+
:alt: NLnet foundation logo
|
|
173
|
+
|
|
174
|
+
.. |ngi| image:: https://ngi.eu/wp-content/uploads/thegem-logos/logo_8269bc6efcf731d34b6385775d76511d_1x.png
|
|
175
|
+
:target: https://ngi.eu35
|
|
176
|
+
:height: 50
|
|
177
|
+
:alt: NGI logo
|
|
178
|
+
|
|
179
|
+
.. |nexb| image:: https://nexb.com/wp-content/uploads/2022/04/nexB.svg
|
|
180
|
+
:target: https://nexb.com
|
|
181
|
+
:height: 30
|
|
182
|
+
:alt: nexB logo
|
|
183
|
+
|
|
184
|
+
.. |europa| image:: https://ngi.eu/wp-content/uploads/sites/77/2017/10/bandiera_stelle.png
|
|
185
|
+
:target: http://ec.europa.eu/index_en.htm
|
|
186
|
+
:height: 40
|
|
187
|
+
:alt: Europa logo
|
|
188
|
+
|
|
189
|
+
.. |aboutcode| image:: https://aboutcode.org/wp-content/uploads/2023/10/AboutCode.svg
|
|
190
|
+
:target: https://aboutcode.org/
|
|
191
|
+
:height: 30
|
|
192
|
+
:alt: AboutCode logo
|
|
193
|
+
|
|
194
|
+
.. |swiss| image:: https://www.sbfi.admin.ch/sbfi/en/_jcr_content/logo/image.imagespooler.png/1493119032540/logo.png
|
|
195
|
+
:target: https://www.sbfi.admin.ch/sbfi/en/home/seri/seri.html
|
|
196
|
+
:height: 40
|
|
197
|
+
:alt: Swiss logo
|
|
198
|
+
|
|
199
|
+
.. |dgconnect| image:: https://commission.europa.eu/themes/contrib/oe_theme/dist/ec/images/logo/positive/logo-ec--en.svg
|
|
200
|
+
:target: https://commission.europa.eu/about-european-commission/departments-and-executive-agencies/communications-networks-content-and-technology_en
|
|
201
|
+
:height: 40
|
|
202
|
+
:alt: EC DG Connect logo
|
|
203
|
+
|
|
204
|
+
.. |ngizerocore| image:: https://nlnet.nl/image/logos/NGI0_tag.svg
|
|
205
|
+
:target: https://nlnet.nl/core
|
|
206
|
+
:height: 40
|
|
207
|
+
:alt: NGI Zero Core Logo
|
|
208
|
+
|
|
209
|
+
.. |ngizerocommons| image:: https://nlnet.nl/image/logos/NGI0_tag.svg
|
|
210
|
+
:target: https://nlnet.nl/commonsfund/
|
|
211
|
+
:height: 40
|
|
212
|
+
:alt: NGI Zero Commons Logo
|
|
213
|
+
|
|
214
|
+
.. |ngizeropet| image:: https://nlnet.nl/image/logos/NGI0PET_tag.svg
|
|
215
|
+
:target: https://nlnet.nl/PET
|
|
216
|
+
:height: 40
|
|
217
|
+
:alt: NGI Zero PET logo
|
|
218
|
+
|
|
219
|
+
.. |ngizeroentrust| image:: https://nlnet.nl/image/logos/NGI0Entrust_tag.svg
|
|
220
|
+
:target: https://nlnet.nl/entrust
|
|
221
|
+
:height: 38
|
|
222
|
+
:alt: NGI Zero Entrust logo
|
|
223
|
+
|
|
224
|
+
.. |ngiassure| image:: https://nlnet.nl/image/logos/NGIAssure_tag.svg
|
|
225
|
+
:target: https://nlnet.nl/image/logos/NGIAssure_tag.svg
|
|
226
|
+
:height: 32
|
|
227
|
+
:alt: NGI Assure logo
|
|
228
|
+
|
|
229
|
+
.. |ngidiscovery| image:: https://nlnet.nl/image/logos/NGI0Discovery_tag.svg
|
|
230
|
+
:target: https://nlnet.nl/discovery/
|
|
231
|
+
:height: 40
|
|
232
|
+
:alt: NGI Discovery logo
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
python-inspector - inspect Python packages dependencies and metadata
|
|
2
|
+
=====================================================================
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
Copyright (c) nexB Inc. and others.
|
|
6
|
+
SPDX-License-Identifier: Apache-2.0
|
|
7
|
+
Homepage: https://github.com/aboutcode-org/python-inspector and https://www.aboutcode.org/
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
``python-inspector`` is a collection of utilities to:
|
|
11
|
+
|
|
12
|
+
- resolve PyPI packages dependencies
|
|
13
|
+
|
|
14
|
+
- parse various requirements.txt files and setup.py files as input
|
|
15
|
+
for resolving dependencies.
|
|
16
|
+
|
|
17
|
+
- parse additionally various manifests and packages files such as
|
|
18
|
+
Pipfile, pyproject.toml, poetry.lock and setup.cfg and legacy and
|
|
19
|
+
current metadata file formats for eggs, wheels and sdist. These
|
|
20
|
+
have not been wired with the command line yet.
|
|
21
|
+
|
|
22
|
+
- query PyPI JSON and simple APIs for package information
|
|
23
|
+
|
|
24
|
+
It grew out of ScanCode toolkit to find and analyze PyPI archives and
|
|
25
|
+
installed Python packages and their files.
|
|
26
|
+
|
|
27
|
+
The goal of python-inspector is to be a comprehensive library
|
|
28
|
+
that can handle every style of Python package layouts, manifests and lockfiles.
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
Testing
|
|
32
|
+
--------
|
|
33
|
+
|
|
34
|
+
- Run the tests with::
|
|
35
|
+
|
|
36
|
+
pytest -vvs
|
|
37
|
+
|
|
38
|
+
- These are live tests to regenrate the tests with updated data run::
|
|
39
|
+
|
|
40
|
+
PYINSP_REGEN_TEST_FIXTURES=yes pytest -vvs
|
|
41
|
+
|
|
42
|
+
Usage
|
|
43
|
+
--------
|
|
44
|
+
|
|
45
|
+
- Install with pip::
|
|
46
|
+
|
|
47
|
+
pip install git+https://github.com/aboutcode-org/python-inspector
|
|
48
|
+
|
|
49
|
+
- Run the command line utility with::
|
|
50
|
+
|
|
51
|
+
python-inspector --help
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
Its companion libraries are:
|
|
56
|
+
|
|
57
|
+
- ``pip-requirements-parser``, a mostly correct pip requirements parsing
|
|
58
|
+
library extracted from pip.
|
|
59
|
+
|
|
60
|
+
- ``pkginfo2``, a safer fork of pkginfo to parse various installed and extracted
|
|
61
|
+
package layouts and their metadata files.
|
|
62
|
+
|
|
63
|
+
- ``dparse2``, a safer fork of dparse to parse various package manifests
|
|
64
|
+
|
|
65
|
+
- ``resolvelib``, the library used by pip for dependency resolution
|
|
66
|
+
|
|
67
|
+
- ``packaging``, the official Python packaging utility library to process
|
|
68
|
+
versions, specifiers, markers and other packaging data formats.
|
|
69
|
+
|
|
70
|
+
- ``importlib_metadata``, the official Python utility library to process
|
|
71
|
+
installed site-packages and their metadata formats.
|
|
72
|
+
|
|
73
|
+
- ``packageurl-python`` to use Package URL to reference Python packages
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
Acknowledgements, Funding, Support and Sponsoring
|
|
78
|
+
--------------------------------------------------------
|
|
79
|
+
|
|
80
|
+
This project is funded, supported and sponsored by:
|
|
81
|
+
|
|
82
|
+
- Generous support and contributions from users like you!
|
|
83
|
+
- the European Commission NGI programme
|
|
84
|
+
- the NLnet Foundation
|
|
85
|
+
- the Swiss State Secretariat for Education, Research and Innovation (SERI)
|
|
86
|
+
- Google, including the Google Summer of Code and the Google Seasons of Doc programmes
|
|
87
|
+
- Mercedes-Benz Group
|
|
88
|
+
- Microsoft and Microsoft Azure
|
|
89
|
+
- AboutCode ASBL
|
|
90
|
+
- nexB Inc.
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|europa| |dgconnect|
|
|
95
|
+
|
|
96
|
+
|ngi| |nlnet|
|
|
97
|
+
|
|
98
|
+
|aboutcode| |nexb|
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
This project was funded through the NGI0 Discovery Fund, a fund established by NLnet with financial
|
|
102
|
+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
|
|
103
|
+
Communications Networks, Content and Technology under grant agreement No 825322.
|
|
104
|
+
|
|
105
|
+
|ngidiscovery| https://nlnet.nl/project/vulnerabilitydatabase/
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
This project was funded through the NGI0 Core Fund, a fund established by NLnet with financial
|
|
109
|
+
support from the European Commission's Next Generation Internet programme, under the aegis of DG
|
|
110
|
+
Communications Networks, Content and Technology under grant agreement No 101092990.
|
|
111
|
+
|
|
112
|
+
|ngizerocore| https://nlnet.nl/project/Back2source-next/
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
.. |nlnet| image:: https://nlnet.nl/logo/banner.png
|
|
117
|
+
:target: https://nlnet.nl
|
|
118
|
+
:height: 50
|
|
119
|
+
:alt: NLnet foundation logo
|
|
120
|
+
|
|
121
|
+
.. |ngi| image:: https://ngi.eu/wp-content/uploads/thegem-logos/logo_8269bc6efcf731d34b6385775d76511d_1x.png
|
|
122
|
+
:target: https://ngi.eu35
|
|
123
|
+
:height: 50
|
|
124
|
+
:alt: NGI logo
|
|
125
|
+
|
|
126
|
+
.. |nexb| image:: https://nexb.com/wp-content/uploads/2022/04/nexB.svg
|
|
127
|
+
:target: https://nexb.com
|
|
128
|
+
:height: 30
|
|
129
|
+
:alt: nexB logo
|
|
130
|
+
|
|
131
|
+
.. |europa| image:: https://ngi.eu/wp-content/uploads/sites/77/2017/10/bandiera_stelle.png
|
|
132
|
+
:target: http://ec.europa.eu/index_en.htm
|
|
133
|
+
:height: 40
|
|
134
|
+
:alt: Europa logo
|
|
135
|
+
|
|
136
|
+
.. |aboutcode| image:: https://aboutcode.org/wp-content/uploads/2023/10/AboutCode.svg
|
|
137
|
+
:target: https://aboutcode.org/
|
|
138
|
+
:height: 30
|
|
139
|
+
:alt: AboutCode logo
|
|
140
|
+
|
|
141
|
+
.. |swiss| image:: https://www.sbfi.admin.ch/sbfi/en/_jcr_content/logo/image.imagespooler.png/1493119032540/logo.png
|
|
142
|
+
:target: https://www.sbfi.admin.ch/sbfi/en/home/seri/seri.html
|
|
143
|
+
:height: 40
|
|
144
|
+
:alt: Swiss logo
|
|
145
|
+
|
|
146
|
+
.. |dgconnect| image:: https://commission.europa.eu/themes/contrib/oe_theme/dist/ec/images/logo/positive/logo-ec--en.svg
|
|
147
|
+
:target: https://commission.europa.eu/about-european-commission/departments-and-executive-agencies/communications-networks-content-and-technology_en
|
|
148
|
+
:height: 40
|
|
149
|
+
:alt: EC DG Connect logo
|
|
150
|
+
|
|
151
|
+
.. |ngizerocore| image:: https://nlnet.nl/image/logos/NGI0_tag.svg
|
|
152
|
+
:target: https://nlnet.nl/core
|
|
153
|
+
:height: 40
|
|
154
|
+
:alt: NGI Zero Core Logo
|
|
155
|
+
|
|
156
|
+
.. |ngizerocommons| image:: https://nlnet.nl/image/logos/NGI0_tag.svg
|
|
157
|
+
:target: https://nlnet.nl/commonsfund/
|
|
158
|
+
:height: 40
|
|
159
|
+
:alt: NGI Zero Commons Logo
|
|
160
|
+
|
|
161
|
+
.. |ngizeropet| image:: https://nlnet.nl/image/logos/NGI0PET_tag.svg
|
|
162
|
+
:target: https://nlnet.nl/PET
|
|
163
|
+
:height: 40
|
|
164
|
+
:alt: NGI Zero PET logo
|
|
165
|
+
|
|
166
|
+
.. |ngizeroentrust| image:: https://nlnet.nl/image/logos/NGI0Entrust_tag.svg
|
|
167
|
+
:target: https://nlnet.nl/entrust
|
|
168
|
+
:height: 38
|
|
169
|
+
:alt: NGI Zero Entrust logo
|
|
170
|
+
|
|
171
|
+
.. |ngiassure| image:: https://nlnet.nl/image/logos/NGIAssure_tag.svg
|
|
172
|
+
:target: https://nlnet.nl/image/logos/NGIAssure_tag.svg
|
|
173
|
+
:height: 32
|
|
174
|
+
:alt: NGI Assure logo
|
|
175
|
+
|
|
176
|
+
.. |ngidiscovery| image:: https://nlnet.nl/image/logos/NGI0Discovery_tag.svg
|
|
177
|
+
:target: https://nlnet.nl/discovery/
|
|
178
|
+
:height: 40
|
|
179
|
+
:alt: NGI Discovery logo
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
################################################################################
|
|
2
|
+
# We use Azure to run the full tests suites on multiple Python 3.x
|
|
3
|
+
# on multiple Windows, macOS and Linux versions all on 64 bits
|
|
4
|
+
# These jobs are using VMs with Azure-provided Python builds
|
|
5
|
+
################################################################################
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
- template: etc/ci/azure-posix.yml
|
|
9
|
+
parameters:
|
|
10
|
+
job_name: ubuntu20_cpython
|
|
11
|
+
image_name: ubuntu-20.04
|
|
12
|
+
python_versions: ["3.9", "3.10", "3.11", "3.12"]
|
|
13
|
+
test_suites:
|
|
14
|
+
all: venv/bin/pytest -n 2 -vvs --reruns 2
|
|
15
|
+
|
|
16
|
+
- template: etc/ci/azure-posix.yml
|
|
17
|
+
parameters:
|
|
18
|
+
job_name: ubuntu22_cpython
|
|
19
|
+
image_name: ubuntu-22.04
|
|
20
|
+
python_versions: ["3.9", "3.10", "3.11", "3.12"]
|
|
21
|
+
test_suites:
|
|
22
|
+
all: venv/bin/pytest -n 2 -vvs --reruns 2
|
|
23
|
+
|
|
24
|
+
- template: etc/ci/azure-posix.yml
|
|
25
|
+
parameters:
|
|
26
|
+
job_name: macos14_cpython
|
|
27
|
+
image_name: macOS-14
|
|
28
|
+
python_versions: ["3.9", "3.10", "3.11", "3.12"]
|
|
29
|
+
test_suites:
|
|
30
|
+
all: venv/bin/pytest -n 2 -vvs --reruns 2
|
|
31
|
+
|
|
32
|
+
- template: etc/ci/azure-posix.yml
|
|
33
|
+
parameters:
|
|
34
|
+
job_name: macos13_cpython
|
|
35
|
+
image_name: macos-13
|
|
36
|
+
python_versions: ["3.9", "3.10", "3.11", "3.12"]
|
|
37
|
+
test_suites:
|
|
38
|
+
all: venv/bin/pytest -n 2 -vvs --reruns 2
|
|
39
|
+
|
|
40
|
+
- template: etc/ci/azure-win.yml
|
|
41
|
+
parameters:
|
|
42
|
+
job_name: win2019_cpython
|
|
43
|
+
image_name: windows-2019
|
|
44
|
+
python_versions: ["3.9", "3.10", "3.11", "3.12"]
|
|
45
|
+
test_suites:
|
|
46
|
+
all: venv\Scripts\pytest -n 2 -vvs --reruns 2
|
|
47
|
+
|
|
48
|
+
- template: etc/ci/azure-win.yml
|
|
49
|
+
parameters:
|
|
50
|
+
job_name: win2022_cpython
|
|
51
|
+
image_name: windows-2022
|
|
52
|
+
python_versions: ["3.9", "3.10", "3.11", "3.12"]
|
|
53
|
+
test_suites:
|
|
54
|
+
all: venv\Scripts\pytest -n 2 -vvs --reruns 2
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# Copyright (c) nexB Inc. and others. All rights reserved.
|
|
4
4
|
# SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
|
|
6
|
-
# See https://github.com/
|
|
6
|
+
# See https://github.com/aboutcode-org/ for support or download.
|
|
7
7
|
# See https://aboutcode.org for more information about nexB OSS projects.
|
|
8
8
|
#
|
|
9
9
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
@rem Copyright (c) nexB Inc. and others. All rights reserved.
|
|
5
5
|
@rem SPDX-License-Identifier: Apache-2.0
|
|
6
6
|
@rem See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
|
|
7
|
-
@rem See https://github.com/
|
|
7
|
+
@rem See https://github.com/aboutcode-org/ for support or download.
|
|
8
8
|
@rem See https://aboutcode.org for more information about nexB OSS projects.
|
|
9
9
|
|
|
10
10
|
|
|
@@ -161,13 +161,13 @@ Another example could be https://github.com/digitalocean/sample-django
|
|
|
161
161
|
|
|
162
162
|
We use the latest main branch from python-inspector and scancode-toolkit 31.0.0rc2
|
|
163
163
|
installed on Linux with Python 3.8 using the release tarball from:
|
|
164
|
-
https://github.com/
|
|
164
|
+
https://github.com/aboutcode-org/scancode-toolkit/releases/tag/v31.0.0rc2
|
|
165
165
|
|
|
166
166
|
ScanCode setup::
|
|
167
167
|
|
|
168
168
|
mkdir -p ~/tmp/pyinsp-example/tools
|
|
169
169
|
cd ~/tmp/pyinsp-example/tools
|
|
170
|
-
wget https://github.com/
|
|
170
|
+
wget https://github.com/aboutcode-org/scancode-toolkit/releases/download/v31.0.0rc2/scancode-toolkit-31.0.0rc2_py38-linux.tar.xz
|
|
171
171
|
tar -xf scancode-toolkit-31.0.0rc2_py38-linux.tar.xz
|
|
172
172
|
cd scancode-toolkit-31.0.0rc2/
|
|
173
173
|
./scancode --help
|
|
@@ -175,7 +175,7 @@ ScanCode setup::
|
|
|
175
175
|
python-inspector setup::
|
|
176
176
|
|
|
177
177
|
cd ~/tmp/pyinsp-example/tools
|
|
178
|
-
git clone https://github.com/
|
|
178
|
+
git clone https://github.com/aboutcode-org/python-inspector
|
|
179
179
|
python3.8 -m venv venv
|
|
180
180
|
source venv/bin/activate
|
|
181
181
|
pip install --upgrade pip setuptools wheel
|
|
@@ -6,7 +6,7 @@ license = Apache-2.0
|
|
|
6
6
|
description = python-inspector is is a collection of utilities to collect PyPI package metadata and resolve packages dependencies.
|
|
7
7
|
long_description = file:README.rst
|
|
8
8
|
long_description_content_type = text/x-rst
|
|
9
|
-
url = https://github.com/
|
|
9
|
+
url = https://github.com/aboutcode-org/python-inspector
|
|
10
10
|
|
|
11
11
|
author = nexB. Inc. and others
|
|
12
12
|
author_email = info@aboutcode.org
|
|
@@ -4,7 +4,7 @@ license = Apache-2.0
|
|
|
4
4
|
description = python-inspector is is a collection of utilities to collect PyPI package metadata and resolve packages dependencies.
|
|
5
5
|
long_description = file:README.rst
|
|
6
6
|
long_description_content_type = text/x-rst
|
|
7
|
-
url = https://github.com/
|
|
7
|
+
url = https://github.com/aboutcode-org/python-inspector
|
|
8
8
|
author = nexB. Inc. and others
|
|
9
9
|
author_email = info@aboutcode.org
|
|
10
10
|
classifiers =
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
# ScanCode is a trademark of nexB Inc.
|
|
4
4
|
# SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
|
|
6
|
-
# See https://github.com/
|
|
6
|
+
# See https://github.com/aboutcode-org/scancode-toolkit for support or download.
|
|
7
7
|
# See https://aboutcode.org for more information about nexB OSS projects.
|
|
8
8
|
#
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# ScanCode is a trademark of nexB Inc.
|
|
4
4
|
# SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
|
|
6
|
-
# See https://github.com/
|
|
6
|
+
# See https://github.com/aboutcode-org/scancode-toolkit for support or download.
|
|
7
7
|
# See https://aboutcode.org for more information about nexB OSS projects.
|
|
8
8
|
#
|
|
9
9
|
|
|
@@ -373,7 +373,7 @@ class DependentPackage(ModelMixin):
|
|
|
373
373
|
'either from the datafile or collected from another source. Some '
|
|
374
374
|
'lockfiles for Composer or Cargo contain extra dependency data.'
|
|
375
375
|
)
|
|
376
|
-
|
|
376
|
+
|
|
377
377
|
extra_data = Mapping(
|
|
378
378
|
label='extra data',
|
|
379
379
|
help='A mapping of arbitrary extra data.',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# ScanCode is a trademark of nexB Inc.
|
|
5
5
|
# SPDX-License-Identifier: Apache-2.0
|
|
6
6
|
# See http://www.apache.org/licenses/LICENSE-2.0 for the license text.
|
|
7
|
-
# See https://github.com/
|
|
7
|
+
# See https://github.com/aboutcode-org/scancode-toolkit for support or download.
|
|
8
8
|
# See https://aboutcode.org for more information about nexB OSS projects.
|
|
9
9
|
#
|
|
10
10
|
|
|
@@ -457,7 +457,7 @@ def parse_metadata(location, datasource_id, package_type):
|
|
|
457
457
|
name=name,
|
|
458
458
|
version=version,
|
|
459
459
|
description=get_description(metainfo=meta, location=str(location)),
|
|
460
|
-
#TODO: https://github.com/
|
|
460
|
+
#TODO: https://github.com/aboutcode-org/scancode-toolkit/issues/3014
|
|
461
461
|
declared_license=get_declared_license(meta),
|
|
462
462
|
keywords=get_keywords(meta),
|
|
463
463
|
parties=get_parties(meta),
|
|
@@ -781,7 +781,7 @@ class SetupCfgHandler(BaseExtractedPythonLayout):
|
|
|
781
781
|
def parse_reqs(cls, reqs, scope):
|
|
782
782
|
"""
|
|
783
783
|
Parse a list of requirements and return a list of dependencies
|
|
784
|
-
"""
|
|
784
|
+
"""
|
|
785
785
|
dependent_packages = []
|
|
786
786
|
for req in reqs:
|
|
787
787
|
req_parsed = packaging.requirements.Requirement(str(req))
|
|
@@ -816,7 +816,7 @@ def get_resolved_purl(purl: PackageURL, specifiers: SpecifierSet):
|
|
|
816
816
|
return ResolvedPurl(
|
|
817
817
|
purl=purl,
|
|
818
818
|
is_resolved=is_resolved,
|
|
819
|
-
)
|
|
819
|
+
)
|
|
820
820
|
|
|
821
821
|
class PipfileHandler(BaseDependencyFileHandler):
|
|
822
822
|
datasource_id = 'pipfile'
|
|
@@ -918,7 +918,7 @@ def get_requirements_txt_dependencies(location, include_nested=False):
|
|
|
918
918
|
if isinstance(value, list):
|
|
919
919
|
extra_data[name].extend(value)
|
|
920
920
|
else:
|
|
921
|
-
extra_data[name] = value
|
|
921
|
+
extra_data[name] = value
|
|
922
922
|
dependent_packages = []
|
|
923
923
|
for req in req_file.requirements:
|
|
924
924
|
|
|
@@ -987,7 +987,7 @@ def can_process_dependent_package(dep: models.DependentPackage):
|
|
|
987
987
|
requirement_flags.pop("hash_options", None)
|
|
988
988
|
if not requirement_flags:
|
|
989
989
|
return True
|
|
990
|
-
# we can not process the requirement if it has any flag set
|
|
990
|
+
# we can not process the requirement if it has any flag set
|
|
991
991
|
# because this means it is not a standard specifier
|
|
992
992
|
# but rather some pip specific option of sorts
|
|
993
993
|
return not any(requirement_flags.values())
|