Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .coin-or/projDesc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ Carl D. Laird, Chair, Pyomo Management Committee, claird at andrew dot cmu dot e

<platform>
<operatingSystem>Any</operatingSystem>
<compiler>Python 3.10, 3.11, 3.12, 3.13, 3.14, 3.15</compiler>
<compiler>Python 3.11, 3.12, 3.13, 3.14, 3.15</compiler>
</platform>

</testedPlatforms>
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/release_wheel_creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
arch: [all]
wheel-version: ['cp310*', 'cp311*', 'cp312*', 'cp313*', 'cp314*', 'cp315*']
wheel-version: ['cp311*', 'cp312*', 'cp313*', 'cp314*', 'cp315*']

include:
- wheel-version: 'cp310*'
TARGET: 'py310'
GLOBAL_OPTIONS: "--with-cython --with-distributable-extensions"
- wheel-version: 'cp311*'
TARGET: 'py311'
GLOBAL_OPTIONS: "--without-cython --with-distributable-extensions"
Expand Down Expand Up @@ -97,12 +94,9 @@ jobs:
matrix:
os: [ubuntu-latest]
arch: [all]
wheel-version: ['cp310*', 'cp311*', 'cp312*', 'cp313*', 'cp314*', 'cp315*']
wheel-version: ['cp311*', 'cp312*', 'cp313*', 'cp314*', 'cp315*']

include:
- wheel-version: 'cp310*'
TARGET: 'py310'
GLOBAL_OPTIONS: "--with-cython --with-distributable-extensions"
- wheel-version: 'cp311*'
TARGET: 'py311'
GLOBAL_OPTIONS: "--without-cython --with-distributable-extensions"
Expand Down Expand Up @@ -188,7 +182,7 @@ jobs:
include:
- os: ubuntu-latest
TARGET: generic_tarball
python-version: ['3.10']
python-version: ['3.11']
steps:
- uses: actions/checkout@v7
- name: Update README.md
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: 3.11
python-version: 3.12
- name: Black Formatting Check
run: |
# Note v24.4.1 fails due to a bug in the parser. Project-level
Expand Down Expand Up @@ -120,14 +120,14 @@ jobs:

# Note: verify that pymumps is available when changing conda python version
- os: ubuntu-latest
python: 3.12
python: 3.13
other: /conda
TARGET: linux
PYENV: conda
PACKAGES: pytest-qt

- os: ubuntu-latest
python: 3.11
python: 3.12
other: /mpi
mpi: 3
TARGET: linux
Expand All @@ -136,21 +136,21 @@ jobs:
PACKAGES: mpi4py

- os: ubuntu-latest
python: 3.12
python: 3.13
other: /cython
setup_options: --with-cython
TARGET: linux
PYENV: pip
PACKAGES: cython

- os: windows-latest
python: '3.10'
python: 3.14
other: /pip
TARGET: win
PYENV: pip

- os: ubuntu-latest
python: '3.10'
python: 3.11
other: /slim
slim: 2
TARGET: linux
Expand Down Expand Up @@ -860,17 +860,17 @@ jobs:


bare-python-env:
name: linux/3.10/bare-env
name: linux/3.11/bare-env
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Pyomo source
uses: actions/checkout@v7

- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v7
with:
python-version: '3.10'
python-version: 3.11

- name: Install Pyomo
run: |
Expand Down Expand Up @@ -936,10 +936,10 @@ jobs:
with:
path: artifacts

- name: Set up Python 3.12
- name: Set up Python 3.13
uses: actions/setup-python@v7
with:
python-version: 3.12
python-version: 3.13

- name: Install Python Packages (pip)
shell: bash # DO NOT REMOVE: see note above
Expand Down
41 changes: 20 additions & 21 deletions .github/workflows/test_pr_and_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v7
with:
python-version: 3.11
python-version: 3.12
- name: Black Formatting Check
run: |
# Note v24.4.1 fails due to a bug in the parser. Project-level
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: [ '3.10', 3.11, 3.12, 3.13, 3.14, 3.15 ]
python: [ 3.11, 3.12, 3.13, 3.14, 3.15 ]
other: [""]
category: [""]

Expand All @@ -130,14 +130,14 @@ jobs:

# Note: verify that pymumps is available when changing conda python version
- os: ubuntu-latest
python: 3.12
python: 3.13
other: /conda
TARGET: linux
PYENV: conda
PACKAGES: pytest-qt

- os: ubuntu-latest
python: 3.11
python: 3.12
other: /mpi
mpi: 3
TARGET: linux
Expand All @@ -146,43 +146,42 @@ jobs:
PACKAGES: mpi4py

- os: ubuntu-latest
python: 3.12
python: 3.13
other: /cython
setup_options: --with-cython
TARGET: linux
PYENV: pip
PACKAGES: cython

# [13 May 26] Disabled until we can sort out the seg fault issue
#- os: windows-latest
# python: '3.10'
# other: /pip
# TARGET: win
# PYENV: pip
- os: windows-latest
python: 3.14
other: /pip
TARGET: win
PYENV: pip

- os: ubuntu-latest
python: '3.10'
python: 3.11
other: /slim
slim: 2
TARGET: linux
PYENV: pip

- os: ubuntu-latest
python: 3.13
python: 3.14
other: /nosolvers
slim: 1
TARGET: linux
PYENV: pip

- os: ubuntu-latest
python: 3.11
python: 3.13
other: /singletest
category: "-m 'neos or importtest'"
TARGET: linux
PYENV: pip

- os: ubuntu-latest
python: '3.10'
python: 3.11
other: /pyutilib
TARGET: linux
PYENV: pip
Expand All @@ -194,7 +193,7 @@ jobs:
PYENV: pip

- os: ubuntu-latest
python: 3.13
python: 3.14
other: /rtd
category: notests
build_docs: 1
Expand Down Expand Up @@ -905,18 +904,18 @@ jobs:


bare-python-env:
name: linux/3.10/bare-env
name: linux/3.11/bare-env
needs: lint # the linter job is a prerequisite for PRs
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Pyomo source
uses: actions/checkout@v7

- name: Set up Python 3.10
- name: Set up Python 3.11
uses: actions/setup-python@v7
with:
python-version: '3.10'
python-version: 3.11

- name: Install Pyomo
run: |
Expand Down Expand Up @@ -982,10 +981,10 @@ jobs:
with:
path: artifacts

- name: Set up Python 3.12
- name: Set up Python 3.13
uses: actions/setup-python@v7
with:
python-version: 3.12
python-version: 3.13

- name: Install Python Packages (pip)
shell: bash # DO NOT REMOVE: see note above
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ file for their licenses.

Pyomo is currently tested with the following Python implementations:

* CPython: 3.10, 3.11, 3.12, 3.13, 3.14, 3.15
* CPython: 3.11, 3.12, 3.13, 3.14, 3.15
* PyPy: 3.11

_Testing and support policy_:
Expand Down
2 changes: 1 addition & 1 deletion doc/OnlineDocs/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Installation

Pyomo currently supports the following versions of Python:

* CPython: 3.10, 3.11, 3.12, 3.13, 3.14, 3.15
* CPython: 3.11, 3.12, 3.13, 3.14, 3.15
* PyPy: 3.11

At the time of the first Pyomo release after the end-of-life of a minor Python
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ readme = "README.md"
license = "BSD-3-Clause"
license-files = [ "LICENSE.md", "THIRD_PARTY_NOTICES.md" ]
authors = [{name = "Pyomo Development Team", email = "pyomo-developers@googlegroups.com"}]
requires-python = ">=3.10"
requires-python = ">=3.11"
keywords=['optimization']
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand All @@ -31,7 +31,6 @@ classifiers=[
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
Expand Down
Loading