Skip to content

Bump cachetools from 5.5.2 to 6.0.0 #1202

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 26, 2025

Bumps cachetools from 5.5.2 to 6.0.0.

Changelog

Sourced from cachetools's changelog.

v6.0.0 (2025-05-23)

  • Require Python 3.9 or later (breaking change).

  • Remove MRUCache and the @func.mru_cache decorator (breaking change).

  • Add an optional condition parameter to the @cached and @cachedmethod decorators, which, when used with a threading.Condition instance, should improve cache stampede <https://en.wikipedia.org/wiki/Cache_stampede>_ issues in massively parallel environments. Note that this will inflict some performance penalty, and therefore has to be enabled explicitly.

  • Convert the cachetools.func decorators to use a threading.Condition instance to deal with cache stampede <https://en.wikipedia.org/wiki/Cache_stampede>_ issues. Note that this may result in a noticable performance degradation, depending on your actual use case.

  • Deprecate support for cache(self) returning None to suppress caching with the @cachedmethod decorator.

  • Improve documentation.

  • Update CI environment.

Commits
  • e497575 Release v6.0.0.
  • 0a8f391 Update related projects section.
  • 3afef37 Pre-release v6.0.0b4.
  • 34815dd Update documentation for v6.0.0.
  • 8854b50 Add intersphinx extension.
  • 0af4a07 Bump codecov/codecov-action from 5.4.0 to 5.4.2
  • ad42371 Merge pull request #349 from tkem/dependabot/github_actions/actions/setup-pyt...
  • 987c076 Bump actions/setup-python from 5.5.0 to 5.6.0
  • 27d0dce Add cache_condition wrapper attribute (and refactor a bit).
  • 37b5c12 Use class method attributes in tests.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels May 26, 2025
Copy link

Eco CI Output:

Label 🖥 avg. CPU utilization [%] 🔋 Total Energy [Joules] 🔌 avg. Power [Watts] Duration [Seconds]
Measurement #1 28.2371 3334.97 4.17 800.07
--- --- --- --- ---
Total Run 28.24 3334.97 4.17 800.07
--- --- --- --- ---
Additional overhead from Eco CI N/A 9.03 4.12 2.19

❌ CO2 Data:
Error in retrieving values. Please see the detailed logs for the exact error messages!

@dependabot dependabot bot force-pushed the dependabot/pip/main/cachetools-6.0.0 branch from a8a05c1 to fcd2f18 Compare May 26, 2025 08:36
@dependabot dependabot bot force-pushed the dependabot/pip/main/cachetools-6.0.0 branch 2 times, most recently from 6e08dbc to f5862d0 Compare June 13, 2025 08:17
Bumps [cachetools](https://github.com/tkem/cachetools) from 5.5.2 to 6.0.0.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](tkem/cachetools@v5.5.2...v6.0.0)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/main/cachetools-6.0.0 branch from f5862d0 to c7b4cff Compare June 13, 2025 08:18
@ArneTR ArneTR merged commit 325e996 into main Jun 13, 2025
1 check passed
@ArneTR ArneTR deleted the dependabot/pip/main/cachetools-6.0.0 branch June 13, 2025 08:19
Copy link

github-actions bot commented Jun 13, 2025

Eco CI Output - Old Energy Estimation

Eco CI Output [RUN-ID: 15629878444]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.657097600 g
CO₂ from manufacturing (embodied carbon) is: 0.243409769 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 1.900507 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Measurement #126.74853510.84.12853.13
Total Run26.753510.804.12853.13
Additional overhead from Eco CIN/A9.743.792.57

Copy link

Eco CI Output [RUN-ID: 15629909116]:

🌳 CO2 Data:
City: CONSTANT, Lat: , Lon:
IP:
CO₂ from energy is: 1.644339440 g
CO₂ from manufacturing (embodied carbon) is: 0.239578005 g
Carbon Intensity for this location: 472 gCO₂eq/kWh
SCI: 1.883917 gCO₂eq / pipeline run emitted


Total cost of whole PR so far:

Label🖥 avg. CPU utilization [%]🔋 Total Energy [Joules]🔌 avg. Power [Watts]Duration [Seconds]
Measurement #127.66033483.774.15839.70
Total Run27.663483.774.15839.70
Additional overhead from Eco CIN/A9.474.062.33

ArneTR added a commit that referenced this pull request Jun 14, 2025
* main: (179 commits)
  Statistical significance is now 10 runs
  Updated Cloud Energy
  Upgraded pandas
  Bump redis from 6.1.0 to 6.2.0 (#1204)
  Bump cachetools from 5.5.2 to 6.0.0 (#1202)
  Bump uvicorn[standard] from 0.34.2 to 0.34.3 (#1210)
  Bump pytest from 8.3.5 to 8.4.0 (#1211)
  Bump python from 3.13.3-slim-bookworm to 3.13.4-slim-bookworm in /docker (#1220)
  Bump aiohttp from 3.11.18 to 3.12.12 (#1221)
  Bump requests from 2.32.3 to 2.32.4 in /docker (#1222)
  Clarified that index.html amounts of data points are user specific
  Keyboard interrupt locally does also not need to lead to error
  Keyboard Interrupt does not need to be alerted in cluster. Is either systemd or manual
  Logout now also inline message; Using dedicated login/logout icons
  Login successful more clear
  Notes sent by Eco Ci now shown in frontend (#1218)
  Sleep time cluster (#1217)
  Rounding with two digits
  Wrong branch for bakerydemo
  Updated CloudEnergy
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant