-
-
Notifications
You must be signed in to change notification settings - Fork 227
Issues using main branch with pip only #119
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
Labels
🐞bug
Something isn't working
Comments
dbanty
added a commit
that referenced
this issue
Aug 4, 2020
Alright so as I read it, the issues are, in order:
|
This was referenced Aug 4, 2020
Yep, sounds good! The 3rd point is a bit confusing to solve, it might be to do with my environment more than anything. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I hit numerous bugs when installing this library and also the generated client library when using only pip, and not poetry.
To Reproduce
Trying to install:
python -m pip venv venv
source venv/bin/activate
pip install -U git+https://github.com/triaxtec/openapi-python-client.git
At this point, it doesn't seem to understand the project metadata, so I get:
This also doesn't seem to install the
openapi-python-client
executable.If I instead setup poetry and:
poetry add git+https://github.com/triaxtec/openapi-python-client.git@main
openapi-python-client generate --url https://api.biocontainers.pro/ga4gh/trs/v2/openapi.json
Here, I get:
pip install importlib_metadata -U
openapi-python-client generate --url https://api.biocontainers.pro/ga4gh/trs/v2/openapi.json
againThis gives me:
poetry add pydantic
openapi-python-client generate --url https://api.biocontainers.pro/ga4gh/trs/v2/openapi.json
again, now gives me:pip install 'importlib_metadata<2.0.0,>=1.6.0'
openapi-python-client generate --url https://api.biocontainers.pro/ga4gh/trs/v2/openapi.json
. This time it worksExpected behavior
I would hope that simply running these commands would generate and install the API client:
OpenAPI Spec File
https://api.biocontainers.pro/ga4gh/trs/v2/openapi.json
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: