Skip to content

Python 3.11 support #3515

@iurisilvio

Description

@iurisilvio

What language and solver does this apply to?
Python

Describe the problem you are trying to solve.
I'm trying to install ortools on Python 3.11.

Describe the solution you'd like
Provide wheels for 3.11, launched yesterday.

Describe alternatives you've considered
I think pip filter based on setup metadata, so at least add 3.11 to setup metadata if the lib is already compatible.

'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',

Additional context

This is the pip error when I try to install ortools.

ERROR: Ignored the following versions that require a different python version: 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement ortools==9.4.1874 (from versions: none)
ERROR: No matching distribution found for ortools==9.4.1874

EDIT(mizux)

ToDo list:

  • Update MacOS release scripts
  • Update Windows release scripts
  • Update Manylinux scripts

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions