Skip to content

Commit

Permalink
Update scikit-decide dependencies
Browse files Browse the repository at this point in the history
- Remove depencies that are actually dependencies of
  discrete-optimization
- Ideally should add discrete-optimization as a dependency but
   - for now only available through git, as a subdirectory
   - this is not yet implemented by poetry
     (python-poetry/poetry#755)
   - for testing purposes, we should use the version available on the
     same branch, as it is on the same repo for now
   - for building purpose and specify it as a dependency by the
     scikit-decide wheel available on pypi, we should point to an
     official release. Only possible when such a release exists
- So "manual" install of discrete-optimization required for local
  testing and github workflow
  • Loading branch information
nhuet committed May 9, 2022
1 parent 1e0c84a commit 5f2f535
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,12 @@ matplotlib = {version = "^3.3.4", optional = true}
joblib = {version = "^1.0.1", optional = true}
stable-baselines3 = {version = "^0.11.1", optional = true}
ray = {extras = ["rllib"], version = "^1.2.0", optional = true}
networkx = {version = "^2.5", optional = true}
minizinc = {version = "^0.4.2", optional = true}
mip = {version = "^1.13.0", optional = true}
deap = {version = "^1.3.1", optional = true}
# discrete-optimization = {git = "https://github.com/nhuet/scikit-decide.git@nht/do_integration", subdirectory = "discrete-optimization", optional = true}

[tool.poetry.extras]
domains = [ "gym", "numpy", "matplotlib", "simplejson" ]
solvers = [ "gym", "numpy", "joblib", "ray", "stable-baselines3" ]
discrete_optimization = [ "networkx", "minizinc", "mip", "deap" ]
all = [ "gym", "numpy", "matplotlib", "simplejson", "joblib", "ray", "stable-baselines3", "networkx", "minizinc", "mip", "deap" ]
domains = [ "gym", "numpy", "matplotlib", "simplejson" ] #, "discrete-optimization" ]
solvers = [ "gym", "numpy", "joblib", "ray", "stable-baselines3" ] #, "discrete-optimization" ]
all = [ "gym", "numpy", "matplotlib", "simplejson", "joblib", "ray", "stable-baselines3" ] #, "discrete-optimization" ]

[tool.poetry.plugins."skdecide.domains"]
GymDomain = "skdecide.hub.domain.gym:GymDomain [domains]"
Expand Down

0 comments on commit 5f2f535

Please sign in to comment.