diff --git a/poetry/core/packages/package.py b/poetry/core/packages/package.py index 9f7bc7163..02c289386 100644 --- a/poetry/core/packages/package.py +++ b/poetry/core/packages/package.py @@ -47,6 +47,7 @@ class Package(PackageSpecification): "3.7", "3.8", "3.9", + "3.10", } def __init__( diff --git a/tests/masonry/builders/test_builder.py b/tests/masonry/builders/test_builder.py index 209cde80b..57d41be34 100644 --- a/tests/masonry/builders/test_builder.py +++ b/tests/masonry/builders/test_builder.py @@ -89,6 +89,7 @@ def test_get_metadata_content(): assert classifiers == [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", diff --git a/tests/masonry/builders/test_complete.py b/tests/masonry/builders/test_complete.py index 4248a87a2..e8b634ec6 100644 --- a/tests/masonry/builders/test_complete.py +++ b/tests/masonry/builders/test_complete.py @@ -269,6 +269,7 @@ def test_complete(): Requires-Python: >=3.6,<4.0 Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 @@ -372,6 +373,7 @@ def test_complete_no_vcs(): Requires-Python: >=3.6,<4.0 Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 diff --git a/tests/masonry/test_api.py b/tests/masonry/test_api.py index adbbddeba..7dff3a9d5 100644 --- a/tests/masonry/test_api.py +++ b/tests/masonry/test_api.py @@ -162,6 +162,7 @@ def test_prepare_metadata_for_build_wheel(): Requires-Python: >=3.6,<4.0 Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 diff --git a/tests/test_factory.py b/tests/test_factory.py index af920e0d1..605e34e51 100644 --- a/tests/test_factory.py +++ b/tests/test_factory.py @@ -123,6 +123,7 @@ def test_create_poetry(): "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8",