Skip to content
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

releasing minor 1.4.2 [rebase & merge] #2735

Merged
merged 41 commits into from
Sep 13, 2024
Merged

releasing minor 1.4.2 [rebase & merge] #2735

merged 41 commits into from
Sep 13, 2024

Conversation

Borda
Copy link
Member

@Borda Borda commented Sep 11, 2024

What does this PR do?

Resolves #2734

Before submitting
  • Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?
PR review

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃


📚 Documentation preview 📚: https://torchmetrics--2735.org.readthedocs.build/en/2735/

Borda and others added 27 commits September 11, 2024 17:34
---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
(cherry picked from commit 6a2fc72)
(cherry picked from commit 4d1a2e2)
Bumps [mypy](https://github.com/python/mypy) from 1.11.0 to 1.11.1.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11...v1.11.1)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit f697f35)
… >=2021.9.24,<=2024.7.24 in /requirements (#2676)

build(deps): update regex requirement in /requirements

Updates the requirements on [regex](https://github.com/mrabarnett/mrab-regex) to permit the latest version.
- [Changelog](https://github.com/mrabarnett/mrab-regex/blob/hg/changelog.txt)
- [Commits](mrabarnett/mrab-regex@2021.11.10...2024.7.24)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 1771806)
Bumps [cachier](https://github.com/python-cachier/cachier) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/python-cachier/cachier/releases)
- [Commits](python-cachier/cachier@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: cachier
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 3f78f02)
…4.4.0,<4.44.0 in /requirements (#2679)

build(deps): update transformers requirement in /requirements

Updates the requirements on [transformers](https://github.com/huggingface/transformers) to permit the latest version.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.42.3...v4.43.4)

---
updated-dependencies:
- dependency-name: transformers
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 7fee50d)
… >=4.42.3,<4.45.0 in /requirements (#2681)

build(deps): update transformers requirement in /requirements

Updates the requirements on [transformers](https://github.com/huggingface/transformers) to permit the latest version.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v4.42.3...v4.44.0)

---
updated-dependencies:
- dependency-name: transformers
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 2d9c009)
… to >=1.9.0,<2.5.0 in /requirements (#2687)

build(deps): update pytorch-lightning requirement in /requirements

Updates the requirements on [pytorch-lightning](https://github.com/Lightning-AI/lightning) to permit the latest version.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](Lightning-AI/pytorch-lightning@1.9.0...2.4.0)

---
updated-dependencies:
- dependency-name: pytorch-lightning
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit fd5a0b2)
…<1.4.0 in /requirements (#2690)

* build(deps): update netcal requirement in /requirements

Updates the requirements on [netcal](https://github.com/EFS-OpenSource/calibration-framework) to permit the latest version.
- [Release notes](https://github.com/EFS-OpenSource/calibration-framework/releases)
- [Commits](EFS-OpenSource/calibration-framework@r1.1...r1.3.6)

---
updated-dependencies:
- dependency-name: netcal
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jirka Borovec <[email protected]>
(cherry picked from commit 6b06188)
Bumps [pandoc](https://github.com/boisgera/pandoc) from 2.3 to 2.4.
- [Release notes](https://github.com/boisgera/pandoc/releases)
- [Changelog](https://github.com/boisgera/pandoc/blob/master/mkdocs/changelog.md)
- [Commits](boisgera/pandoc@v2.3...v2.4)

---
updated-dependencies:
- dependency-name: pandoc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

(cherry picked from commit eb66001)
…rements (#2695)

build(deps): update numpy requirement in /requirements

Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.20.1...v2.1.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 4b43756)
…8.0,<2.5.0 in /requirements (#2694)

build(deps): update lightning requirement in /requirements

Updates the requirements on [lightning](https://github.com/Lightning-AI/lightning) to permit the latest version.
- [Release notes](https://github.com/Lightning-AI/lightning/releases)
- [Commits](Lightning-AI/pytorch-lightning@1.8.0...2.4.0)

---
updated-dependencies:
- dependency-name: lightning
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 06201a2)
(cherry picked from commit 24e99c5)
Bumps [mypy](https://github.com/python/mypy) from 1.11.1 to 1.11.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11.1...v1.11.2)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit f214812)
Bumps [pygithub](https://github.com/pygithub/pygithub) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/pygithub/pygithub/releases)
- [Changelog](https://github.com/PyGithub/PyGithub/blob/main/doc/changes.rst)
- [Commits](PyGithub/PyGithub@v2.3.0...v2.4.0)

---
updated-dependencies:
- dependency-name: pygithub
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit c3b8945)
…9.1 in /requirements (#2693)

* build(deps): update nltk requirement in /requirements

Updates the requirements on [nltk](https://github.com/nltk/nltk) to permit the latest version.
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog)
- [Commits](nltk/nltk@3.6...3.9.1)

---
updated-dependencies:
- dependency-name: nltk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix source

* update requirements

* skip flaky stuff

* skip more flaky stuff

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicki Skafte <[email protected]>
(cherry picked from commit ef22554)
* update licence

This reverts commit 663f06d.

---------

Co-authored-by: Maja Popovic <[email protected]>
(cherry picked from commit 773fb92)
* move reset seed to fixture
* updating test outputs
* Update src/conftest.py

(cherry picked from commit 79b33ce)
…2711)

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](pypa/gh-action-pypi-publish@v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 1e822ab)
* correct check
* found the problem

---------

Co-authored-by: Jirka Borovec <[email protected]>
Co-authored-by: jirka <[email protected]>
(cherry picked from commit 0313c6b)
(cherry picked from commit c8ebda5)
…rements (#2716)

build(deps): bump lightning-utilities in /requirements

Bumps [lightning-utilities](https://github.com/Lightning-AI/utilities) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/Lightning-AI/utilities/releases)
- [Changelog](https://github.com/Lightning-AI/utilities/blob/main/CHANGELOG.md)
- [Commits](Lightning-AI/utilities@v0.11.6...v0.11.7)

---
updated-dependencies:
- dependency-name: lightning-utilities
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 8bce5d0)
…quirements (#2717)

build(deps): update dython requirement in /requirements

Updates the requirements on [dython](https://github.com/shakedzy/dython) to permit the latest version.
- [Release notes](https://github.com/shakedzy/dython/releases)
- [Changelog](https://github.com/shakedzy/dython/blob/master/CHANGELOG.md)
- [Commits](shakedzy/dython@0.1.0...v0.7.7)

---
updated-dependencies:
- dependency-name: dython
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a31417c)
Copy link

codecov bot commented Sep 11, 2024

Codecov Report

Attention: Patch coverage is 79.26267% with 45 lines in your changes missing coverage. Please review.

Project coverage is 69%. Comparing base (59d67ef) to head (8d139a5).
Report is 41 commits behind head on release/stable.

Additional details and impacted files
@@               Coverage Diff               @@
##           release/stable   #2735    +/-   ##
===============================================
  Coverage              69%     69%            
===============================================
  Files                 313     326    +13     
  Lines               17505   17825   +320     
===============================================
+ Hits                12041   12340   +299     
- Misses               5464    5485    +21     

Borda and others added 10 commits September 11, 2024 19:37
….log_dict` method (#2720)

* integration test
* batch_idx missing

(cherry picked from commit 1ba2c85)
… decorator in lightning (#2719)

* fix docs
* missing import
* Apply suggestions from code review

---------

Co-authored-by: Jirka Borovec <[email protected]>
(cherry picked from commit 858096c)
fix

(cherry picked from commit 45a41b8)
* correct the padding related calculation errors in SSIM

* fix doctests

* changelog

* change test

* add test

* fix syntax in test_ssim.py

* fix syntax in test_ssim.py

* fix unittests

* fix tolerance

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Nicki Skafte Detlefsen <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit efdb111)
(cherry picked from commit 2cd6f6a)
Bumps [torch](https://github.com/pytorch/pytorch) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: torch
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 144f6d6)
* implementation
* tests
* changelog
* fix mypy

(cherry picked from commit eecc55b)
* Fix: Handle zero division error in binary IoU (Jaccard index) calculation
* chlog

---------

Co-authored-by: Jirka Borovec <[email protected]>
(cherry picked from commit 80929b5)
* compatibility audio do with new `scipy`
* smaller array to fix torch.unique case

---------

Co-authored-by: Nicki Skafte Detlefsen <[email protected]>
(cherry picked from commit f12e7af)
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Sep 11, 2024
Borda and others added 2 commits September 12, 2024 00:14
* bump some testing requirements
+ matplotlib >=3.6.0
+ dython ~=0.7.6

(cherry picked from commit 708f11d)
- use sum reduce function for score
- add state `num_batches` to keep number of processed batches
- add increment of `num_batches` in every `update` call
- in `compute` return sum of scores divided by number of processed batches

---------

Co-authored-by: Nicki Skafte <[email protected]>
(cherry picked from commit cb1ab37)
@Borda Borda changed the title releasing minor 1.4.2 [wip] releasing minor 1.4.2 [rebase & merge] Sep 12, 2024
@mergify mergify bot added the ready label Sep 12, 2024
@Borda
Copy link
Member Author

Borda commented Sep 12, 2024

waiting for #2739

@Borda Borda merged commit 00e0cc1 into release/stable Sep 13, 2024
62 of 66 checks passed
@Borda Borda deleted the releasing/1.4.2 branch September 13, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants