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

Wheel no longer added to poetry.lock (upstream change) #238

Open
mjlbach opened this issue Jan 22, 2021 · 0 comments
Open

Wheel no longer added to poetry.lock (upstream change) #238

mjlbach opened this issue Jan 22, 2021 · 0 comments

Comments

@mjlbach
Copy link
Contributor

mjlbach commented Jan 22, 2021

See: python-poetry/poetry#3075

And: python-poetry/poetry@b92e681

This means a lot of the tests will fail to install wheel with the latest version of poetry when the lock files are updated. Locally, it means I have to do a lot of this:

    pythonEnv = poetry2nix.mkPoetryEnv {
      projectDir = ./.;
      preferWheels = true;
      overrides = poetry2nix.overrides.withDefaults (self: super: {
        fancycompleter = super.fancycompleter.overridePythonAttrs (
          old: {
            postPatch = '''';
          }
        );
        astunparse = super.astunparse.overridePythonAttrs (
        old: {
          buildInputs = old.buildInputs ++ [ self.wheel];
        });
        tensorboard = super.tensorboard.overridePythonAttrs (
        old: {
          buildInputs = old.buildInputs ++ [ self.wheel];
        });
        tensorflow = super.tensorflow.overridePythonAttrs (
        old: {
          buildInputs = old.buildInputs ++ [ self.wheel];
        }
        );
      });
    };

Also, apart from that, poetry is failing to resolve a new lock file due to python-poetry/poetry#3367 (upstream)

@mjlbach mjlbach changed the title Wheel no longer added to poetry dependencies (upstream change) Wheel no longer added to poetry.lock (upstream change) Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant