Skip to content

Add Python 3.9 support [issue 292] - #293

Merged
robertmartin8 merged 2 commits into
PyPortfolio:masterfrom
phschiele:p39-support
Feb 18, 2021
Merged

robertmartin8 merged 2 commits into
PyPortfolio:masterfrom
phschiele:p39-support

Conversation

@phschiele

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread poetry.lock
[[package]]
name = "pandas"
version = "0.25.3"
version = "1.1.5"

@phschiele phschiele Feb 17, 2021 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pandas >= 1.0.0 only supports Python ^=3.6.1. I think there are very few users who use Python ==3.6.0 exactly, so I think it's a small sacrifice. The older pandas versions did not install nicely on my system with 3.9 (or would have required additional build libraries, as pandas 0.25.3 does not have wheels for 3.9).

Comment thread pyproject.toml
cvxopt = "^1.2, !=1.2.5.post1"
cvxpy = "^1.1.10"
scikit-learn = {version="^0.19", optional= true }
scikit-learn = {version="^0.24.1", optional= true }

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar for scikit-learn.

@phschiele phschiele mentioned this pull request Feb 17, 2021
@robertmartin8
robertmartin8 merged commit a431538 into PyPortfolio:master Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants