-
Notifications
You must be signed in to change notification settings - Fork 15
Release candidate #3
Conversation
…ds, replace own mocks with "responses" lib
looking at this now |
this doesnt seem to work. i suppose we need to submit to pypi? other than that, this LGTM.. @mbeacom what do you think? |
@raphaelhuefner thank you very much. im excited about this! |
Yes. We will need to package it and upload to PyPI. We can first upload to Test PyPI and install and check everything works perfectly with |
@owocki @mbeacom @SaptakS Published on PyPi now, please try installing it again: pip install gitcoin Please name some PyPi username(s) you would like to have added as owners of https://pypi.org/project/gitcoin/ . I think that should wrap up this bounty, right? |
My apologies: Sorry if the ", right?" bit in the previous comment sounds rude. I blame my ESL. Why the long silence here: I understood Saptak's comment so that someone on the Gitcoin.co team would publish to PyPi and that in the process the PyPi package name would belong to Gitcoin. So I felt that the ball was in your court and lost sight of this PR a bit. After submitting another bounty I had a bit of a breather and re-read Saptak's comment and realized that it could also be understood that the ball was in my court. As per Saptak's suggestion I published on TestPyPI first and only then did I realize that I was allowed to add more package owners. So I went ahead and published on the real PyPi as well, for the ease of testing this PR. But I feel uncomfortable "cyber-squatting" the |
sorry for the radio silence on this; and thanks for the bump. this just fell off our task list. per our convo in slack @mbeacom is gonna accept the gitcoin pkg into the pypi repo ( we should probably also update the docs somewhere about this) |
Hey @mbeacom ,
This time, please review the complete PR. I think that now it is usable as it is, but of course like any other software this will benefit from a thorough review.
Thank you!
Raphael
Description
This is a Python client for the Gitcoin API at https://gitcoin.co/api/v0.1/bounties/ .
Checklist
pycodestyle
,flake8
,pylint
andpydocstyle
locally. I am not sure if and how to integrate that into your project setup.Affected core subsystem(s)
Testing
There is code included which runs this API client against the live API, you can run that with
pytest --liveapi ./tests/
.The reason I made them optional with the
--liveapi
CLI option is that occasionally, those live tests would break because of net outages or similar, and would in turn break the Travis builds.Refers/Fixes
Refs: https://gitcoin.co/issue/gitcoinco/web/1185/467
Refs: gitcoinco/web#1185