-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Verdaccio tests fail if the current version is published to npm #7557
Labels
Comments
mattsoulanille
added a commit
that referenced
this issue
Apr 7, 2023
chunnienc
pushed a commit
that referenced
this issue
Apr 7, 2023
* Update lockfiles branch tfjs_4.4.0_lockfiles lock files. * Remove npm proxy for @tensorflow scoped packages See #7557
@mattsoulanille Is it possible to detect the release test and avoid forwarding conditionally? |
mattsoulanille
added a commit
that referenced
this issue
May 5, 2023
mattsoulanille
added a commit
that referenced
this issue
May 5, 2023
* Update lockfiles branch tfjs_4.5.0_lockfiles lock files. * Remove npm proxy for @tensorflow scoped packages See #7557
mattsoulanille
added a commit
that referenced
this issue
May 17, 2023
mattsoulanille
added a commit
that referenced
this issue
May 17, 2023
mattsoulanille
added a commit
to mattsoulanille/tfjs
that referenced
this issue
May 17, 2023
Disable verdaccio npm forwarding for tfjs packages when updating lockfiles. See tensorflow#7557 for details. Fixes tensorflow#7557
mattsoulanille
added a commit
that referenced
this issue
May 17, 2023
* Update tfjs_4.6.0_lockfiles * Remove npm proxy for @tensorflow scoped packages See #7557
mattsoulanille
added a commit
that referenced
this issue
Jun 6, 2023
mattsoulanille
added a commit
that referenced
this issue
Jun 6, 2023
* Update lockfiles branch tfjs_4.7.0_lockfiles lock files. * Remove npm proxy for @tensorflow scoped packages See #7557 --------- Co-authored-by: Matthew Soulanille <msoulanille@google.com>
Dedongala
pushed a commit
that referenced
this issue
Jun 21, 2023
mattsoulanille
added a commit
that referenced
this issue
Jun 21, 2023
See #7557 Co-authored-by: Matthew Soulanille <msoulanille@google.com>
Dedongala
added a commit
that referenced
this issue
Jun 21, 2023
* Update lockfiles branch tfjs_4.8.0_lockfiles lock files. * Remove npm proxy for @tensorflow scoped packages (#7771) See #7557 Co-authored-by: Matthew Soulanille <msoulanille@google.com> --------- Co-authored-by: Matthew Soulanille <msoulanille@google.com>
Dedongala
pushed a commit
that referenced
this issue
Jul 18, 2023
Dedongala
pushed a commit
that referenced
this issue
Jul 18, 2023
Dedongala
pushed a commit
that referenced
this issue
Jul 18, 2023
Dedongala
added a commit
that referenced
this issue
Jul 18, 2023
* [gpt2pre 3] Preprocessor Layer (#7794) * Add Preprocessor layer * Remove uneeded args * Use LayerArgs * Remove import from src * Add fromConfig method * Serialize tokenizer properly * Add test cases for preprocessor * Preprocessor tests with no set tokenizer --------- Co-authored-by: Linchenn <40653845+Linchenn@users.noreply.github.com> * Remove npm proxy for @tensorflow scoped packages See #7557 --------- Co-authored-by: Piero F Orderique <45519489+pforderique@users.noreply.github.com> Co-authored-by: Linchenn <40653845+Linchenn@users.noreply.github.com> Co-authored-by: Matthew Soulanille <msoulanille@google.com>
mattsoulanille
added a commit
that referenced
this issue
Jul 19, 2023
Dedongala
added a commit
that referenced
this issue
Jul 19, 2023
* Update lockfiles branch tfjs_4.9.0_lockfiles lock files. * Remove npm proxy for @tensorflow scoped packages See #7557 --------- Co-authored-by: Matthew Soulanille <msoulanille@google.com>
mattsoulanille
added a commit
that referenced
this issue
Aug 1, 2023
Dedongala
added a commit
that referenced
this issue
Aug 1, 2023
* Update lockfiles branch tfjs_4.10.0_lockfiles lock files. * Remove npm proxy for @tensorflow scoped packages See #7557 --------- Co-authored-by: Matthew Soulanille <msoulanille@google.com>
mattsoulanille
added a commit
that referenced
this issue
Oct 13, 2023
pyu10055
pushed a commit
that referenced
this issue
Oct 13, 2023
INTERNAL INTERNAL * Update lockfiles branch tfjs_4.12.0-rc.0_lockfiles lock files. * Remove npm proxy for @tensorflow scoped packages See #7557
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Verdaccio tests try to publish TFJS to a local verdaccio repository (which simulates npm). This repository is currently configured to look at npmjs as an upstream. This is fine until we try to publish a version of TFJS to verdaccio that is already published to npm. We do this when creating a PR to update the lockfiles of the release branch after publishing that branch to NPM. e.g. #7556
The current workaround is to edit the verdaccio config to not forward
@tensorflow
scoped packages to npmjs in the lockfiles PR. This shouldn't be set permanently because then we wouldn't be able to build and publish downstream packages (e.g.@tensorflow/tfjs
) in the release script if we hadn't already built the upstream packages (e.g.@tensorflow/tfjs-core
). When building the downstream package, we would look for the upstream package in verdaccio, and since it's not configured to forward to npmjs, it wouldn't find the package, causing an npm install error.The text was updated successfully, but these errors were encountered: