Skip to content

Commit 1b04d3c

Browse files
committed
chore(tests): add poetry-core 2.0.1 to fixtures
1 parent ed15d09 commit 1b04d3c

File tree

7 files changed

+180
-2
lines changed

7 files changed

+180
-2
lines changed

tests/repositories/fixtures/distribution_hashes.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,14 @@ class DistributionHash:
9999
"7592aa158137726d9579e5d4347bd03a88f9fc82e11061303215feaaf000d32c",
100100
"434114a36f986671d132033e130f26b7",
101101
),
102+
"demo_metadata_version_24-0.1.0-py2.py3-none-any.whl": DistributionHash(
103+
"f0d306c48d665e4a0051c660cc39f5ed7b7d51427050bfbca525e95d9fad2587",
104+
"c0cbc2e5f2736a487ff960a8c39defbe",
105+
),
106+
"demo_metadata_version_299-0.1.0-py2.py3-none-any.whl": DistributionHash(
107+
"9678f9e59454a281bf7780661d719122766111dc9432ad20823ce6569d10edb2",
108+
"2eb53ee23408e65de909e20d9575afe3",
109+
),
102110
"demo_metadata_version_unknown-0.1.0-py2.py3-none-any.whl": DistributionHash(
103111
"d716cd66546468ec3d4d40f4a4ecc813e3e4c661e155ecbc3a932f47d46d6e05",
104112
"749f823ff755a2f46bfb5ab25fdf9810",
@@ -223,6 +231,14 @@ class DistributionHash:
223231
"0ae8d28caf5c12ec1714b16d2e7157ddd52397ea6bfdeba5a9432e449a0184da",
224232
"3f9b36a7a94cd235bfd5f05794828445",
225233
),
234+
"poetry_core-2.0.1-py3-none-any.whl": DistributionHash(
235+
"a3c7009536522cda4eb0fb3805c9dc935b5537f8727dd01efb9c15e51a17552b",
236+
"a52cf4beef0de009e0a9a36c9e6962f5",
237+
),
238+
"poetry_core-2.0.1.tar.gz": DistributionHash(
239+
"d2acdaec3b93dc1ab43adaeb0e9a8a6a6b3701c4535b5baab4b718ab12c8993c",
240+
"1b1bb959cd760ac509de9b38ae67fc3b",
241+
),
226242
"py-1.5.3-py2.py3-none-any.whl": DistributionHash(
227243
"ef4a94f47156178e42ef8f2b131db420e0f4b6aa0b3936b6dbde6ad6487476a5",
228244
"b316b380701661cb67732ecdaef30eeb",
Binary file not shown.

tests/repositories/fixtures/pypi.org/generate.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,13 @@ def cleanup_old_files(releases: dict[str, list[str]]) -> None:
671671
Project("more-itertools", releases=[Release("more-itertools", "4.1.0")]),
672672
Project("pastel", releases=[Release("pastel", "0.1.0")]),
673673
Project("pluggy", releases=[Release("pluggy", "0.6.0")]),
674-
Project("poetry-core", releases=[Release("poetry-core", "1.5.0", stub=False)]),
674+
Project(
675+
"poetry-core",
676+
releases=[
677+
Release("poetry-core", "1.5.0", stub=False),
678+
Release("poetry-core", "2.0.1", stub=False),
679+
],
680+
),
675681
Project("py", releases=[Release("py", "1.5.3")]),
676682
Project("pylev", releases=[Release("pylev", "1.3.0", download_files=False)]),
677683
Project(

tests/repositories/fixtures/pypi.org/json/poetry-core.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,40 @@
3434
"upload-time": "2023-01-28T10:52:53.916268Z",
3535
"url": "https://files.pythonhosted.org/packages/57/bb/2435fef60bb01f6c0891d9482c7053b50e90639f0f74d7658e99bdd4da69/poetry_core-1.5.0.tar.gz",
3636
"yanked": false
37+
},
38+
{
39+
"core-metadata": {
40+
"sha256": "61e9048f1aa5ec95b9327f64f2d2618b80b4564f0b406a8a18980a36f5d9fc4a"
41+
},
42+
"data-dist-info-metadata": {
43+
"sha256": "61e9048f1aa5ec95b9327f64f2d2618b80b4564f0b406a8a18980a36f5d9fc4a"
44+
},
45+
"filename": "poetry_core-2.0.1-py3-none-any.whl",
46+
"hashes": {
47+
"md5": "a52cf4beef0de009e0a9a36c9e6962f5",
48+
"sha256": "a3c7009536522cda4eb0fb3805c9dc935b5537f8727dd01efb9c15e51a17552b"
49+
},
50+
"provenance": "https://pypi.org/integrity/poetry-core/2.0.1/poetry_core-2.0.1-py3-none-any.whl/provenance",
51+
"requires-python": "<4.0,>=3.9",
52+
"size": 544761,
53+
"upload-time": "2025-01-11T18:34:58.051401Z",
54+
"url": "https://files.pythonhosted.org/packages/99/9e/b2d13aecfd3a7ea05e6eeddff7c450b8ff5233e5d0da834fbfd81b19acaf/poetry_core-2.0.1-py3-none-any.whl",
55+
"yanked": false
56+
},
57+
{
58+
"core-metadata": false,
59+
"data-dist-info-metadata": false,
60+
"filename": "poetry_core-2.0.1.tar.gz",
61+
"hashes": {
62+
"md5": "1b1bb959cd760ac509de9b38ae67fc3b",
63+
"sha256": "d2acdaec3b93dc1ab43adaeb0e9a8a6a6b3701c4535b5baab4b718ab12c8993c"
64+
},
65+
"provenance": "https://pypi.org/integrity/poetry-core/2.0.1/poetry_core-2.0.1.tar.gz/provenance",
66+
"requires-python": "<4.0,>=3.9",
67+
"size": 355487,
68+
"upload-time": "2025-01-11T18:35:01.191422Z",
69+
"url": "https://files.pythonhosted.org/packages/c4/f5/89d11008714e0a49cab9cba7cce89c66ea5a94f37cc6d283798cc1725fac/poetry_core-2.0.1.tar.gz",
70+
"yanked": false
3771
}
3872
],
3973
"meta": {
@@ -42,6 +76,7 @@
4276
},
4377
"name": "poetry-core",
4478
"versions": [
45-
"1.5.0"
79+
"1.5.0",
80+
"2.0.1"
4681
]
4782
}
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{
2+
"info": {
3+
"author": "Sébastien Eustace",
4+
"author_email": "[email protected]",
5+
"bugtrack_url": null,
6+
"classifiers": [
7+
"License :: OSI Approved :: MIT License",
8+
"Programming Language :: Python :: 3",
9+
"Programming Language :: Python :: 3.10",
10+
"Programming Language :: Python :: 3.11",
11+
"Programming Language :: Python :: 3.12",
12+
"Programming Language :: Python :: 3.13",
13+
"Programming Language :: Python :: 3.9",
14+
"Topic :: Software Development :: Build Tools",
15+
"Topic :: Software Development :: Libraries :: Python Modules"
16+
],
17+
"description": "",
18+
"description_content_type": "text/markdown",
19+
"docs_url": null,
20+
"download_url": null,
21+
"downloads": {
22+
"last_day": -1,
23+
"last_month": -1,
24+
"last_week": -1
25+
},
26+
"dynamic": null,
27+
"home_page": null,
28+
"keywords": "packaging, dependency, poetry",
29+
"license": "MIT",
30+
"license_expression": null,
31+
"license_files": null,
32+
"maintainer": "Arun Babu Neelicattu",
33+
"maintainer_email": "[email protected]",
34+
"name": "poetry-core",
35+
"package_url": "https://pypi.org/project/poetry-core/",
36+
"platform": null,
37+
"project_url": "https://pypi.org/project/poetry-core/",
38+
"project_urls": {
39+
"Bug Tracker": "https://github.com/python-poetry/poetry/issues",
40+
"Homepage": "https://github.com/python-poetry/poetry-core",
41+
"Repository": "https://github.com/python-poetry/poetry-core"
42+
},
43+
"provides_extra": null,
44+
"release_url": "https://pypi.org/project/poetry-core/2.0.1/",
45+
"requires_dist": null,
46+
"requires_python": "<4.0,>=3.9",
47+
"summary": "Poetry PEP 517 Build Backend",
48+
"version": "2.0.1",
49+
"yanked": false,
50+
"yanked_reason": null
51+
},
52+
"last_serial": 0,
53+
"urls": [
54+
{
55+
"comment_text": "",
56+
"digests": {
57+
"md5": "a52cf4beef0de009e0a9a36c9e6962f5",
58+
"sha256": "a3c7009536522cda4eb0fb3805c9dc935b5537f8727dd01efb9c15e51a17552b"
59+
},
60+
"downloads": -1,
61+
"filename": "poetry_core-2.0.1-py3-none-any.whl",
62+
"has_sig": false,
63+
"md5_digest": "a52cf4beef0de009e0a9a36c9e6962f5",
64+
"packagetype": "bdist_wheel",
65+
"python_version": "py3",
66+
"requires_python": "<4.0,>=3.9",
67+
"size": 544761,
68+
"upload_time": "2025-01-11T18:34:58",
69+
"upload_time_iso_8601": "2025-01-11T18:34:58.051401Z",
70+
"url": "https://files.pythonhosted.org/packages/99/9e/b2d13aecfd3a7ea05e6eeddff7c450b8ff5233e5d0da834fbfd81b19acaf/poetry_core-2.0.1-py3-none-any.whl",
71+
"yanked": false,
72+
"yanked_reason": null
73+
},
74+
{
75+
"comment_text": "",
76+
"digests": {
77+
"md5": "1b1bb959cd760ac509de9b38ae67fc3b",
78+
"sha256": "d2acdaec3b93dc1ab43adaeb0e9a8a6a6b3701c4535b5baab4b718ab12c8993c"
79+
},
80+
"downloads": -1,
81+
"filename": "poetry_core-2.0.1.tar.gz",
82+
"has_sig": false,
83+
"md5_digest": "1b1bb959cd760ac509de9b38ae67fc3b",
84+
"packagetype": "sdist",
85+
"python_version": "source",
86+
"requires_python": "<4.0,>=3.9",
87+
"size": 355487,
88+
"upload_time": "2025-01-11T18:35:01",
89+
"upload_time_iso_8601": "2025-01-11T18:35:01.191422Z",
90+
"url": "https://files.pythonhosted.org/packages/c4/f5/89d11008714e0a49cab9cba7cce89c66ea5a94f37cc6d283798cc1725fac/poetry_core-2.0.1.tar.gz",
91+
"yanked": false,
92+
"yanked_reason": null
93+
}
94+
],
95+
"vulnerabilities": []
96+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
Metadata-Version: 2.3
2+
Name: poetry-core
3+
Version: 2.0.1
4+
Summary: Poetry PEP 517 Build Backend
5+
License: MIT
6+
Keywords: packaging,dependency,poetry
7+
Author: Sébastien Eustace
8+
Author-email: [email protected]
9+
Maintainer: Arun Babu Neelicattu
10+
Maintainer-email: [email protected]
11+
Requires-Python: >=3.9, <4.0
12+
Classifier: License :: OSI Approved :: MIT License
13+
Classifier: Programming Language :: Python :: 3
14+
Classifier: Programming Language :: Python :: 3.9
15+
Classifier: Programming Language :: Python :: 3.10
16+
Classifier: Programming Language :: Python :: 3.11
17+
Classifier: Programming Language :: Python :: 3.12
18+
Classifier: Programming Language :: Python :: 3.13
19+
Classifier: Topic :: Software Development :: Build Tools
20+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
21+
Project-URL: Bug Tracker, https://github.com/python-poetry/poetry/issues
22+
Project-URL: Homepage, https://github.com/python-poetry/poetry-core
23+
Project-URL: Repository, https://github.com/python-poetry/poetry-core
24+
Description-Content-Type: text/markdown
25+
Binary file not shown.

0 commit comments

Comments
 (0)