bluesky / tutorials

Tutorial materials related to data acquisition, management, and analysis
https://mybinder.org/v2/gh/bluesky/tutorials/main?urlpath=lab
BSD 3-Clause "New" or "Revised" License
20 stars 29 forks source link

Bump tensorflow from 2.2.0 to 2.4.2 in /binder #104

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 3 years ago

Bumps tensorflow from 2.2.0 to 2.4.2.

Release notes

Sourced from tensorflow's releases.

TensorFlow 2.4.2

Release 2.4.2

This release introduces several vulnerability fixes:

... (truncated)

Changelog

Sourced from tensorflow's changelog.

Release 2.4.2

This release introduces several vulnerability fixes:

  • Fixes a heap buffer overflow in RaggedBinCount (CVE-2021-29512)
  • Fixes a heap out of bounds write in RaggedBinCount (CVE-2021-29514)
  • Fixes a type confusion during tensor casts which leads to dereferencing null pointers (CVE-2021-29513)
  • Fixes a reference binding to null pointer in MatrixDiag* ops (CVE-2021-29515)
  • Fixes a null pointer dereference via invalid Ragged Tensors (CVE-2021-29516)
  • Fixes a division by zero in Conv3D (CVE-2021-29517)
  • Fixes vulnerabilities where session operations in eager mode lead to null pointer dereferences (CVE-2021-29518)
  • Fixes a CHECK-fail in SparseCross caused by type confusion (CVE-2021-29519)
  • Fixes a segfault in SparseCountSparseOutput (CVE-2021-29521)
  • Fixes a heap buffer overflow in Conv3DBackprop* (CVE-2021-29520)
  • Fixes a division by 0 in Conv3DBackprop* (CVE-2021-29522)
  • Fixes a CHECK-fail in AddManySparseToTensorsMap (CVE-2021-29523)
  • Fixes a division by 0 in Conv2DBackpropFilter (CVE-2021-29524)
  • Fixes a division by 0 in Conv2DBackpropInput (CVE-2021-29525)
  • Fixes a division by 0 in Conv2D (CVE-2021-29526)
  • Fixes a division by 0 in QuantizedConv2D (CVE-2021-29527)
  • Fixes a division by 0 in QuantizedMul (CVE-2021-29528)
  • Fixes vulnerabilities caused by invalid validation in SparseMatrixSparseCholesky (CVE-2021-29530)
  • Fixes a heap buffer overflow caused by rounding (CVE-2021-29529)
  • Fixes a CHECK-fail in tf.raw_ops.EncodePng (CVE-2021-29531)
  • Fixes a heap out of bounds read in RaggedCross (CVE-2021-29532)
  • Fixes a CHECK-fail in DrawBoundingBoxes

... (truncated)

Commits
  • 1923123 Merge pull request #50210 from tensorflow/geetachavan1-patch-1
  • a0c8093 Update BUILD
  • f1c8200 Merge pull request #50203 from tensorflow/mihaimaruseac-patch-1
  • 7cf45b5 Update common.sh
  • 4aaac2b Merge pull request #50185 from geetachavan1/cherrypicks_U90C1
  • 65afa4b Fix the nightly nonpip builds for MacOS.
  • 46c1821 Merge pull request #50184 from tensorflow/mihaimaruseac-patch-1
  • cf8d667 Update common_win.bat
  • b2ef8a6 Merge pull request #50061 from tensorflow/geetachavan1-patch-2
  • f9a1ba8 Update sparse_fill_empty_rows_op.cc
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bluesky/tutorials/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
danielballan commented 3 years ago

@maffettone After experimenting with "one repo per tutorial" I have decided the maintenance cost of that structure outweighs the benefit. I have therefore archived https://github.com/bluesky/tutorial-adaptive-RL-sampling and copied its content into this repo, where I intend to continue to maintain it.

An automatic security scan from GitHub recommended the dependency update in this PR. CI finds that the recommended change is incompatible with some of the other dependency pins. Can they be loosened? Excerpt from the build logs:

ERROR: Cannot install -r binder/requirements.txt (line 28) and tensorboard==2.2.1 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of numpy to determine which version is compatible with other requirements. This could take a while.

The conflict is caused by:
    The user requested tensorboard==2.2.1
    tensorflow 2.4.2 depends on tensorboard~=2.4

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
maffettone commented 3 years ago

@danielballan Tensorboard can be fully relaxed and was. I checked the functionality of the AdaptiveSampling notebook and everything runs well with these changes. I had to relax numpy up an approximate patch for the updated tensorflow. Assuming this change is fine, this PR is good to go.

dependabot[bot] commented 3 years ago

A newer version of tensorflow exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

mrakitin commented 1 year ago

We got rid of tensorflow via https://github.com/bluesky/tutorials/pull/135. Closing this PR.

dependabot[bot] commented 1 year ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.