diff --git a/cyclonedx_py/_internal/pipenv.py b/cyclonedx_py/_internal/pipenv.py
index fe73b9942..73fda6dea 100644
--- a/cyclonedx_py/_internal/pipenv.py
+++ b/cyclonedx_py/_internal/pipenv.py
@@ -260,13 +260,13 @@ def __make_extrefs(self, name: str, data: 'NameDict', source_urls: dict[str, str
yield ExternalReference(
comment=f'from explicit index: {data["index"]}',
type=ExternalReferenceType.DISTRIBUTION,
- url=XsUri(f'{source_urls[data["index"]]}/{name}/'),
+ url=XsUri(f'{source_urls[data["index"]]}/{normalize_packagename(name)}/'),
hashes=hashes)
else:
yield ExternalReference(
comment='from implicit index: pypi',
type=ExternalReferenceType.DISTRIBUTION,
- url=XsUri(f'{source_urls["pypi"]}/{name}/'),
+ url=XsUri(f'{source_urls["pypi"]}/{normalize_packagename(name)}/'),
hashes=hashes)
except (InvalidUriException, UnknownHashTypeException, KeyError) as error: # pragma: nocover
self._logger.debug('skipped dist-extRef for: %r', name, exc_info=error)
diff --git a/cyclonedx_py/_internal/poetry.py b/cyclonedx_py/_internal/poetry.py
index d3eaa4937..7e18c58c4 100644
--- a/cyclonedx_py/_internal/poetry.py
+++ b/cyclonedx_py/_internal/poetry.py
@@ -478,7 +478,7 @@ def __extrefs4lock_legacy(self, package: 'T_NameDict') -> Generator['ExternalRef
yield ExternalReference(
comment='from legacy-api',
type=ExternalReferenceType.DISTRIBUTION,
- url=XsUri(f'{source_url}/{package["name"]}/#{file["file"]}'),
+ url=XsUri(f'{source_url}/{normalize_packagename(package["name"])}/#{file["file"]}'),
hashes=[HashType.from_composite_str(file['hash'])]
)
except (InvalidUriException, UnknownHashTypeException) as error: # pragma: nocover
diff --git a/cyclonedx_py/_internal/requirements.py b/cyclonedx_py/_internal/requirements.py
index 43b243bec..af967d175 100644
--- a/cyclonedx_py/_internal/requirements.py
+++ b/cyclonedx_py/_internal/requirements.py
@@ -199,16 +199,19 @@ def _make_component(self, req: 'InstallRequirement',
hashes=hashes))
else:
# url based on https://warehouse.pypa.io/api-reference/legacy.html
+ # PEP 503 requires clients to request the normalized project name
+ # see https://packaging.python.org/en/latest/specifications/simple-repository-api/#project-detail
+ name_normalized = normalize_packagename(name) if name else name
external_references.append(ExternalReference(
comment='implicit dist url',
type=ExternalReferenceType.DISTRIBUTION,
- url=XsUri(f'{index_url or self._index_url}/{name}/'),
+ url=XsUri(f'{index_url or self._index_url}/{name_normalized}/'),
hashes=hashes))
for eiurl in extra_index_urls:
external_references.append(ExternalReference(
comment='implicit dist extra-url',
type=ExternalReferenceType.DISTRIBUTION,
- url=XsUri(f'{eiurl}/{name}/'),
+ url=XsUri(f'{eiurl}/{name_normalized}/'),
hashes=hashes))
except InvalidUriException as error:
self._logger.debug('failed ExternalReference/url URL for: %s', req.line, exc_info=error)
diff --git a/tests/_data/infiles/requirements/normalize-packagename.txt b/tests/_data/infiles/requirements/normalize-packagename.txt
new file mode 100644
index 000000000..c38a3080d
--- /dev/null
+++ b/tests/_data/infiles/requirements/normalize-packagename.txt
@@ -0,0 +1,11 @@
+## Simple Repository API (PEP 503) project URLs must use the normalized project name
+## see https://packaging.python.org/en/latest/specifications/simple-repository-api/#project-detail
+
+--index-url https://pypackages.acme.org/simple/
+--extra-index-url https://legacy1.pypackages.acme.org/simple/
+
+Flask_SQLAlchemy==3.1.1
+PyYAML==6.0.2
+ruamel.yaml==0.18.5
+ruamel.yaml.clib==0.2.8
+zope.interface==7.1.1
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.1.xml.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.1.xml.bin
index 805c4f0c6..ac557d18a 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.1.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.1.xml.bin
@@ -18,7 +18,7 @@
pkg:pypi/ruamel.yaml.clib@0.2.8
- https://pypi.org/simple/ruamel.yaml.clib/
+ https://pypi.org/simple/ruamel-yaml-clib/
from implicit index: pypi
@@ -29,7 +29,7 @@
pkg:pypi/ruamel.yaml.jinja2@0.2.7
- https://pypi.org/simple/ruamel.yaml.jinja2/
+ https://pypi.org/simple/ruamel-yaml-jinja2/
from implicit index: pypi
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.json.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.json.bin
index f2933a799..ce4952d58 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.json.bin
@@ -20,7 +20,7 @@
{
"comment": "from implicit index: pypi",
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.clib/"
+ "url": "https://pypi.org/simple/ruamel-yaml-clib/"
}
],
"name": "ruamel.yaml.clib",
@@ -34,7 +34,7 @@
{
"comment": "from implicit index: pypi",
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.jinja2/"
+ "url": "https://pypi.org/simple/ruamel-yaml-jinja2/"
}
],
"name": "ruamel.yaml.jinja2",
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.xml.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.xml.bin
index 2ad4df621..93631fa76 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.2.xml.bin
@@ -37,7 +37,7 @@
pkg:pypi/ruamel.yaml.clib@0.2.8
- https://pypi.org/simple/ruamel.yaml.clib/
+ https://pypi.org/simple/ruamel-yaml-clib/
from implicit index: pypi
@@ -48,7 +48,7 @@
pkg:pypi/ruamel.yaml.jinja2@0.2.7
- https://pypi.org/simple/ruamel.yaml.jinja2/
+ https://pypi.org/simple/ruamel-yaml-jinja2/
from implicit index: pypi
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.json.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.json.bin
index 57fa18127..b7e43c1cc 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.json.bin
@@ -242,7 +242,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.clib/"
+ "url": "https://pypi.org/simple/ruamel-yaml-clib/"
}
],
"name": "ruamel.yaml.clib",
@@ -272,7 +272,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.jinja2/"
+ "url": "https://pypi.org/simple/ruamel-yaml-jinja2/"
}
],
"name": "ruamel.yaml.jinja2",
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.xml.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.xml.bin
index 7981bf022..3b3edaf97 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.3.xml.bin
@@ -48,7 +48,7 @@
pkg:pypi/ruamel.yaml.clib@0.2.8
- https://pypi.org/simple/ruamel.yaml.clib/
+ https://pypi.org/simple/ruamel-yaml-clib/
from implicit index: pypi
024cfe1fc7c7f4e1aff4a81e718109e13409767e4f871443cbff3dba3578203d
@@ -114,7 +114,7 @@
pkg:pypi/ruamel.yaml.jinja2@0.2.7
- https://pypi.org/simple/ruamel.yaml.jinja2/
+ https://pypi.org/simple/ruamel-yaml-jinja2/
from implicit index: pypi
8449be29d9a157fa92d1648adc161d718e469f0d38a6b21e0eabb76fd5b3e663
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.json.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.json.bin
index 895a5dfed..c540745ad 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.json.bin
@@ -242,7 +242,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.clib/"
+ "url": "https://pypi.org/simple/ruamel-yaml-clib/"
}
],
"name": "ruamel.yaml.clib",
@@ -272,7 +272,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.jinja2/"
+ "url": "https://pypi.org/simple/ruamel-yaml-jinja2/"
}
],
"name": "ruamel.yaml.jinja2",
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.xml.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.xml.bin
index 4f427b2ec..0279b45ef 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.4.xml.bin
@@ -75,7 +75,7 @@
pkg:pypi/ruamel.yaml.clib@0.2.8
- https://pypi.org/simple/ruamel.yaml.clib/
+ https://pypi.org/simple/ruamel-yaml-clib/
from implicit index: pypi
024cfe1fc7c7f4e1aff4a81e718109e13409767e4f871443cbff3dba3578203d
@@ -141,7 +141,7 @@
pkg:pypi/ruamel.yaml.jinja2@0.2.7
- https://pypi.org/simple/ruamel.yaml.jinja2/
+ https://pypi.org/simple/ruamel-yaml-jinja2/
from implicit index: pypi
8449be29d9a157fa92d1648adc161d718e469f0d38a6b21e0eabb76fd5b3e663
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.json.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.json.bin
index b33bdff35..543b16d97 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.json.bin
@@ -242,7 +242,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.clib/"
+ "url": "https://pypi.org/simple/ruamel-yaml-clib/"
}
],
"name": "ruamel.yaml.clib",
@@ -272,7 +272,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.jinja2/"
+ "url": "https://pypi.org/simple/ruamel-yaml-jinja2/"
}
],
"name": "ruamel.yaml.jinja2",
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.xml.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.xml.bin
index d9b233ea8..fa168429a 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.5.xml.bin
@@ -85,7 +85,7 @@
pkg:pypi/ruamel.yaml.clib@0.2.8
- https://pypi.org/simple/ruamel.yaml.clib/
+ https://pypi.org/simple/ruamel-yaml-clib/
from implicit index: pypi
024cfe1fc7c7f4e1aff4a81e718109e13409767e4f871443cbff3dba3578203d
@@ -151,7 +151,7 @@
pkg:pypi/ruamel.yaml.jinja2@0.2.7
- https://pypi.org/simple/ruamel.yaml.jinja2/
+ https://pypi.org/simple/ruamel-yaml-jinja2/
from implicit index: pypi
8449be29d9a157fa92d1648adc161d718e469f0d38a6b21e0eabb76fd5b3e663
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.json.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.json.bin
index 9930a55c5..0dafe3739 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.json.bin
@@ -242,7 +242,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.clib/"
+ "url": "https://pypi.org/simple/ruamel-yaml-clib/"
}
],
"name": "ruamel.yaml.clib",
@@ -272,7 +272,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.jinja2/"
+ "url": "https://pypi.org/simple/ruamel-yaml-jinja2/"
}
],
"name": "ruamel.yaml.jinja2",
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.xml.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.xml.bin
index 871a538db..8a9aa6088 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.6.xml.bin
@@ -85,7 +85,7 @@
pkg:pypi/ruamel.yaml.clib@0.2.8
- https://pypi.org/simple/ruamel.yaml.clib/
+ https://pypi.org/simple/ruamel-yaml-clib/
from implicit index: pypi
024cfe1fc7c7f4e1aff4a81e718109e13409767e4f871443cbff3dba3578203d
@@ -151,7 +151,7 @@
pkg:pypi/ruamel.yaml.jinja2@0.2.7
- https://pypi.org/simple/ruamel.yaml.jinja2/
+ https://pypi.org/simple/ruamel-yaml-jinja2/
from implicit index: pypi
8449be29d9a157fa92d1648adc161d718e469f0d38a6b21e0eabb76fd5b3e663
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.json.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.json.bin
index e2478937c..c650a6545 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.json.bin
@@ -242,7 +242,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.clib/"
+ "url": "https://pypi.org/simple/ruamel-yaml-clib/"
}
],
"name": "ruamel.yaml.clib",
@@ -272,7 +272,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/ruamel.yaml.jinja2/"
+ "url": "https://pypi.org/simple/ruamel-yaml-jinja2/"
}
],
"name": "ruamel.yaml.jinja2",
diff --git a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.xml.bin b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.xml.bin
index 10fd8349f..c13393b6c 100644
--- a/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_normalize-packagename_1.7.xml.bin
@@ -85,7 +85,7 @@
pkg:pypi/ruamel.yaml.clib@0.2.8
- https://pypi.org/simple/ruamel.yaml.clib/
+ https://pypi.org/simple/ruamel-yaml-clib/
from implicit index: pypi
024cfe1fc7c7f4e1aff4a81e718109e13409767e4f871443cbff3dba3578203d
@@ -151,7 +151,7 @@
pkg:pypi/ruamel.yaml.jinja2@0.2.7
- https://pypi.org/simple/ruamel.yaml.jinja2/
+ https://pypi.org/simple/ruamel-yaml-jinja2/
from implicit index: pypi
8449be29d9a157fa92d1648adc161d718e469f0d38a6b21e0eabb76fd5b3e663
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.1.xml.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.1.xml.bin
index 6db26588b..0b1beb715 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.1.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.1.xml.bin
@@ -29,7 +29,7 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/
+ https://pypi.org/simple/boolean-py/
from implicit index: pypi
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.2.json.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.2.json.bin
index 73a9f7e29..d2ca91682 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.2.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.2.json.bin
@@ -34,7 +34,7 @@
{
"comment": "from implicit index: pypi",
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/"
+ "url": "https://pypi.org/simple/boolean-py/"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.2.xml.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.2.xml.bin
index ca9bd385a..08f4ce6a3 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.2.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.2.xml.bin
@@ -48,7 +48,7 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/
+ https://pypi.org/simple/boolean-py/
from implicit index: pypi
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.3.json.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.3.json.bin
index ee9f79a8a..546fdbab0 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.3.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.3.json.bin
@@ -76,7 +76,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/"
+ "url": "https://pypi.org/simple/boolean-py/"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.3.xml.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.3.xml.bin
index 30b331948..ae209571e 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.3.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.3.xml.bin
@@ -65,7 +65,7 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/
+ https://pypi.org/simple/boolean-py/
from implicit index: pypi
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.4.json.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.4.json.bin
index ee97a7191..94dc20b9b 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.4.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.4.json.bin
@@ -76,7 +76,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/"
+ "url": "https://pypi.org/simple/boolean-py/"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.4.xml.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.4.xml.bin
index ccafeee62..017d02461 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.4.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.4.xml.bin
@@ -92,7 +92,7 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/
+ https://pypi.org/simple/boolean-py/
from implicit index: pypi
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.5.json.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.5.json.bin
index f09cf9cc2..59f4b2699 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.5.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.5.json.bin
@@ -76,7 +76,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/"
+ "url": "https://pypi.org/simple/boolean-py/"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.5.xml.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.5.xml.bin
index 3eae373b7..afcd51880 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.5.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.5.xml.bin
@@ -102,7 +102,7 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/
+ https://pypi.org/simple/boolean-py/
from implicit index: pypi
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.6.json.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.6.json.bin
index c7fde1ffe..d8344ca2e 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.6.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.6.json.bin
@@ -76,7 +76,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/"
+ "url": "https://pypi.org/simple/boolean-py/"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.6.xml.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.6.xml.bin
index f42156a43..6afc253f6 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.6.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.6.xml.bin
@@ -102,7 +102,7 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/
+ https://pypi.org/simple/boolean-py/
from implicit index: pypi
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.7.json.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.7.json.bin
index b92335bd0..dd629b1a0 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.7.json.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.7.json.bin
@@ -76,7 +76,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/"
+ "url": "https://pypi.org/simple/boolean-py/"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/pipenv/plain_with-extras_1.7.xml.bin b/tests/_data/snapshots/pipenv/plain_with-extras_1.7.xml.bin
index 632c5fc67..aef5ea163 100644
--- a/tests/_data/snapshots/pipenv/plain_with-extras_1.7.xml.bin
+++ b/tests/_data/snapshots/pipenv/plain_with-extras_1.7.xml.bin
@@ -102,7 +102,7 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/
+ https://pypi.org/simple/boolean-py/
from implicit index: pypi
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.1.xml.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.1.xml.bin
index 26063c875..e921ec814 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.1.xml.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.1.xml.bin
@@ -43,11 +43,11 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.json.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.json.bin
index 5e94e2fe3..4b88a18ed 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.json.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.json.bin
@@ -49,12 +49,12 @@
{
"comment": "from legacy-api",
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.xml.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.xml.bin
index 0056693e7..4638ab42f 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.xml.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.2.xml.bin
@@ -62,11 +62,11 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.json.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.json.bin
index 3ef592674..7e2f3b5dc 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.json.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.xml.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.xml.bin
index 436001149..b530097c9 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.xml.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.3.xml.bin
@@ -88,14 +88,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.json.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.json.bin
index 43066d726..fcfd80e92 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.json.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.xml.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.xml.bin
index 3ebce4d27..55eb32079 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.xml.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.4.xml.bin
@@ -115,14 +115,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.json.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.json.bin
index 9a6a4b5dd..65cdec8f1 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.json.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.xml.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.xml.bin
index ddf9a2158..f54bbe4fb 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.xml.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.5.xml.bin
@@ -125,14 +125,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.json.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.json.bin
index 4b568d833..d1b3088c6 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.json.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.xml.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.xml.bin
index d424f99ba..112de6afa 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.xml.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.6.xml.bin
@@ -125,14 +125,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.json.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.json.bin
index 7f9aa86c3..7b73b8df5 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.json.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.xml.bin b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.xml.bin
index 05aa795f0..79bff4176 100644
--- a/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.xml.bin
+++ b/tests/_data/snapshots/poetry/all-extras_with-extras_lock11_1.7.xml.bin
@@ -125,14 +125,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.1.xml.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.1.xml.bin
index ba169a982..c5d9b9059 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.1.xml.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.1.xml.bin
@@ -43,11 +43,11 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.json.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.json.bin
index 19e531c64..e11255a42 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.json.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.json.bin
@@ -49,12 +49,12 @@
{
"comment": "from legacy-api",
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.xml.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.xml.bin
index 9df4ecf73..6a2a2469b 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.xml.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.2.xml.bin
@@ -62,11 +62,11 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.json.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.json.bin
index 8141f5d80..04d7dc3aa 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.json.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.xml.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.xml.bin
index 7f3cb2195..122aee10f 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.xml.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.3.xml.bin
@@ -86,14 +86,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.json.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.json.bin
index c4d8e6dd8..111428ebc 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.json.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.xml.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.xml.bin
index a31f49b32..7e1f95ea0 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.xml.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.4.xml.bin
@@ -113,14 +113,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.json.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.json.bin
index 46c4daf5b..c64031ec6 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.json.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.xml.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.xml.bin
index e74257f31..2f5123820 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.xml.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.5.xml.bin
@@ -123,14 +123,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.json.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.json.bin
index a564cb714..688fb3d86 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.json.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.xml.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.xml.bin
index 35f33ea4b..60318642a 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.xml.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.6.xml.bin
@@ -123,14 +123,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.json.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.json.bin
index 3f225b3b2..9983b2208 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.json.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.json.bin
@@ -91,7 +91,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl"
},
{
"comment": "from legacy-api",
@@ -102,7 +102,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz"
+ "url": "https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz"
}
],
"name": "boolean.py",
diff --git a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.xml.bin b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.xml.bin
index 07fd58370..d86a33108 100644
--- a/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.xml.bin
+++ b/tests/_data/snapshots/poetry/some-extras_with-extras_lock11_1.7.xml.bin
@@ -123,14 +123,14 @@
pkg:pypi/boolean.py@4.0
- https://pypi.org/simple/boolean.py/#boolean.py-4.0-py3-none-any.whl
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0-py3-none-any.whl
from legacy-api
2876f2051d7d6394a531d82dc6eb407faa0b01a0a0b3083817ccd7323b8d96bd
- https://pypi.org/simple/boolean.py/#boolean.py-4.0.tar.gz
+ https://pypi.org/simple/boolean-py/#boolean.py-4.0.tar.gz
from legacy-api
17b9a181630e43dde1851d42bef546d616d5d9b4480357514597e78b203d06e4
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.1.xml.bin b/tests/_data/snapshots/requirements/file_frozen_1.1.xml.bin
index 884f106e8..0dba1d812 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.1.xml.bin
@@ -8,7 +8,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.2.json.bin b/tests/_data/snapshots/requirements/file_frozen_1.2.json.bin
index 5f6b64deb..880d1281f 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.2.json.bin
@@ -7,7 +7,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.2.xml.bin b/tests/_data/snapshots/requirements/file_frozen_1.2.xml.bin
index 0dfc7199e..c51fedd7b 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.2.xml.bin
@@ -56,7 +56,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.3.json.bin b/tests/_data/snapshots/requirements/file_frozen_1.3.json.bin
index 258fb467a..b50e2ead7 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.3.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.3.xml.bin b/tests/_data/snapshots/requirements/file_frozen_1.3.xml.bin
index ebfd24686..6d8106574 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.3.xml.bin
@@ -69,7 +69,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.4.json.bin b/tests/_data/snapshots/requirements/file_frozen_1.4.json.bin
index b145694c2..f16b1cb85 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.4.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.4.xml.bin b/tests/_data/snapshots/requirements/file_frozen_1.4.xml.bin
index 7d9634e0d..7b552e795 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.4.xml.bin
@@ -96,7 +96,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.5.json.bin b/tests/_data/snapshots/requirements/file_frozen_1.5.json.bin
index 71abbf2b5..aa16b96c3 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.5.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.5.xml.bin b/tests/_data/snapshots/requirements/file_frozen_1.5.xml.bin
index 8e560c2aa..9b454467b 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.5.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.6.json.bin b/tests/_data/snapshots/requirements/file_frozen_1.6.json.bin
index 20c5e7264..b8b530ac2 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.6.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.6.xml.bin b/tests/_data/snapshots/requirements/file_frozen_1.6.xml.bin
index 8d4f94378..cc7553507 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.6.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.7.json.bin b/tests/_data/snapshots/requirements/file_frozen_1.7.json.bin
index a584e4664..858c370ab 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.7.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_frozen_1.7.xml.bin b/tests/_data/snapshots/requirements/file_frozen_1.7.xml.bin
index 775287597..d3f6add81 100644
--- a/tests/_data/snapshots/requirements/file_frozen_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/file_frozen_1.7.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_nested_1.1.xml.bin b/tests/_data/snapshots/requirements/file_nested_1.1.xml.bin
index 884f106e8..0dba1d812 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.1.xml.bin
@@ -8,7 +8,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_nested_1.2.json.bin b/tests/_data/snapshots/requirements/file_nested_1.2.json.bin
index 5f6b64deb..880d1281f 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.2.json.bin
@@ -7,7 +7,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_nested_1.2.xml.bin b/tests/_data/snapshots/requirements/file_nested_1.2.xml.bin
index 0dfc7199e..c51fedd7b 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.2.xml.bin
@@ -56,7 +56,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_nested_1.3.json.bin b/tests/_data/snapshots/requirements/file_nested_1.3.json.bin
index 258fb467a..b50e2ead7 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.3.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_nested_1.3.xml.bin b/tests/_data/snapshots/requirements/file_nested_1.3.xml.bin
index ebfd24686..6d8106574 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.3.xml.bin
@@ -69,7 +69,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_nested_1.4.json.bin b/tests/_data/snapshots/requirements/file_nested_1.4.json.bin
index b145694c2..f16b1cb85 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.4.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_nested_1.4.xml.bin b/tests/_data/snapshots/requirements/file_nested_1.4.xml.bin
index 7d9634e0d..7b552e795 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.4.xml.bin
@@ -96,7 +96,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_nested_1.5.json.bin b/tests/_data/snapshots/requirements/file_nested_1.5.json.bin
index 71abbf2b5..aa16b96c3 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.5.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_nested_1.5.xml.bin b/tests/_data/snapshots/requirements/file_nested_1.5.xml.bin
index 8e560c2aa..9b454467b 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.5.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_nested_1.6.json.bin b/tests/_data/snapshots/requirements/file_nested_1.6.json.bin
index 20c5e7264..b8b530ac2 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.6.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_nested_1.6.xml.bin b/tests/_data/snapshots/requirements/file_nested_1.6.xml.bin
index 8d4f94378..cc7553507 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.6.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_nested_1.7.json.bin b/tests/_data/snapshots/requirements/file_nested_1.7.json.bin
index a584e4664..858c370ab 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.7.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_nested_1.7.xml.bin b/tests/_data/snapshots/requirements/file_nested_1.7.xml.bin
index 775287597..d3f6add81 100644
--- a/tests/_data/snapshots/requirements/file_nested_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/file_nested_1.7.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.0.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.0.xml.bin
new file mode 100644
index 000000000..5e27c811c
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.0.xml.bin
@@ -0,0 +1,40 @@
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+ false
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+ false
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+ false
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+ false
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+ false
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.1.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.1.xml.bin
new file mode 100644
index 000000000..af9dbada0
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.1.xml.bin
@@ -0,0 +1,85 @@
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.2.json.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.2.json.bin
new file mode 100644
index 000000000..019fbff31
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.2.json.bin
@@ -0,0 +1,186 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ },
+ {
+ "ref": "root-component"
+ }
+ ],
+ "metadata": {
+ "component": {
+ "bom-ref": "root-component",
+ "description": "some `reuqirements.txt` a root-component with all metadata",
+ "externalReferences": [
+ {
+ "comment": "from pyproject urls: documentation",
+ "type": "documentation",
+ "url": "https://oss.acme.org/my-project/docs/"
+ },
+ {
+ "comment": "from pyproject urls: Bug Tracker",
+ "type": "issue-tracker",
+ "url": "https://oss.acme.org/my-project/bugs/"
+ },
+ {
+ "comment": "from pyproject urls: Funding",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/funding/"
+ },
+ {
+ "comment": "from pyproject urls: Change log",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/changelog/"
+ },
+ {
+ "comment": "from pyproject urls: repository",
+ "type": "vcs",
+ "url": "https://oss.acme.org/my-project.git"
+ },
+ {
+ "comment": "from pyproject urls: homepage",
+ "type": "website",
+ "url": "https://oss.acme.org/my-project/"
+ }
+ ],
+ "licenses": [
+ {
+ "expression": "Apache-2.0 OR MIT"
+ }
+ ],
+ "name": "testing-requirements-txt",
+ "type": "application",
+ "version": "0.1.0"
+ },
+ "tools": [
+ {
+ "name": "cyclonedx-py",
+ "vendor": "CycloneDX",
+ "version": "thisVersion-testing"
+ },
+ {
+ "name": "cyclonedx-python-lib",
+ "vendor": "CycloneDX",
+ "version": "libVersion-testing"
+ }
+ ]
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.2b.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.2"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.2.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.2.xml.bin
new file mode 100644
index 000000000..69493cb11
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.2.xml.bin
@@ -0,0 +1,141 @@
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+ testing-requirements-txt
+ 0.1.0
+ some `reuqirements.txt` a root-component with all metadata
+
+ Apache-2.0 OR MIT
+
+
+
+ https://oss.acme.org/my-project/docs/
+ from pyproject urls: documentation
+
+
+ https://oss.acme.org/my-project/bugs/
+ from pyproject urls: Bug Tracker
+
+
+ https://oss.acme.org/my-project/funding/
+ from pyproject urls: Funding
+
+
+ https://oss.acme.org/my-project/changelog/
+ from pyproject urls: Change log
+
+
+ https://oss.acme.org/my-project.git
+ from pyproject urls: repository
+
+
+ https://oss.acme.org/my-project/
+ from pyproject urls: homepage
+
+
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.3.json.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.3.json.bin
new file mode 100644
index 000000000..102e86a75
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.3.json.bin
@@ -0,0 +1,206 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ },
+ {
+ "ref": "root-component"
+ }
+ ],
+ "metadata": {
+ "component": {
+ "bom-ref": "root-component",
+ "description": "some `reuqirements.txt` a root-component with all metadata",
+ "evidence": {
+ "licenses": [
+ {
+ "license": {
+ "id": "MIT"
+ }
+ },
+ {
+ "license": {
+ "name": "License :: OSI Approved :: Apache Software License"
+ }
+ }
+ ]
+ },
+ "externalReferences": [
+ {
+ "comment": "from pyproject urls: documentation",
+ "type": "documentation",
+ "url": "https://oss.acme.org/my-project/docs/"
+ },
+ {
+ "comment": "from pyproject urls: Bug Tracker",
+ "type": "issue-tracker",
+ "url": "https://oss.acme.org/my-project/bugs/"
+ },
+ {
+ "comment": "from pyproject urls: Funding",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/funding/"
+ },
+ {
+ "comment": "from pyproject urls: Change log",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/changelog/"
+ },
+ {
+ "comment": "from pyproject urls: repository",
+ "type": "vcs",
+ "url": "https://oss.acme.org/my-project.git"
+ },
+ {
+ "comment": "from pyproject urls: homepage",
+ "type": "website",
+ "url": "https://oss.acme.org/my-project/"
+ }
+ ],
+ "licenses": [
+ {
+ "expression": "Apache-2.0 OR MIT"
+ }
+ ],
+ "name": "testing-requirements-txt",
+ "type": "application",
+ "version": "0.1.0"
+ },
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": [
+ {
+ "name": "cyclonedx-py",
+ "vendor": "CycloneDX",
+ "version": "thisVersion-testing"
+ },
+ {
+ "name": "cyclonedx-python-lib",
+ "vendor": "CycloneDX",
+ "version": "libVersion-testing"
+ }
+ ]
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.3a.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.3"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.3.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.3.xml.bin
new file mode 100644
index 000000000..58e870ad1
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.3.xml.bin
@@ -0,0 +1,154 @@
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+ testing-requirements-txt
+ 0.1.0
+ some `reuqirements.txt` a root-component with all metadata
+
+ Apache-2.0 OR MIT
+
+
+
+ https://oss.acme.org/my-project/docs/
+ from pyproject urls: documentation
+
+
+ https://oss.acme.org/my-project/bugs/
+ from pyproject urls: Bug Tracker
+
+
+ https://oss.acme.org/my-project/funding/
+ from pyproject urls: Funding
+
+
+ https://oss.acme.org/my-project/changelog/
+ from pyproject urls: Change log
+
+
+ https://oss.acme.org/my-project.git
+ from pyproject urls: repository
+
+
+ https://oss.acme.org/my-project/
+ from pyproject urls: homepage
+
+
+
+
+
+ MIT
+
+
+ License :: OSI Approved :: Apache Software License
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.4.json.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.4.json.bin
new file mode 100644
index 000000000..7c458f0fe
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.4.json.bin
@@ -0,0 +1,241 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ },
+ {
+ "ref": "root-component"
+ }
+ ],
+ "metadata": {
+ "component": {
+ "bom-ref": "root-component",
+ "description": "some `reuqirements.txt` a root-component with all metadata",
+ "evidence": {
+ "licenses": [
+ {
+ "license": {
+ "id": "MIT"
+ }
+ },
+ {
+ "license": {
+ "name": "License :: OSI Approved :: Apache Software License"
+ }
+ }
+ ]
+ },
+ "externalReferences": [
+ {
+ "comment": "from pyproject urls: documentation",
+ "type": "documentation",
+ "url": "https://oss.acme.org/my-project/docs/"
+ },
+ {
+ "comment": "from pyproject urls: Bug Tracker",
+ "type": "issue-tracker",
+ "url": "https://oss.acme.org/my-project/bugs/"
+ },
+ {
+ "comment": "from pyproject urls: Funding",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/funding/"
+ },
+ {
+ "comment": "from pyproject urls: Change log",
+ "type": "release-notes",
+ "url": "https://oss.acme.org/my-project/changelog/"
+ },
+ {
+ "comment": "from pyproject urls: repository",
+ "type": "vcs",
+ "url": "https://oss.acme.org/my-project.git"
+ },
+ {
+ "comment": "from pyproject urls: homepage",
+ "type": "website",
+ "url": "https://oss.acme.org/my-project/"
+ }
+ ],
+ "licenses": [
+ {
+ "expression": "Apache-2.0 OR MIT"
+ }
+ ],
+ "name": "testing-requirements-txt",
+ "type": "application",
+ "version": "0.1.0"
+ },
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": [
+ {
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "name": "cyclonedx-py",
+ "vendor": "CycloneDX",
+ "version": "thisVersion-testing"
+ },
+ {
+ "externalReferences": [ ],
+ "name": "cyclonedx-python-lib",
+ "vendor": "CycloneDX",
+ "version": "libVersion-testing"
+ }
+ ]
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.4"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.4.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.4.xml.bin
new file mode 100644
index 000000000..93bf27221
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.4.xml.bin
@@ -0,0 +1,181 @@
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+ testing-requirements-txt
+ 0.1.0
+ some `reuqirements.txt` a root-component with all metadata
+
+ Apache-2.0 OR MIT
+
+
+
+ https://oss.acme.org/my-project/docs/
+ from pyproject urls: documentation
+
+
+ https://oss.acme.org/my-project/bugs/
+ from pyproject urls: Bug Tracker
+
+
+ https://oss.acme.org/my-project/funding/
+ from pyproject urls: Funding
+
+
+ https://oss.acme.org/my-project/changelog/
+ from pyproject urls: Change log
+
+
+ https://oss.acme.org/my-project.git
+ from pyproject urls: repository
+
+
+ https://oss.acme.org/my-project/
+ from pyproject urls: homepage
+
+
+
+
+
+ MIT
+
+
+ License :: OSI Approved :: Apache Software License
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.5.json.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.5.json.bin
new file mode 100644
index 000000000..8dc95270d
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.5.json.bin
@@ -0,0 +1,255 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ },
+ {
+ "ref": "root-component"
+ }
+ ],
+ "metadata": {
+ "component": {
+ "bom-ref": "root-component",
+ "description": "some `reuqirements.txt` a root-component with all metadata",
+ "evidence": {
+ "licenses": [
+ {
+ "license": {
+ "id": "MIT"
+ }
+ },
+ {
+ "license": {
+ "name": "License :: OSI Approved :: Apache Software License"
+ }
+ }
+ ]
+ },
+ "externalReferences": [
+ {
+ "comment": "from pyproject urls: documentation",
+ "type": "documentation",
+ "url": "https://oss.acme.org/my-project/docs/"
+ },
+ {
+ "comment": "from pyproject urls: Bug Tracker",
+ "type": "issue-tracker",
+ "url": "https://oss.acme.org/my-project/bugs/"
+ },
+ {
+ "comment": "from pyproject urls: Funding",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/funding/"
+ },
+ {
+ "comment": "from pyproject urls: Change log",
+ "type": "release-notes",
+ "url": "https://oss.acme.org/my-project/changelog/"
+ },
+ {
+ "comment": "from pyproject urls: repository",
+ "type": "vcs",
+ "url": "https://oss.acme.org/my-project.git"
+ },
+ {
+ "comment": "from pyproject urls: homepage",
+ "type": "website",
+ "url": "https://oss.acme.org/my-project/"
+ }
+ ],
+ "licenses": [
+ {
+ "expression": "Apache-2.0 OR MIT"
+ }
+ ],
+ "name": "testing-requirements-txt",
+ "type": "application",
+ "version": "0.1.0"
+ },
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": {
+ "components": [
+ {
+ "description": "CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments",
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "group": "CycloneDX",
+ "licenses": [
+ {
+ "license": {
+ "id": "Apache-2.0"
+ }
+ }
+ ],
+ "name": "cyclonedx-py",
+ "type": "application",
+ "version": "thisVersion-testing"
+ },
+ {
+ "description": "stripped",
+ "externalReferences": [ ],
+ "group": "CycloneDX",
+ "licenses": [ ],
+ "name": "cyclonedx-python-lib",
+ "type": "library",
+ "version": "libVersion-testing"
+ }
+ ]
+ }
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.5"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.5.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.5.xml.bin
new file mode 100644
index 000000000..66d416b5b
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.5.xml.bin
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+ CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments
+
+
+ Apache-2.0
+
+
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+
+
+
+ testing-requirements-txt
+ 0.1.0
+ some `reuqirements.txt` a root-component with all metadata
+
+ Apache-2.0 OR MIT
+
+
+
+ https://oss.acme.org/my-project/docs/
+ from pyproject urls: documentation
+
+
+ https://oss.acme.org/my-project/bugs/
+ from pyproject urls: Bug Tracker
+
+
+ https://oss.acme.org/my-project/funding/
+ from pyproject urls: Funding
+
+
+ https://oss.acme.org/my-project/changelog/
+ from pyproject urls: Change log
+
+
+ https://oss.acme.org/my-project.git
+ from pyproject urls: repository
+
+
+ https://oss.acme.org/my-project/
+ from pyproject urls: homepage
+
+
+
+
+
+ MIT
+
+
+ License :: OSI Approved :: Apache Software License
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.6.json.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.6.json.bin
new file mode 100644
index 000000000..501f603ad
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.6.json.bin
@@ -0,0 +1,259 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ },
+ {
+ "ref": "root-component"
+ }
+ ],
+ "metadata": {
+ "component": {
+ "bom-ref": "root-component",
+ "description": "some `reuqirements.txt` a root-component with all metadata",
+ "evidence": {
+ "licenses": [
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "id": "MIT"
+ }
+ },
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "name": "License :: OSI Approved :: Apache Software License"
+ }
+ }
+ ]
+ },
+ "externalReferences": [
+ {
+ "comment": "from pyproject urls: documentation",
+ "type": "documentation",
+ "url": "https://oss.acme.org/my-project/docs/"
+ },
+ {
+ "comment": "from pyproject urls: Bug Tracker",
+ "type": "issue-tracker",
+ "url": "https://oss.acme.org/my-project/bugs/"
+ },
+ {
+ "comment": "from pyproject urls: Funding",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/funding/"
+ },
+ {
+ "comment": "from pyproject urls: Change log",
+ "type": "release-notes",
+ "url": "https://oss.acme.org/my-project/changelog/"
+ },
+ {
+ "comment": "from pyproject urls: repository",
+ "type": "vcs",
+ "url": "https://oss.acme.org/my-project.git"
+ },
+ {
+ "comment": "from pyproject urls: homepage",
+ "type": "website",
+ "url": "https://oss.acme.org/my-project/"
+ }
+ ],
+ "licenses": [
+ {
+ "acknowledgement": "declared",
+ "expression": "Apache-2.0 OR MIT"
+ }
+ ],
+ "name": "testing-requirements-txt",
+ "type": "application",
+ "version": "0.1.0"
+ },
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": {
+ "components": [
+ {
+ "description": "CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments",
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "group": "CycloneDX",
+ "licenses": [
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "id": "Apache-2.0"
+ }
+ }
+ ],
+ "name": "cyclonedx-py",
+ "type": "application",
+ "version": "thisVersion-testing"
+ },
+ {
+ "description": "stripped",
+ "externalReferences": [ ],
+ "group": "CycloneDX",
+ "licenses": [ ],
+ "name": "cyclonedx-python-lib",
+ "type": "library",
+ "version": "libVersion-testing"
+ }
+ ]
+ }
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.6"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.6.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.6.xml.bin
new file mode 100644
index 000000000..7f569e291
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.6.xml.bin
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+ CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments
+
+
+ Apache-2.0
+
+
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+
+
+
+ testing-requirements-txt
+ 0.1.0
+ some `reuqirements.txt` a root-component with all metadata
+
+ Apache-2.0 OR MIT
+
+
+
+ https://oss.acme.org/my-project/docs/
+ from pyproject urls: documentation
+
+
+ https://oss.acme.org/my-project/bugs/
+ from pyproject urls: Bug Tracker
+
+
+ https://oss.acme.org/my-project/funding/
+ from pyproject urls: Funding
+
+
+ https://oss.acme.org/my-project/changelog/
+ from pyproject urls: Change log
+
+
+ https://oss.acme.org/my-project.git
+ from pyproject urls: repository
+
+
+ https://oss.acme.org/my-project/
+ from pyproject urls: homepage
+
+
+
+
+
+ MIT
+
+
+ License :: OSI Approved :: Apache Software License
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.7.json.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.7.json.bin
new file mode 100644
index 000000000..60e37458c
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.7.json.bin
@@ -0,0 +1,259 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ },
+ {
+ "ref": "root-component"
+ }
+ ],
+ "metadata": {
+ "component": {
+ "bom-ref": "root-component",
+ "description": "some `reuqirements.txt` a root-component with all metadata",
+ "evidence": {
+ "licenses": [
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "id": "MIT"
+ }
+ },
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "name": "License :: OSI Approved :: Apache Software License"
+ }
+ }
+ ]
+ },
+ "externalReferences": [
+ {
+ "comment": "from pyproject urls: documentation",
+ "type": "documentation",
+ "url": "https://oss.acme.org/my-project/docs/"
+ },
+ {
+ "comment": "from pyproject urls: Bug Tracker",
+ "type": "issue-tracker",
+ "url": "https://oss.acme.org/my-project/bugs/"
+ },
+ {
+ "comment": "from pyproject urls: Funding",
+ "type": "other",
+ "url": "https://oss.acme.org/my-project/funding/"
+ },
+ {
+ "comment": "from pyproject urls: Change log",
+ "type": "release-notes",
+ "url": "https://oss.acme.org/my-project/changelog/"
+ },
+ {
+ "comment": "from pyproject urls: repository",
+ "type": "vcs",
+ "url": "https://oss.acme.org/my-project.git"
+ },
+ {
+ "comment": "from pyproject urls: homepage",
+ "type": "website",
+ "url": "https://oss.acme.org/my-project/"
+ }
+ ],
+ "licenses": [
+ {
+ "acknowledgement": "declared",
+ "expression": "Apache-2.0 OR MIT"
+ }
+ ],
+ "name": "testing-requirements-txt",
+ "type": "application",
+ "version": "0.1.0"
+ },
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": {
+ "components": [
+ {
+ "description": "CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments",
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "group": "CycloneDX",
+ "licenses": [
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "id": "Apache-2.0"
+ }
+ }
+ ],
+ "name": "cyclonedx-py",
+ "type": "application",
+ "version": "thisVersion-testing"
+ },
+ {
+ "description": "stripped",
+ "externalReferences": [ ],
+ "group": "CycloneDX",
+ "licenses": [ ],
+ "name": "cyclonedx-python-lib",
+ "type": "library",
+ "version": "libVersion-testing"
+ }
+ ]
+ }
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.7.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.7"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/file_normalize-packagename_1.7.xml.bin b/tests/_data/snapshots/requirements/file_normalize-packagename_1.7.xml.bin
new file mode 100644
index 000000000..5089bee10
--- /dev/null
+++ b/tests/_data/snapshots/requirements/file_normalize-packagename_1.7.xml.bin
@@ -0,0 +1,191 @@
+
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+ CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments
+
+
+ Apache-2.0
+
+
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+
+
+
+ testing-requirements-txt
+ 0.1.0
+ some `reuqirements.txt` a root-component with all metadata
+
+ Apache-2.0 OR MIT
+
+
+
+ https://oss.acme.org/my-project/docs/
+ from pyproject urls: documentation
+
+
+ https://oss.acme.org/my-project/bugs/
+ from pyproject urls: Bug Tracker
+
+
+ https://oss.acme.org/my-project/funding/
+ from pyproject urls: Funding
+
+
+ https://oss.acme.org/my-project/changelog/
+ from pyproject urls: Change log
+
+
+ https://oss.acme.org/my-project.git
+ from pyproject urls: repository
+
+
+ https://oss.acme.org/my-project/
+ from pyproject urls: homepage
+
+
+
+
+
+ MIT
+
+
+ License :: OSI Approved :: Apache Software License
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.1.xml.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.1.xml.bin
index 9143afdef..12beb94e6 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.1.xml.bin
@@ -20,7 +20,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.json.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.json.bin
index 887357c6e..20b2c4c21 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.json.bin
@@ -22,7 +22,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.xml.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.xml.bin
index 2ab801422..b6795bc07 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.2.xml.bin
@@ -68,7 +68,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.json.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.json.bin
index 9c46f4e01..b0930693c 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.json.bin
@@ -22,7 +22,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.xml.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.xml.bin
index 4d080ffe0..89f8cca33 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.3.xml.bin
@@ -81,7 +81,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.json.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.json.bin
index d86b276a7..42946cdef 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.xml.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.xml.bin
index 4b2f63cf6..d50386e74 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.4.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.json.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.json.bin
index cd8ad63cc..bedc65e25 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.xml.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.xml.bin
index 797930962..71e5ad033 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.5.xml.bin
@@ -116,7 +116,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.json.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.json.bin
index e18774f75..e8ff23d03 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.xml.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.xml.bin
index be51ce145..c0f3fe1f1 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.6.xml.bin
@@ -116,7 +116,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.json.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.json.bin
index 9850955cf..1af31705d 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.xml.bin b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.xml.bin
index a11490a3a..fc4b3c627 100644
--- a/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/file_regression-issue448.cp1252.txt_1.7.xml.bin
@@ -116,7 +116,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.1.xml.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.1.xml.bin
index 97eb0c961..155ecab27 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.1.xml.bin
@@ -8,7 +8,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.2.json.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.2.json.bin
index 2330e609b..0c1f9462f 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.2.json.bin
@@ -7,7 +7,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.2.xml.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.2.xml.bin
index 5458fbe52..873576747 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.2.xml.bin
@@ -56,7 +56,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.3.json.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.3.json.bin
index 1884d24a7..eaf9c075a 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.3.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.3.xml.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.3.xml.bin
index 5c49ddd42..3c67da4c5 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.3.xml.bin
@@ -69,7 +69,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.4.json.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.4.json.bin
index 92f736ec7..731caed1b 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.4.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.4.xml.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.4.xml.bin
index 91651bfdf..5568375a7 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.4.xml.bin
@@ -96,7 +96,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.5.json.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.5.json.bin
index 9224eeea0..ed9d3da25 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.5.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.5.xml.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.5.xml.bin
index e5a2c1e6e..d8fb73372 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.5.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.6.json.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.6.json.bin
index fbc277874..fcc399e39 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.6.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.6.xml.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.6.xml.bin
index b05c949ff..fb75e7a18 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.6.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.7.json.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.7.json.bin
index c6f8277cd..9d13124b2 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.7.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/file_with-hashes_1.7.xml.bin b/tests/_data/snapshots/requirements/file_with-hashes_1.7.xml.bin
index 426d569c7..7ae661400 100644
--- a/tests/_data/snapshots/requirements/file_with-hashes_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/file_with-hashes_1.7.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.1.xml.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.1.xml.bin
index d02413fec..41b3b8ae0 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.1.xml.bin
@@ -8,15 +8,15 @@
pkg:pypi/fooproject@1.2
- https://legacy1.pypackages.acme.org/simple/FooProject/
+ https://legacy1.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
- https://legacy2.pypackages.acme.org/simple/FooProject/
+ https://legacy2.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
- https://pypackages.acme.org/simple/FooProject/
+ https://pypackages.acme.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.2.json.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.2.json.bin
index ecfe6d351..b8399c518 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.2.json.bin
@@ -7,17 +7,17 @@
{
"comment": "implicit dist extra-url",
"type": "distribution",
- "url": "https://legacy1.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy1.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist extra-url",
"type": "distribution",
- "url": "https://legacy2.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy2.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypackages.acme.org/simple/FooProject/"
+ "url": "https://pypackages.acme.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.2.xml.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.2.xml.bin
index e574eb173..779067102 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.2.xml.bin
@@ -56,15 +56,15 @@
pkg:pypi/fooproject@1.2
- https://legacy1.pypackages.acme.org/simple/FooProject/
+ https://legacy1.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
- https://legacy2.pypackages.acme.org/simple/FooProject/
+ https://legacy2.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
- https://pypackages.acme.org/simple/FooProject/
+ https://pypackages.acme.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.3.json.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.3.json.bin
index 01d253a80..0d76a208a 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.3.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://legacy1.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy1.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist extra-url",
@@ -32,7 +32,7 @@
}
],
"type": "distribution",
- "url": "https://legacy2.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy2.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist url",
@@ -47,7 +47,7 @@
}
],
"type": "distribution",
- "url": "https://pypackages.acme.org/simple/FooProject/"
+ "url": "https://pypackages.acme.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.3.xml.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.3.xml.bin
index 3966a7178..632b49058 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.3.xml.bin
@@ -69,7 +69,7 @@
pkg:pypi/fooproject@1.2
- https://legacy1.pypackages.acme.org/simple/FooProject/
+ https://legacy1.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -77,7 +77,7 @@
- https://legacy2.pypackages.acme.org/simple/FooProject/
+ https://legacy2.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -85,7 +85,7 @@
- https://pypackages.acme.org/simple/FooProject/
+ https://pypackages.acme.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.4.json.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.4.json.bin
index a8774b066..4809227ce 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.4.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://legacy1.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy1.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist extra-url",
@@ -32,7 +32,7 @@
}
],
"type": "distribution",
- "url": "https://legacy2.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy2.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist url",
@@ -47,7 +47,7 @@
}
],
"type": "distribution",
- "url": "https://pypackages.acme.org/simple/FooProject/"
+ "url": "https://pypackages.acme.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.4.xml.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.4.xml.bin
index 279631881..24f6bd4af 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.4.xml.bin
@@ -96,7 +96,7 @@
pkg:pypi/fooproject@1.2
- https://legacy1.pypackages.acme.org/simple/FooProject/
+ https://legacy1.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -104,7 +104,7 @@
- https://legacy2.pypackages.acme.org/simple/FooProject/
+ https://legacy2.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -112,7 +112,7 @@
- https://pypackages.acme.org/simple/FooProject/
+ https://pypackages.acme.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.5.json.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.5.json.bin
index 05da5f046..78e3fcb61 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.5.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://legacy1.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy1.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist extra-url",
@@ -32,7 +32,7 @@
}
],
"type": "distribution",
- "url": "https://legacy2.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy2.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist url",
@@ -47,7 +47,7 @@
}
],
"type": "distribution",
- "url": "https://pypackages.acme.org/simple/FooProject/"
+ "url": "https://pypackages.acme.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.5.xml.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.5.xml.bin
index 583d5e994..272b72e26 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.5.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://legacy1.pypackages.acme.org/simple/FooProject/
+ https://legacy1.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -114,7 +114,7 @@
- https://legacy2.pypackages.acme.org/simple/FooProject/
+ https://legacy2.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -122,7 +122,7 @@
- https://pypackages.acme.org/simple/FooProject/
+ https://pypackages.acme.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.6.json.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.6.json.bin
index 042855929..9cc97d38d 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.6.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://legacy1.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy1.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist extra-url",
@@ -32,7 +32,7 @@
}
],
"type": "distribution",
- "url": "https://legacy2.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy2.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist url",
@@ -47,7 +47,7 @@
}
],
"type": "distribution",
- "url": "https://pypackages.acme.org/simple/FooProject/"
+ "url": "https://pypackages.acme.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.6.xml.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.6.xml.bin
index e49a84ec7..33c8d187f 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.6.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://legacy1.pypackages.acme.org/simple/FooProject/
+ https://legacy1.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -114,7 +114,7 @@
- https://legacy2.pypackages.acme.org/simple/FooProject/
+ https://legacy2.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -122,7 +122,7 @@
- https://pypackages.acme.org/simple/FooProject/
+ https://pypackages.acme.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.7.json.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.7.json.bin
index 0e59997be..313a78cdf 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.7.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://legacy1.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy1.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist extra-url",
@@ -32,7 +32,7 @@
}
],
"type": "distribution",
- "url": "https://legacy2.pypackages.acme.org/simple/FooProject/"
+ "url": "https://legacy2.pypackages.acme.org/simple/fooproject/"
},
{
"comment": "implicit dist url",
@@ -47,7 +47,7 @@
}
],
"type": "distribution",
- "url": "https://pypackages.acme.org/simple/FooProject/"
+ "url": "https://pypackages.acme.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/index_auth_frozen_1.7.xml.bin b/tests/_data/snapshots/requirements/index_auth_frozen_1.7.xml.bin
index 3401c4c45..5b3dfd53a 100644
--- a/tests/_data/snapshots/requirements/index_auth_frozen_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/index_auth_frozen_1.7.xml.bin
@@ -106,7 +106,7 @@
pkg:pypi/fooproject@1.2
- https://legacy1.pypackages.acme.org/simple/FooProject/
+ https://legacy1.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -114,7 +114,7 @@
- https://legacy2.pypackages.acme.org/simple/FooProject/
+ https://legacy2.pypackages.acme.org/simple/fooproject/
implicit dist extra-url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
@@ -122,7 +122,7 @@
- https://pypackages.acme.org/simple/FooProject/
+ https://pypackages.acme.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.1.xml.bin b/tests/_data/snapshots/requirements/stream_frozen_1.1.xml.bin
index 884f106e8..0dba1d812 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.1.xml.bin
@@ -8,7 +8,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.2.json.bin b/tests/_data/snapshots/requirements/stream_frozen_1.2.json.bin
index f9182aef2..14b19fa34 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.2.json.bin
@@ -7,7 +7,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.2.xml.bin b/tests/_data/snapshots/requirements/stream_frozen_1.2.xml.bin
index 97550cb21..f3a959998 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.2.xml.bin
@@ -22,7 +22,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.3.json.bin b/tests/_data/snapshots/requirements/stream_frozen_1.3.json.bin
index 266162bfd..84c230d29 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.3.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.3.xml.bin b/tests/_data/snapshots/requirements/stream_frozen_1.3.xml.bin
index 3fd204ee2..fbecdfaf7 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.3.xml.bin
@@ -25,7 +25,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.4.json.bin b/tests/_data/snapshots/requirements/stream_frozen_1.4.json.bin
index 9c12ddf45..2ad2a7c55 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.4.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.4.xml.bin b/tests/_data/snapshots/requirements/stream_frozen_1.4.xml.bin
index 1e8346b4b..a0a10d582 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.4.xml.bin
@@ -52,7 +52,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.5.json.bin b/tests/_data/snapshots/requirements/stream_frozen_1.5.json.bin
index 8ea435546..e343b04a5 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.5.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.5.xml.bin b/tests/_data/snapshots/requirements/stream_frozen_1.5.xml.bin
index b52344952..cc036849d 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.5.xml.bin
@@ -62,7 +62,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.6.json.bin b/tests/_data/snapshots/requirements/stream_frozen_1.6.json.bin
index 0ec777e38..bd8688a7e 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.6.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.6.xml.bin b/tests/_data/snapshots/requirements/stream_frozen_1.6.xml.bin
index a6d5335e5..d83e117c9 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.6.xml.bin
@@ -62,7 +62,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.7.json.bin b/tests/_data/snapshots/requirements/stream_frozen_1.7.json.bin
index bf0cf5ec0..d2b0d1ed7 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.7.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_frozen_1.7.xml.bin b/tests/_data/snapshots/requirements/stream_frozen_1.7.xml.bin
index 7584a0bea..891853ba6 100644
--- a/tests/_data/snapshots/requirements/stream_frozen_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_frozen_1.7.xml.bin
@@ -62,7 +62,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.0.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.0.xml.bin
new file mode 100644
index 000000000..5e27c811c
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.0.xml.bin
@@ -0,0 +1,40 @@
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+ false
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+ false
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+ false
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+ false
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+ false
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.1.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.1.xml.bin
new file mode 100644
index 000000000..af9dbada0
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.1.xml.bin
@@ -0,0 +1,85 @@
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.2.json.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.2.json.bin
new file mode 100644
index 000000000..f29d6377f
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.2.json.bin
@@ -0,0 +1,139 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ }
+ ],
+ "metadata": {
+ "tools": [
+ {
+ "name": "cyclonedx-py",
+ "vendor": "CycloneDX",
+ "version": "thisVersion-testing"
+ },
+ {
+ "name": "cyclonedx-python-lib",
+ "vendor": "CycloneDX",
+ "version": "libVersion-testing"
+ }
+ ]
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.2b.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.2"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.2.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.2.xml.bin
new file mode 100644
index 000000000..b9b293832
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.2.xml.bin
@@ -0,0 +1,106 @@
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.3.json.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.3.json.bin
new file mode 100644
index 000000000..4cd50eef4
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.3.json.bin
@@ -0,0 +1,145 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ }
+ ],
+ "metadata": {
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": [
+ {
+ "name": "cyclonedx-py",
+ "vendor": "CycloneDX",
+ "version": "thisVersion-testing"
+ },
+ {
+ "name": "cyclonedx-python-lib",
+ "vendor": "CycloneDX",
+ "version": "libVersion-testing"
+ }
+ ]
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.3a.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.3"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.3.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.3.xml.bin
new file mode 100644
index 000000000..1175946ec
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.3.xml.bin
@@ -0,0 +1,109 @@
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.4.json.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.4.json.bin
new file mode 100644
index 000000000..3e4d689fe
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.4.json.bin
@@ -0,0 +1,180 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ }
+ ],
+ "metadata": {
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": [
+ {
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "name": "cyclonedx-py",
+ "vendor": "CycloneDX",
+ "version": "thisVersion-testing"
+ },
+ {
+ "externalReferences": [ ],
+ "name": "cyclonedx-python-lib",
+ "vendor": "CycloneDX",
+ "version": "libVersion-testing"
+ }
+ ]
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.4.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.4"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.4.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.4.xml.bin
new file mode 100644
index 000000000..c7b5f146a
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.4.xml.bin
@@ -0,0 +1,136 @@
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.5.json.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.5.json.bin
new file mode 100644
index 000000000..3c086b160
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.5.json.bin
@@ -0,0 +1,194 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ }
+ ],
+ "metadata": {
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": {
+ "components": [
+ {
+ "description": "CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments",
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "group": "CycloneDX",
+ "licenses": [
+ {
+ "license": {
+ "id": "Apache-2.0"
+ }
+ }
+ ],
+ "name": "cyclonedx-py",
+ "type": "application",
+ "version": "thisVersion-testing"
+ },
+ {
+ "description": "stripped",
+ "externalReferences": [ ],
+ "group": "CycloneDX",
+ "licenses": [ ],
+ "name": "cyclonedx-python-lib",
+ "type": "library",
+ "version": "libVersion-testing"
+ }
+ ]
+ }
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.5"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.5.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.5.xml.bin
new file mode 100644
index 000000000..0f36fd74d
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.5.xml.bin
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+ CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments
+
+
+ Apache-2.0
+
+
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.6.json.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.6.json.bin
new file mode 100644
index 000000000..5b9febffc
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.6.json.bin
@@ -0,0 +1,195 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ }
+ ],
+ "metadata": {
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": {
+ "components": [
+ {
+ "description": "CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments",
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "group": "CycloneDX",
+ "licenses": [
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "id": "Apache-2.0"
+ }
+ }
+ ],
+ "name": "cyclonedx-py",
+ "type": "application",
+ "version": "thisVersion-testing"
+ },
+ {
+ "description": "stripped",
+ "externalReferences": [ ],
+ "group": "CycloneDX",
+ "licenses": [ ],
+ "name": "cyclonedx-python-lib",
+ "type": "library",
+ "version": "libVersion-testing"
+ }
+ ]
+ }
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.6"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.6.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.6.xml.bin
new file mode 100644
index 000000000..2f15cd1d4
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.6.xml.bin
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+ CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments
+
+
+ Apache-2.0
+
+
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.7.json.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.7.json.bin
new file mode 100644
index 000000000..3edbff91b
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.7.json.bin
@@ -0,0 +1,195 @@
+{
+ "components": [
+ {
+ "bom-ref": "requirements-L7",
+ "description": "requirements line 7: Flask_SQLAlchemy==3.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/flask-sqlalchemy/"
+ }
+ ],
+ "name": "Flask_SQLAlchemy",
+ "purl": "pkg:pypi/flask-sqlalchemy@3.1.1",
+ "type": "library",
+ "version": "3.1.1"
+ },
+ {
+ "bom-ref": "requirements-L8",
+ "description": "requirements line 8: PyYAML==6.0.2",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/pyyaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/pyyaml/"
+ }
+ ],
+ "name": "PyYAML",
+ "purl": "pkg:pypi/pyyaml@6.0.2",
+ "type": "library",
+ "version": "6.0.2"
+ },
+ {
+ "bom-ref": "requirements-L9",
+ "description": "requirements line 9: ruamel.yaml==0.18.5",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml/"
+ }
+ ],
+ "name": "ruamel.yaml",
+ "purl": "pkg:pypi/ruamel.yaml@0.18.5",
+ "type": "library",
+ "version": "0.18.5"
+ },
+ {
+ "bom-ref": "requirements-L10",
+ "description": "requirements line 10: ruamel.yaml.clib==0.2.8",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/ruamel-yaml-clib/"
+ }
+ ],
+ "name": "ruamel.yaml.clib",
+ "purl": "pkg:pypi/ruamel.yaml.clib@0.2.8",
+ "type": "library",
+ "version": "0.2.8"
+ },
+ {
+ "bom-ref": "requirements-L11",
+ "description": "requirements line 11: zope.interface==7.1.1",
+ "externalReferences": [
+ {
+ "comment": "implicit dist extra-url",
+ "type": "distribution",
+ "url": "https://legacy1.pypackages.acme.org/simple/zope-interface/"
+ },
+ {
+ "comment": "implicit dist url",
+ "type": "distribution",
+ "url": "https://pypackages.acme.org/simple/zope-interface/"
+ }
+ ],
+ "name": "zope.interface",
+ "purl": "pkg:pypi/zope.interface@7.1.1",
+ "type": "library",
+ "version": "7.1.1"
+ }
+ ],
+ "dependencies": [
+ {
+ "ref": "requirements-L10"
+ },
+ {
+ "ref": "requirements-L11"
+ },
+ {
+ "ref": "requirements-L7"
+ },
+ {
+ "ref": "requirements-L8"
+ },
+ {
+ "ref": "requirements-L9"
+ }
+ ],
+ "metadata": {
+ "properties": [
+ {
+ "name": "cdx:reproducible",
+ "value": "true"
+ }
+ ],
+ "tools": {
+ "components": [
+ {
+ "description": "CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments",
+ "externalReferences": [
+ {
+ "type": "build-system",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/actions"
+ },
+ {
+ "type": "distribution",
+ "url": "https://pypi.org/project/cyclonedx-bom/"
+ },
+ {
+ "type": "documentation",
+ "url": "https://cyclonedx-bom-tool.readthedocs.io/"
+ },
+ {
+ "type": "issue-tracker",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/issues"
+ },
+ {
+ "type": "license",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE"
+ },
+ {
+ "type": "release-notes",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md"
+ },
+ {
+ "type": "vcs",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/"
+ },
+ {
+ "type": "website",
+ "url": "https://github.com/CycloneDX/cyclonedx-python/#readme"
+ }
+ ],
+ "group": "CycloneDX",
+ "licenses": [
+ {
+ "license": {
+ "acknowledgement": "declared",
+ "id": "Apache-2.0"
+ }
+ }
+ ],
+ "name": "cyclonedx-py",
+ "type": "application",
+ "version": "thisVersion-testing"
+ },
+ {
+ "description": "stripped",
+ "externalReferences": [ ],
+ "group": "CycloneDX",
+ "licenses": [ ],
+ "name": "cyclonedx-python-lib",
+ "type": "library",
+ "version": "libVersion-testing"
+ }
+ ]
+ }
+ },
+ "version": 1,
+ "$schema": "http://cyclonedx.org/schema/bom-1.7.schema.json",
+ "bomFormat": "CycloneDX",
+ "specVersion": "1.7"
+}
\ No newline at end of file
diff --git a/tests/_data/snapshots/requirements/stream_normalize-packagename_1.7.xml.bin b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.7.xml.bin
new file mode 100644
index 000000000..7c60b61c3
--- /dev/null
+++ b/tests/_data/snapshots/requirements/stream_normalize-packagename_1.7.xml.bin
@@ -0,0 +1,146 @@
+
+
+
+
+
+
+ CycloneDX
+ cyclonedx-py
+ thisVersion-testing
+ CycloneDX Software Bill of Materials (SBOM) generator for Python projects and environments
+
+
+ Apache-2.0
+
+
+
+
+ https://github.com/CycloneDX/cyclonedx-python/actions
+
+
+ https://pypi.org/project/cyclonedx-bom/
+
+
+ https://cyclonedx-bom-tool.readthedocs.io/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/issues
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/LICENSE
+
+
+ https://github.com/CycloneDX/cyclonedx-python/blob/main/CHANGELOG.md
+
+
+ https://github.com/CycloneDX/cyclonedx-python/
+
+
+ https://github.com/CycloneDX/cyclonedx-python/#readme
+
+
+
+
+ CycloneDX
+ cyclonedx-python-lib
+ libVersion-testing
+
+
+
+
+
+
+
+ true
+
+
+
+
+ Flask_SQLAlchemy
+ 3.1.1
+ requirements line 7: Flask_SQLAlchemy==3.1.1
+ pkg:pypi/flask-sqlalchemy@3.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/flask-sqlalchemy/
+ implicit dist url
+
+
+
+
+ PyYAML
+ 6.0.2
+ requirements line 8: PyYAML==6.0.2
+ pkg:pypi/pyyaml@6.0.2
+
+
+ https://legacy1.pypackages.acme.org/simple/pyyaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/pyyaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml
+ 0.18.5
+ requirements line 9: ruamel.yaml==0.18.5
+ pkg:pypi/ruamel.yaml@0.18.5
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml/
+ implicit dist url
+
+
+
+
+ ruamel.yaml.clib
+ 0.2.8
+ requirements line 10: ruamel.yaml.clib==0.2.8
+ pkg:pypi/ruamel.yaml.clib@0.2.8
+
+
+ https://legacy1.pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/ruamel-yaml-clib/
+ implicit dist url
+
+
+
+
+ zope.interface
+ 7.1.1
+ requirements line 11: zope.interface==7.1.1
+ pkg:pypi/zope.interface@7.1.1
+
+
+ https://legacy1.pypackages.acme.org/simple/zope-interface/
+ implicit dist extra-url
+
+
+ https://pypackages.acme.org/simple/zope-interface/
+ implicit dist url
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.1.xml.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.1.xml.bin
index 9143afdef..12beb94e6 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.1.xml.bin
@@ -20,7 +20,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.json.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.json.bin
index 59743ecd8..773dd8ff4 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.json.bin
@@ -22,7 +22,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.xml.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.xml.bin
index f010b36f4..1fd2095ee 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.2.xml.bin
@@ -34,7 +34,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.json.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.json.bin
index 6b8c5a0c5..7c2dad0bf 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.json.bin
@@ -22,7 +22,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.xml.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.xml.bin
index 3f8b20758..25ee0f49e 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.3.xml.bin
@@ -37,7 +37,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.json.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.json.bin
index 82c9a02a2..77f568ba7 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.xml.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.xml.bin
index 9bffc136f..b1c4dc22c 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.4.xml.bin
@@ -62,7 +62,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.json.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.json.bin
index 4a8d33ad4..01d17960d 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.xml.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.xml.bin
index 731679fc1..d02c4ef24 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.5.xml.bin
@@ -72,7 +72,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.json.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.json.bin
index a40a0fe44..be6e12f4e 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.xml.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.xml.bin
index 78be64704..d4b02ff73 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.6.xml.bin
@@ -72,7 +72,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.json.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.json.bin
index 13f71cc0c..de0e4a733 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.json.bin
@@ -21,7 +21,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/requirements_parser/"
+ "url": "https://pypi.org/simple/requirements-parser/"
}
],
"name": "requirements_parser",
diff --git a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.xml.bin b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.xml.bin
index 1e4ade168..f4bfabb04 100644
--- a/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_regression-issue448.cp1252.txt_1.7.xml.bin
@@ -72,7 +72,7 @@
pkg:pypi/requirements-parser
- https://pypi.org/simple/requirements_parser/
+ https://pypi.org/simple/requirements-parser/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.1.xml.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.1.xml.bin
index 97eb0c961..155ecab27 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.1.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.1.xml.bin
@@ -8,7 +8,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.2.json.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.2.json.bin
index a6b741d67..74f6ac008 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.2.json.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.2.json.bin
@@ -7,7 +7,7 @@
{
"comment": "implicit dist url",
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.2.xml.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.2.xml.bin
index bf93310b3..d12e76bbd 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.2.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.2.xml.bin
@@ -22,7 +22,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.3.json.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.3.json.bin
index 4e94be098..ed72cabe4 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.3.json.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.3.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.3.xml.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.3.xml.bin
index 424897249..7ca95ba12 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.3.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.3.xml.bin
@@ -25,7 +25,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.4.json.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.4.json.bin
index 1194d9984..d3cf617ce 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.4.json.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.4.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.4.xml.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.4.xml.bin
index 8903a712c..5aee1e9fa 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.4.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.4.xml.bin
@@ -52,7 +52,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.5.json.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.5.json.bin
index f1ff95c2d..5a9838b89 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.5.json.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.5.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.5.xml.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.5.xml.bin
index 1cd5bcaed..04e13e4f4 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.5.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.5.xml.bin
@@ -62,7 +62,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.6.json.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.6.json.bin
index 80138c50b..55083c146 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.6.json.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.6.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.6.xml.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.6.xml.bin
index a552932f5..84570de3d 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.6.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.6.xml.bin
@@ -62,7 +62,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.7.json.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.7.json.bin
index 60519e154..45b6673c8 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.7.json.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.7.json.bin
@@ -17,7 +17,7 @@
}
],
"type": "distribution",
- "url": "https://pypi.org/simple/FooProject/"
+ "url": "https://pypi.org/simple/fooproject/"
}
],
"name": "FooProject",
diff --git a/tests/_data/snapshots/requirements/stream_with-hashes_1.7.xml.bin b/tests/_data/snapshots/requirements/stream_with-hashes_1.7.xml.bin
index 2eb23163d..a87e5a634 100644
--- a/tests/_data/snapshots/requirements/stream_with-hashes_1.7.xml.bin
+++ b/tests/_data/snapshots/requirements/stream_with-hashes_1.7.xml.bin
@@ -62,7 +62,7 @@
pkg:pypi/fooproject@1.2
- https://pypi.org/simple/FooProject/
+ https://pypi.org/simple/fooproject/
implicit dist url
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73043362938b9824