Skip to content

Commit 46f8485

Browse files
88d52bdba0366127fffca9dfa9389588d52bdba0366127fffca9dfa93895
andauthored
support python12
Co-authored-by: 88d52bdba0366127fffca9dfa93895 <[email protected]>
1 parent d588285 commit 46f8485

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest, macos-latest, windows-latest]
17-
python-version: ["3.11"]
17+
python-version: ["3.12"]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
strategy:
1919
matrix:
2020
os: [ubuntu-latest, macos-latest, windows-latest]
21-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
21+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
2222
exclude:
2323
- os: macos-latest
24-
python-version: "3.7"
24+
python-version: "3.8"
2525
steps:
2626
- uses: actions/checkout@v3
2727
- name: Set up Python ${{ matrix.python-version }}
@@ -44,4 +44,4 @@ jobs:
4444
black --check --diff .
4545
- name: Check with flake8
4646
run: |
47-
flake8 --show-source --statistics .
47+
flake8 --show-source --statistics .

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers=[
1616
"License :: OSI Approved :: MIT License",
1717
"Natural Language :: English",
1818
"Operating System :: OS Independent",
19+
"Programming Language :: Python :: 3.12",
1920
"Programming Language :: Python :: 3.11",
2021
"Programming Language :: Python :: 3.10",
2122
"Programming Language :: Python :: 3.9",
@@ -31,7 +32,7 @@ packages = [ {include = "pypfopt"} ]
3132
"Personal website" = "https://reasonabledeviations.com"
3233

3334
[tool.poetry.dependencies]
34-
python = ">=3.8,<3.15"
35+
python = ">=3.8"
3536
scipy = "^1.3"
3637
pandas = ">=0.19"
3738
cvxpy = "^1.1.19"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
"License :: OSI Approved :: MIT License",
2828
"Natural Language :: English",
2929
"Operating System :: OS Independent",
30+
"Programming Language :: Python :: 3.12",
3031
"Programming Language :: Python :: 3.11",
3132
"Programming Language :: Python :: 3.10",
3233
"Programming Language :: Python :: 3.9",
3334
"Programming Language :: Python :: 3.8",
34-
"Programming Language :: Python :: 3.7",
3535
"Programming Language :: Python :: 3 :: Only",
3636
"Topic :: Office/Business :: Financial",
3737
"Topic :: Office/Business :: Financial :: Investment",
@@ -47,7 +47,7 @@
4747
],
4848
setup_requires=["pytest-runner"],
4949
tests_require=["pytest"],
50-
python_requires=">=3.7",
50+
python_requires=">=3.8",
5151
project_urls={
5252
"Documentation": "https://pyportfolioopt.readthedocs.io/en/latest/",
5353
"Issues": "https://github.com/robertmartin8/PyPortfolioOpt/issues",

0 commit comments

Comments
 (0)