Skip to content

Poetry plugin docs#4

Closed
grahamc wants to merge 23 commits intoadisbladis:poetry2nix-pluginsfrom
grahamc:poetry-plugin-docs
Closed

Poetry plugin docs#4
grahamc wants to merge 23 commits intoadisbladis:poetry2nix-pluginsfrom
grahamc:poetry-plugin-docs

Conversation

@grahamc
Copy link

@grahamc grahamc commented Mar 27, 2020

No description provided.

@grahamc
Copy link
Author

grahamc commented Mar 27, 2020

Updated with the feedback I could address so far :)

adisbladis and others added 13 commits March 27, 2020 22:12
name is of type Optional[str] and can therefore be None.
In the `nixops info` output we default to the deployment UUID so it
feels reasonable to fall back sorting on UUID.
It's been replaced by pyproject.toml
We need to evaluate twice, once using any previous version of mypy and
a second time using the current version of mypy.

If we don't a mypy version bump can find new type errors that makes
the initial check fail.
Based on:

Grepping the source code for RawValue, I see they are all strings.
Based on grepping the source code for MultiLineRawValue, it apears they're all just a list of RawValue values, ie: str's
@grahamc grahamc force-pushed the poetry-plugin-docs branch from 9105745 to 171530c Compare March 28, 2020 21:10
@grahamc grahamc force-pushed the poetry-plugin-docs branch from 171530c to 64ee0eb Compare March 28, 2020 21:12
@grahamc
Copy link
Author

grahamc commented Mar 28, 2020

Updated to use the 20.03 updates to poetry2nix!

buildInputs = [
(pkgs.poetry2nix.mkPoetryEnv {
projectDir = ./.;
overrides = pkgs.poetry2nix.overrides.withoutDefaults overrides;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why withoutDefaults ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure, I copy-pasted it from the wrong section of the poetry2nix docs by misake :) Can you fix it?

@adisbladis
Copy link
Owner

Squashed and merged.

@adisbladis adisbladis closed this Mar 28, 2020
@grahamc grahamc deleted the poetry-plugin-docs branch March 28, 2020 22:19
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

Successfully merging this pull request may close these issues.

2 participants