Skip to content

Commit

Permalink
chore(tests): add poetry-core 2.0.1 to fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Jan 17, 2025
1 parent ed15d09 commit 1b04d3c
Show file tree
Hide file tree
Showing 7 changed files with 180 additions and 2 deletions.
16 changes: 16 additions & 0 deletions tests/repositories/fixtures/distribution_hashes.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ class DistributionHash:
"7592aa158137726d9579e5d4347bd03a88f9fc82e11061303215feaaf000d32c",
"434114a36f986671d132033e130f26b7",
),
"demo_metadata_version_24-0.1.0-py2.py3-none-any.whl": DistributionHash(
"f0d306c48d665e4a0051c660cc39f5ed7b7d51427050bfbca525e95d9fad2587",
"c0cbc2e5f2736a487ff960a8c39defbe",
),
"demo_metadata_version_299-0.1.0-py2.py3-none-any.whl": DistributionHash(
"9678f9e59454a281bf7780661d719122766111dc9432ad20823ce6569d10edb2",
"2eb53ee23408e65de909e20d9575afe3",
),
"demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl": DistributionHash(
"d716cd66546468ec3d4d40f4a4ecc813e3e4c661e155ecbc3a932f47d46d6e05",
"749f823ff755a2f46bfb5ab25fdf9810",
Expand Down Expand Up @@ -223,6 +231,14 @@ class DistributionHash:
"0ae8d28caf5c12ec1714b16d2e7157ddd52397ea6bfdeba5a9432e449a0184da",
"3f9b36a7a94cd235bfd5f05794828445",
),
"poetry_core-2.0.1-py3-none-any.whl": DistributionHash(
"a3c7009536522cda4eb0fb3805c9dc935b5537f8727dd01efb9c15e51a17552b",
"a52cf4beef0de009e0a9a36c9e6962f5",
),
"poetry_core-2.0.1.tar.gz": DistributionHash(
"d2acdaec3b93dc1ab43adaeb0e9a8a6a6b3701c4535b5baab4b718ab12c8993c",
"1b1bb959cd760ac509de9b38ae67fc3b",
),
"py-1.5.3-py2.py3-none-any.whl": DistributionHash(
"ef4a94f47156178e42ef8f2b131db420e0f4b6aa0b3936b6dbde6ad6487476a5",
"b316b380701661cb67732ecdaef30eeb",
Expand Down
Binary file not shown.
8 changes: 7 additions & 1 deletion tests/repositories/fixtures/pypi.org/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,13 @@ def cleanup_old_files(releases: dict[str, list[str]]) -> None:
Project("more-itertools", releases=[Release("more-itertools", "4.1.0")]),
Project("pastel", releases=[Release("pastel", "0.1.0")]),
Project("pluggy", releases=[Release("pluggy", "0.6.0")]),
Project("poetry-core", releases=[Release("poetry-core", "1.5.0", stub=False)]),
Project(
"poetry-core",
releases=[
Release("poetry-core", "1.5.0", stub=False),
Release("poetry-core", "2.0.1", stub=False),
],
),
Project("py", releases=[Release("py", "1.5.3")]),
Project("pylev", releases=[Release("pylev", "1.3.0", download_files=False)]),
Project(
Expand Down
37 changes: 36 additions & 1 deletion tests/repositories/fixtures/pypi.org/json/poetry-core.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,40 @@
"upload-time": "2023-01-28T10:52:53.916268Z",
"url": "https://files.pythonhosted.org/packages/57/bb/2435fef60bb01f6c0891d9482c7053b50e90639f0f74d7658e99bdd4da69/poetry_core-1.5.0.tar.gz",
"yanked": false
},
{
"core-metadata": {
"sha256": "61e9048f1aa5ec95b9327f64f2d2618b80b4564f0b406a8a18980a36f5d9fc4a"
},
"data-dist-info-metadata": {
"sha256": "61e9048f1aa5ec95b9327f64f2d2618b80b4564f0b406a8a18980a36f5d9fc4a"
},
"filename": "poetry_core-2.0.1-py3-none-any.whl",
"hashes": {
"md5": "a52cf4beef0de009e0a9a36c9e6962f5",
"sha256": "a3c7009536522cda4eb0fb3805c9dc935b5537f8727dd01efb9c15e51a17552b"
},
"provenance": "https://pypi.org/integrity/poetry-core/2.0.1/poetry_core-2.0.1-py3-none-any.whl/provenance",
"requires-python": "<4.0,>=3.9",
"size": 544761,
"upload-time": "2025-01-11T18:34:58.051401Z",
"url": "https://files.pythonhosted.org/packages/99/9e/b2d13aecfd3a7ea05e6eeddff7c450b8ff5233e5d0da834fbfd81b19acaf/poetry_core-2.0.1-py3-none-any.whl",
"yanked": false
},
{
"core-metadata": false,
"data-dist-info-metadata": false,
"filename": "poetry_core-2.0.1.tar.gz",
"hashes": {
"md5": "1b1bb959cd760ac509de9b38ae67fc3b",
"sha256": "d2acdaec3b93dc1ab43adaeb0e9a8a6a6b3701c4535b5baab4b718ab12c8993c"
},
"provenance": "https://pypi.org/integrity/poetry-core/2.0.1/poetry_core-2.0.1.tar.gz/provenance",
"requires-python": "<4.0,>=3.9",
"size": 355487,
"upload-time": "2025-01-11T18:35:01.191422Z",
"url": "https://files.pythonhosted.org/packages/c4/f5/89d11008714e0a49cab9cba7cce89c66ea5a94f37cc6d283798cc1725fac/poetry_core-2.0.1.tar.gz",
"yanked": false
}
],
"meta": {
Expand All @@ -42,6 +76,7 @@
},
"name": "poetry-core",
"versions": [
"1.5.0"
"1.5.0",
"2.0.1"
]
}
96 changes: 96 additions & 0 deletions tests/repositories/fixtures/pypi.org/json/poetry-core/2.0.1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"info": {
"author": "Sébastien Eustace",
"author_email": "[email protected]",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "",
"description_content_type": "text/markdown",
"docs_url": null,
"download_url": null,
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"dynamic": null,
"home_page": null,
"keywords": "packaging, dependency, poetry",
"license": "MIT",
"license_expression": null,
"license_files": null,
"maintainer": "Arun Babu Neelicattu",
"maintainer_email": "[email protected]",
"name": "poetry-core",
"package_url": "https://pypi.org/project/poetry-core/",
"platform": null,
"project_url": "https://pypi.org/project/poetry-core/",
"project_urls": {
"Bug Tracker": "https://github.com/python-poetry/poetry/issues",
"Homepage": "https://github.com/python-poetry/poetry-core",
"Repository": "https://github.com/python-poetry/poetry-core"
},
"provides_extra": null,
"release_url": "https://pypi.org/project/poetry-core/2.0.1/",
"requires_dist": null,
"requires_python": "<4.0,>=3.9",
"summary": "Poetry PEP 517 Build Backend",
"version": "2.0.1",
"yanked": false,
"yanked_reason": null
},
"last_serial": 0,
"urls": [
{
"comment_text": "",
"digests": {
"md5": "a52cf4beef0de009e0a9a36c9e6962f5",
"sha256": "a3c7009536522cda4eb0fb3805c9dc935b5537f8727dd01efb9c15e51a17552b"
},
"downloads": -1,
"filename": "poetry_core-2.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a52cf4beef0de009e0a9a36c9e6962f5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.9",
"size": 544761,
"upload_time": "2025-01-11T18:34:58",
"upload_time_iso_8601": "2025-01-11T18:34:58.051401Z",
"url": "https://files.pythonhosted.org/packages/99/9e/b2d13aecfd3a7ea05e6eeddff7c450b8ff5233e5d0da834fbfd81b19acaf/poetry_core-2.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "1b1bb959cd760ac509de9b38ae67fc3b",
"sha256": "d2acdaec3b93dc1ab43adaeb0e9a8a6a6b3701c4535b5baab4b718ab12c8993c"
},
"downloads": -1,
"filename": "poetry_core-2.0.1.tar.gz",
"has_sig": false,
"md5_digest": "1b1bb959cd760ac509de9b38ae67fc3b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.9",
"size": 355487,
"upload_time": "2025-01-11T18:35:01",
"upload_time_iso_8601": "2025-01-11T18:35:01.191422Z",
"url": "https://files.pythonhosted.org/packages/c4/f5/89d11008714e0a49cab9cba7cce89c66ea5a94f37cc6d283798cc1725fac/poetry_core-2.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"vulnerabilities": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Metadata-Version: 2.3
Name: poetry-core
Version: 2.0.1
Summary: Poetry PEP 517 Build Backend
License: MIT
Keywords: packaging,dependency,poetry
Author: Sébastien Eustace
Author-email: [email protected]
Maintainer: Arun Babu Neelicattu
Maintainer-email: [email protected]
Requires-Python: >=3.9, <4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Project-URL: Bug Tracker, https://github.com/python-poetry/poetry/issues
Project-URL: Homepage, https://github.com/python-poetry/poetry-core
Project-URL: Repository, https://github.com/python-poetry/poetry-core
Description-Content-Type: text/markdown

Binary file not shown.

0 comments on commit 1b04d3c

Please sign in to comment.