Repository navigation
Clear the Dependabot alerts: drop eppy, require Python 3.11 - #35
Merged
Merged
Conversation
All 84 open alerts were in dev tooling; the package itself has no runtime dependencies. - eppy was only used by scripts/run_resource_models.py, to wrap IDFs and run them with runIDFs, and it pulled in the Sphinx, nbsphinx and Jupyter toolchain behind most alerts (bleach, mistune, nbconvert, tornado, soupsieve, requests, urllib3, certifi, idna, lxml). The script now calls each installation's energyplus executable directly, in parallel, with -x added when an IDF uses HVACTemplate objects. Each version reads its own Energy+.idd, so the per-version IDD reset is gone. - The patched filelock, pylint, pytest and pyarrow need Python 3.10 or 3.11, so the lock kept vulnerable versions for 3.9 and 3.10. 3.9 and 3.10 are end of life; requires-python is now >=3.11, ruff targets py311, and CI tests 3.11-3.14. - uv lock upgraded the remaining alerted packages (certifi, filelock, idna, lxml, pyarrow, pygments, pylint, pytest, virtualenv). Co-Authored-By: Claude Opus 5.5 <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.
Clears all 84 open Dependabot alerts. All of them were in dev tooling; the package has no runtime dependencies and is unchanged.
What changed
eppyfrom the dev group. Onlyscripts/run_resource_models.pyused it, to wrap each IDF and run it withrunIDFs. It pulled in the Sphinx / nbsphinx / Jupyter toolchain behind most alerts:bleach,mistune,nbconvert,tornado,soupsieve,requests,urllib3,certifi,idna,lxml. No test imports it; the tests read the committed files intests/test_files/.scripts/run_resource_models.pyto call each EnergyPlus installation'senergyplusexecutable directly (--weather,--output-directory,--output-prefix), one process per CPU. It adds--expandobjectswhen an IDF usesHVACTemplate:objects, and exits non-zero if a simulation fails. Each installation reads its ownEnergy+.idd, so the per-version IDD reset is gone. Output naming and the copy totests/test_files/are unchanged.filelock,pylint,pytestandpyarrowneed Python 3.10 or 3.11, so the lock kept vulnerable versions for 3.9 and 3.10. Both are end of life.requires-python = ">=3.11", rufftarget-version = "py311", and the CI matrix is now 3.11 to 3.14. The README badge is updated too.uv lockupgraded the rest:certifi,filelock,idna,lxml,pyarrow,pygments,pylint,pytest,virtualenv. The lock goes from 113 to 28 packages.What I ran
uv.lock: none match. Against the old lock, all 84 matched.uv run ruff check .,uv run ruff format --check ., anduv run pylint db_eplusout_reader(10.00/10).pylint scripts/run_resource_models.pyalso scores 10.00/10.uv run pytest tests -qon Python 3.14: 226 passed.resources/252_1ZoneUncontrolled.idf, with itsVersionchanged to 26.2 (the only EnergyPlus installed here), in a scratch folder. EnergyPlus 26.2 ran it in 1.8 s and the.esowas copied, andDBEsoFileCollection.from_pathreads it (3 environments).What I did not run
resources/, because those EnergyPlus versions aren't installed here.🤖 Generated with Claude Code