You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Api return 404 when keyword contains point symbol #1715
But not sure if we can just take that out or not. We really need to move to using urllib.parse.quote() for this stuff. Though requests does some it self and I haven't dug into exactly what we are responsible for and what requests will take care of.
Thanks! BTW. Do we have some plan to use httpx or something asyncio tool to asynchronous this lib ?
Yes, httpx probably, though it still hasn't reached 1.0 and last I checked was missing some proxy or retry features or so, if I'm not mistaken, can't quite remember.
But there is an old PR here that already uses it if you really need it (likely missing lots of recent features): #1036. That'll need some major rework to update though once we're ready.
Activity
JohnVillalovos commentedon Nov 26, 2021
Can you run the following and provide the output?
JohnVillalovos commentedon Nov 26, 2021
As a note, to help your debugging you can do the following, if you want:
insoz commentedon Nov 26, 2021
version: '2.10.1'
file: '/Users/insoz/code/ops-fast/venv/lib/python3.7/site-packages/gitlab/init.py'
JohnVillalovos commentedon Nov 26, 2021
Thanks. I have a suspicion it is because of:
python-gitlab/gitlab/utils.py
Line 65 in 3225f2c
But not sure if we can just take that out or not. We really need to move to using
urllib.parse.quote()for this stuff. Thoughrequestsdoes some it self and I haven't dug into exactly what we are responsible for and whatrequestswill take care of.JohnVillalovos commentedon Nov 26, 2021
Related issue: #1356
insoz commentedon Nov 26, 2021
Thanks! BTW. Do we have some plan to use
httpxor somethingasynciotool to asynchronous this lib ?nejch commentedon Nov 26, 2021
Yes,
httpxprobably, though it still hasn't reached 1.0 and last I checked was missing some proxy or retry features or so, if I'm not mistaken, can't quite remember.But there is an old PR here that already uses it if you really need it (likely missing lots of recent features): #1036. That'll need some major rework to update though once we're ready.
nejch commentedon Jan 4, 2022
@JohnVillalovos wasn't this fixed by 702e41d? If so we can close it, unless you'd like to add a test for that.
chore: add test case to branch name with period works
chore: add test case to show branch name with period works
chore: add test case to show branch name with period works
JohnVillalovos commentedon Jan 4, 2022
It was. I just added PR #1800 to prove it works