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

Exporting to conda format #159

Open
vincenzobaz opened this issue Nov 6, 2022 · 2 comments
Open

Exporting to conda format #159

vincenzobaz opened this issue Nov 6, 2022 · 2 comments

Comments

@vincenzobaz
Copy link

Hello!

I use poetry for many projects, including some PySpark projects. In this case, I am used to leveraging conda-pack to create a standalone tar.gz containing the Python binary and all the dependency that I can use with spark-submit.
To generate a conda environment I am forced to use export to generate a requirements.txtand then to load it with conda.

Conda supports a yaml environment specification file and it would useful if poetry export could emit a file satisfying this specification.
It does not seem extremely complicated to implement but before jumping in and writing code I wanted to ask:

  1. Would this functionality be useful?
  2. Should this functionality be added to this repository or as a separate plugin?
  3. Do you see any blocker to implement this?

Thank you in advance for your inputs!

@radoering
Copy link
Member

1. Would this functionality be useful?

It sounds useful to me. However, I'm not a conda user.

2. Should this functionality be added to this repository or as a separate plugin?

Either is possible. IMO it fits well here.

3. Do you see any blocker to implement this?

No blockers. However, it might make sense to refactor the Exporter class as mentioned in #128 (comment)

@amotl
Copy link

amotl commented Dec 3, 2022

Dear Vincenzo and Randy,

over at conda-forge/wetterdienst-feedstock#77 1, we have been starting to search for a solution on this matter, and happily discovered your discussion here.

We will be all ears when there is something usable and will try to apply it on the dependency definitions of Wetterdienst quickly.

With kind regards,
Andreas.

/cc @xylar

Footnotes

  1. You will find references to Grayskull and pip-tools over there, which might be interesting if you don't know those tools yet.

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

3 participants