Skip to content
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

Fix the path issue caused by #148 #158

Merged
merged 1 commit into from
Jan 27, 2021
Merged

Fix the path issue caused by #148 #158

merged 1 commit into from
Jan 27, 2021

Conversation

aisk
Copy link
Member

@aisk aisk commented Jan 26, 2021

Bofore #148, path in make_client / client_context should have / prefix. After #148 been merged, path must have no / prefix, this will break exists codes using it, and as @dmulter said, path should have /.

In this PR, thriftpy2 will support these two usecases both, and the no / prefix is malformed but I think we should not break exists code again.

@codecov
Copy link

codecov bot commented Jan 26, 2021

Codecov Report

Merging #158 (e0818b4) into master (6583ae5) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #158      +/-   ##
==========================================
+ Coverage   83.33%   83.35%   +0.01%     
==========================================
  Files          43       43              
  Lines        3931     3935       +4     
==========================================
+ Hits         3276     3280       +4     
  Misses        655      655              
Impacted Files Coverage Δ
thriftpy2/http.py 88.88% <100.00%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6583ae5...e0818b4. Read the comment docs.

@aisk aisk force-pushed the fix-path branch 4 times, most recently from cc95379 to 86cea2c Compare January 26, 2021 13:53
@ethe ethe merged commit 108cca5 into master Jan 27, 2021
@aisk aisk deleted the fix-path branch January 27, 2021 14:31
@ethe ethe mentioned this pull request Feb 2, 2021
@dmulter
Copy link

dmulter commented Jul 26, 2021

Looking forward to a new release that includes this fix!

@ethe
Copy link
Member

ethe commented Aug 4, 2021

I will release it as soon as possible, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants