swagger-api / swagger-api/swagger-codegen

Python: PIP installing two codegen projects isn't working.

Open
#7,895 0 comments 0 reactions 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

This might be more of a question I'm looking to implement two swagger codegen'd projects into
my project since I need access to both api's when I try and pip install the second api it returns the following:

Requirement already satisfied: six>=1.10 in ./venv/lib/python3.6/site-packages/six-1.11.0-py3.6.egg (from swagger-client==1.0.0)
Requirement already satisfied: certifi in ./venv/lib/python3.6/site-packages (from swagger-client==1.0.0)
Requirement already satisfied: python-dateutil in ./venv/lib/python3.6/site-packages/python_dateutil-2.7.0-py3.6.egg (from swagger-client==1.0.0)
Swagger-codegen version

version: 2.3.1

Command line used for generation
  • MacOS HIgh Sierra 10.13.2
  • Python 3.6.2
  • venv
  • code gen done via command line
Steps to reproduce
  1. generate code using cli
  2. host it on bitbucket
  3. install first one no problem
  4. repeat steps one and two
  5. fails on second pip install

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

Start by reproducing the command-line generation and both pip installs on macOS High Sierra with Python 3.6.2 and a venv. The report does not include the second-install error, generated package details, or a file/test to inspect; completion would require identifying that failure and confirming that two generated projects can be installed together.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.