| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
@gatesn could we disable appveyor and circle ci webhooks? https://github.com/palantir/python-language-server/settings/hooks (we do not have access to that :-). ) Thanks! |
Sorry, something went wrong.
|
@goanpeca, please restore the CircleCI checks and simply make them pass so I can merge this one. |
Sorry, something went wrong.
They are restored, but they simply stoped running. Other PRs seem to be facing the same issue. |
Sorry, something went wrong.
|
@goanpeca @ccordoba12 I removed the circle and appveyor webhooks, and made the checks non-required. Let's fix-up this branch to unblock further PRs. |
Sorry, something went wrong.
|
@jroitgrund Thanks!, actually we need to keep the circleci hooks, since there we have the job in charge of making a release when a new tag is published. And the release process is tied to some passwords that I assume were configured as environment variables on circle ci. I could move the process to Github actions as well, but some extra configuration would be needed on the secrest sections of setttings on this repo so we can use those PyPI passwords/tokens in the github action workflow. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @goanpeca!
Sorry, something went wrong.
|
@gatesn do you have a copy of the secrets from circle so we can add them as github actions secrets? |
Sorry, something went wrong.
|
They should be stored in passwords.y.l |
Sorry, something went wrong.
|
@goanpeca I added PIPY_HOST, PIPY_PASSWORD, and PIPY_USERNAME as GH secrets, so I think all we need is a GitHub action mirroring https://github.com/palantir/python-language-server/blob/develop/.circleci/config.yml#L36-L41 |
Sorry, something went wrong.
|
Thanks @jroitgrund I will take a look |
Sorry, something went wrong.
|
@jroitgrund, could you also add TWINE_USERNAME and TWINE_PASSWORD? I think that it's easier to use twine to upload the wheel and tarball instead of setup.py, and those env vars are needed for that according to https://twine.readthedocs.io/en/latest/#environment-variables |
Sorry, something went wrong.
|
Done! We were previously publishing via https://upload.pypi.org/legacy/ but I guess we won't need to anymore if we switch to twine. |
Sorry, something went wrong.
|
Thanks a lot @jroitgrund! I'll try to add support for twine on Github actions tonight (CDT) if @goanpeca doesn't it add before. |
Sorry, something went wrong.
|
@jroitgrund from a security standpoint, it would be better to use tokens from PyPI, instead of username and password. If you go to (Showing an example of another project) And then clicking on Create a Token ... That way we can use this step on the Github Workflow - name: Publish Client release
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PYLS_TOKEN }}
run: |
python -m twine upload dist/*No PIPY_HOST, PIPY_PASSWORD, and PIPY_USERNAME needs to be set/exposed, only PYPI_PYLS_TOKEN and it will only have access to publish the python-language-server package. |
Sorry, something went wrong.
|
Good call, done. |
Sorry, something went wrong.
|
Thanks @jroitgrund! Is the name PYPI_PYLS_TOKEN? I just pull that out of the blue. |
Sorry, something went wrong.
|
Yep. |
Sorry, something went wrong.
|
0.35.0 is finally out! https://pypi.org/project/python-language-server/0.35.0/ Thanks @goanpeca for the tips and @jroitgrund for setting things up on your side. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Add win, mac and linux testing for Python 2.7, 3.6, 3.7 and 3.8