Skip to content

Commit

Permalink
support python12
Browse files Browse the repository at this point in the history
Co-authored-by: 88d52bdba0366127fffca9dfa93895 <[email protected]>
  • Loading branch information
88d52bdba0366127fffca9dfa93895 and 88d52bdba0366127fffca9dfa93895 authored Dec 6, 2023
1 parent d588285 commit 46f8485
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11"]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
exclude:
- os: macos-latest
python-version: "3.7"
python-version: "3.8"
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -44,4 +44,4 @@ jobs:
black --check --diff .
- name: Check with flake8
run: |
flake8 --show-source --statistics .
flake8 --show-source --statistics .
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ classifiers=[
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
Expand All @@ -31,7 +32,7 @@ packages = [ {include = "pypfopt"} ]
"Personal website" = "https://reasonabledeviations.com"

[tool.poetry.dependencies]
python = ">=3.8,<3.15"
python = ">=3.8"
scipy = "^1.3"
pandas = ">=0.19"
cvxpy = "^1.1.19"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment",
Expand All @@ -47,7 +47,7 @@
],
setup_requires=["pytest-runner"],
tests_require=["pytest"],
python_requires=">=3.7",
python_requires=">=3.8",
project_urls={
"Documentation": "https://pyportfolioopt.readthedocs.io/en/latest/",
"Issues": "https://github.com/robertmartin8/PyPortfolioOpt/issues",
Expand Down

0 comments on commit 46f8485

Please sign in to comment.