Skip to content

Conversation

@fkiraly
Copy link
Collaborator

@fkiraly fkiraly commented Nov 10, 2025

  • adds a CI job, pytest-nosoftdeps, to test the package without soft dependencies.
  • isolates soft dependency matplotlib in tests and the plotting module
  • isolates the ecos dependency almost entirely. There is one default that remains, which is deprecated and scheduled for removal in 1.7.0.
  • adds scikit-base soft dependency (without further dependencies) to manage soft dependencies

This is also useful to check whether soft dependencies are properly isolated.

@fkiraly fkiraly added the maintenance Continuous integration, unit testing & package distribution label Nov 10, 2025
@fkiraly fkiraly changed the title [MNT] testing package without soft dependencies [MNT] testing package without soft dependencies and soft dependency isolation Nov 10, 2025
@fkiraly fkiraly changed the title [MNT] testing package without soft dependencies and soft dependency isolation [MNT] testing package without soft dependencies, isolate matplotlib Nov 10, 2025
@fkiraly fkiraly merged commit 15bcaa9 into main Nov 14, 2025
39 checks passed
tschm pushed a commit to tschm/PyPortfolioOpt that referenced this pull request Nov 15, 2025
…PyPortfolio#662)

* adds a CI job, `pytest-nosoftdeps`, to test the package without soft
dependencies.
* isolates soft dependency `matplotlib` in tests and the plotting module
* isolates the `ecos` dependency almost entirely. There is one default
that remains, which is deprecated and scheduled for removal in 1.7.0.
* adds `scikit-base` soft dependency (without further dependencies) to
manage soft dependencies

This is also useful to check whether soft dependencies are properly
isolated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Continuous integration, unit testing & package distribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants