swagger-api / swagger-api/swagger-codegen

Support for pyproject.toml

Open
#12,010 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Mustache
Stars
17.8k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

Description

Since pyproject.toml is going to replace old python packaging system (with setup.py and setuptools), it would be nice to add ability to generate pyproject.toml instad of setup.py and requirements.txt

We use poetry for dependency management and want to utilize swagger-codegen for code generation. We would like to use the same workflow for generated packages as we use for other packages.

Swagger-codegen version

3.0.36

Suggest a fix/enhancement

Option to generate pyproject.toml

Contributor guide

Open the contributing guide

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

The issue names setup.py, requirements.txt, pyproject.toml, Poetry, and swagger-codegen 3.0.36, but no repository file or test. Start by tracing the existing Python packaging generation from those outputs; done when an option generates a usable pyproject.toml for the requested Poetry workflow and tests cover it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.