python-poetry / python-poetry/poetry-plugin-export

Exporting to conda format

Open
#159 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
335
Forks
57
Avg merge
1h 23m
Merged PRs (30d)
3

Description

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!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the poetry export entry point and how its current output formats are selected. The issue asks for a conda environment YAML specification, so first clarify whether this belongs in the repository or a plugin, then define completion as producing a valid YAML file accepted by conda.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, yaml
Domain
cli, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.