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

Warnings with Poetry 1.2.0 #873

Closed
ottobackwards opened this issue Aug 31, 2022 · 7 comments · Fixed by #1139 · May be fixed by #1080
Closed

Warnings with Poetry 1.2.0 #873

ottobackwards opened this issue Aug 31, 2022 · 7 comments · Fixed by #1139 · May be fixed by #1080

Comments

@ottobackwards
Copy link

nox > Running session lint-3.8
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/lint-3-8
nox > poetry export --format=requirements.txt --dev --without-hashes
The --dev option is deprecated, use the --with dev notation instead.

@edgarrmondragon
Copy link
Contributor

Yeah, dev is a dependency group in 1.2.

Related: #663

@johnthagen
Copy link

@elbakramer
Copy link

I think warning happens due to this line 85:

output = self.session.run_always(
"poetry",
"export",
"--format=requirements.txt",
"--dev",
*[f"--extras={extra}" for extra in self.config.extras],
"--without-hashes",
external=True,
silent=True,
stderr=None,
)

Can it be replaced to this?:

output = self.session.run_always( 
     "poetry", 
     "export", 
     "--format=requirements.txt", 
     "--with", "dev", 
     *[f"--extras={extra}" for extra in self.config.extras], 
     "--without-hashes", 
     external=True, 
     silent=True, 
     stderr=None, 
 ) 

@guysalt
Copy link

guysalt commented Jul 8, 2023

some one know whats going on with this issue?

i see a lot of PRs and Issues on supporting poetry 1.2, and i don't understand where it is blocked?

i can open a PR to fix this warning line but it seems like it is on purpose...

thanks

@johnthagen
Copy link

@guysalt This is fixed in

Current status is awaiting a merge/feedback from @cjolowicz, who has been busy but has recently merged in some other improvements

There is also some history about @cjolowicz thoughts about the future of nox-poetry all together referenced here. It's possible he may decide to pass the project off or add more maintainers to help move it forward.

@guysalt
Copy link

guysalt commented Jul 8, 2023

thank you so much.

hope it will be fixed soon.

@cjolowicz
Copy link
Owner

This was fixed in nox-poetry 1.0.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants