Skip to content

Commit 5e133e5

Browse files
finswimmerradoering
authored andcommitted
fix: added 3.11 to list of available pythons
1 parent 341635c commit 5e133e5

File tree

6 files changed

+7
-0
lines changed

6 files changed

+7
-0
lines changed

src/poetry/core/packages/package.py

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Package(PackageSpecification):
4545
"3.8",
4646
"3.9",
4747
"3.10",
48+
"3.11",
4849
}
4950

5051
def __init__(

src/poetry/core/version/helpers.py

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"3.8.*",
2424
"3.9.*",
2525
"3.10.*",
26+
"3.11.*",
2627
]
2728

2829

tests/masonry/builders/test_builder.py

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def test_get_metadata_content() -> None:
101101
"Programming Language :: Python :: 3.8",
102102
"Programming Language :: Python :: 3.9",
103103
"Programming Language :: Python :: 3.10",
104+
"Programming Language :: Python :: 3.11",
104105
"Topic :: Software Development :: Build Tools",
105106
"Topic :: Software Development :: Libraries :: Python Modules",
106107
]

tests/masonry/builders/test_complete.py

+2
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ def test_complete() -> None:
276276
Classifier: Programming Language :: Python :: 3.8
277277
Classifier: Programming Language :: Python :: 3.9
278278
Classifier: Programming Language :: Python :: 3.10
279+
Classifier: Programming Language :: Python :: 3.11
279280
Classifier: Topic :: Software Development :: Build Tools
280281
Classifier: Topic :: Software Development :: Libraries :: Python Modules
281282
Provides-Extra: time
@@ -400,6 +401,7 @@ def test_complete_no_vcs() -> None:
400401
Classifier: Programming Language :: Python :: 3.8
401402
Classifier: Programming Language :: Python :: 3.9
402403
Classifier: Programming Language :: Python :: 3.10
404+
Classifier: Programming Language :: Python :: 3.11
403405
Classifier: Topic :: Software Development :: Build Tools
404406
Classifier: Topic :: Software Development :: Libraries :: Python Modules
405407
Provides-Extra: time

tests/masonry/test_api.py

+1
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def test_prepare_metadata_for_build_wheel() -> None:
165165
Classifier: Programming Language :: Python :: 3.8
166166
Classifier: Programming Language :: Python :: 3.9
167167
Classifier: Programming Language :: Python :: 3.10
168+
Classifier: Programming Language :: Python :: 3.11
168169
Classifier: Topic :: Software Development :: Build Tools
169170
Classifier: Topic :: Software Development :: Libraries :: Python Modules
170171
Provides-Extra: time

tests/test_factory.py

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ def test_create_poetry() -> None:
143143
"Programming Language :: Python :: 3.8",
144144
"Programming Language :: Python :: 3.9",
145145
"Programming Language :: Python :: 3.10",
146+
"Programming Language :: Python :: 3.11",
146147
"Topic :: Software Development :: Build Tools",
147148
"Topic :: Software Development :: Libraries :: Python Modules",
148149
]

0 commit comments

Comments
 (0)