Skip to content

Commit

Permalink
fix: added 3.11 to list of available pythons (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
finswimmer authored Oct 4, 2022
1 parent 341635c commit a10ad40
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/poetry/core/packages/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class Package(PackageSpecification):
"3.8",
"3.9",
"3.10",
"3.11",
}

def __init__(
Expand Down
1 change: 1 addition & 0 deletions src/poetry/core/version/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"3.8.*",
"3.9.*",
"3.10.*",
"3.11.*",
]


Expand Down
1 change: 1 addition & 0 deletions tests/masonry/builders/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def test_get_metadata_content() -> None:
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
]
Expand Down
2 changes: 2 additions & 0 deletions tests/masonry/builders/test_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ def test_complete() -> None:
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: time
Expand Down Expand Up @@ -400,6 +401,7 @@ def test_complete_no_vcs() -> None:
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: time
Expand Down
1 change: 1 addition & 0 deletions tests/masonry/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def test_prepare_metadata_for_build_wheel() -> None:
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: time
Expand Down
1 change: 1 addition & 0 deletions tests/test_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def test_create_poetry() -> None:
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
]
Expand Down

0 comments on commit a10ad40

Please sign in to comment.