Update ema-workbench dependency to v3.0.0#70
Open
JazminZatarain wants to merge 7 commits intopollockDeVis:mainfrom
Open
Update ema-workbench dependency to v3.0.0#70JazminZatarain wants to merge 7 commits intopollockDeVis:mainfrom
JazminZatarain wants to merge 7 commits intopollockDeVis:mainfrom
Conversation
- Bump ema-workbench pin from ==2.5.3 to >=3.0.0 and requires-python to >=3.12 - Replace removed Policy/Scenario with Sample in run_optimization.py - Replace ArchiveLogger/EpsilonProgress convergence API with filename=/directory= kwargs - Import EpsNSGAII directly from platypus (no longer re-exported by ema_workbench) - Update load_archives usage to handle new list[tuple[int, DataFrame]] return type - Rename RBF parameter names from spaces to underscores (Python identifier requirement) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ema-workbench >=3.0.0 requires Python >=3.12. pygame==2.3.0 has no pre-built wheel for Python 3.12 on Linux so SDL2 system libs are needed for the source build. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
momaland==0.1.1 requires pettingzoo[butterfly,sisl] which pins pygame==2.3.0. pygame==2.3.0 has no Python 3.12 wheels and cannot be built from source on Python 3.12 (distutils.ccompiler.spawn removed). The CI tests only exercise core JUSTICE IAM code, not the RL stack, so move RL packages to [project.optional-dependencies] to keep them installable via `pip install justice[rl]` without blocking the base install. Also update CI to Python 3.12 to match ema-workbench >=3.0.0 requirement. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
numpy==1.24.3 has no Python 3.12 wheels. numpy 1.26.0 was the first release with Python 3.12 wheel support. Pinning <2.0 to stay on the stable 1.x line. No deprecated numpy APIs found in the codebase. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pandas 2.0.x has no Python 3.12 wheels; 2.1.0 was the first release with Python 3.12 support. Resolves to pandas 2.3.3. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ema-workbenchfrom==2.5.3to>=3.0.0andrequires-pythonfrom>=3.10to>=3.12Policy/Scenarioclasses withSampleArchiveLogger/EpsilonProgressconvergence API with the newfilename=/directory=kwargs onoptimize()EpsNSGAIIdirectly fromplatypus(no longer re-exported byema_workbench)load_archivesusage to handle the newlist[tuple[int, DataFrame]]return type"center i"(spaces) to"center_i"(underscores) to comply with the Python-identifier requirement introduced in 3.0Files changed
pyproject.tomlrun_optimization.pyjustice/util/EMA_model_wrapper.pyjustice/util/pareto_nash_run.pysolvers/convergence/hypervolume.pyTest plan
pyproject.tomlin a Python 3.12+ environmentrun_optimization.pywith a smallnfeto verifyoptimize()writes archives correctlyEMA_model_wrapper.pyandpareto_nash_run.py🤖 Generated with Claude Code