-
Notifications
You must be signed in to change notification settings - Fork 230
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
[Bug]: Python emitter overrides my changes to setup.py #5528
Labels
bug
Something isn't working
emitter:client:python
Issue for the Python client emitter: @typespec/http-client-python
Comments
Tagging @iscai-msft for triage. Thanks! |
markcowl
added
the
emitter:client:python
Issue for the Python client emitter: @typespec/http-client-python
label
Jan 8, 2025
@dargilco can you send over your |
This is what I have in my tspconfig.yaml:
|
github-merge-queue bot
pushed a commit
that referenced
this issue
Jan 10, 2025
#5559) fixes #5528, #5529 --------- Co-authored-by: iscai-msft <[email protected]> Co-authored-by: Yuchao Yan <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
emitter:client:python
Issue for the Python client emitter: @typespec/http-client-python
Describe the bug
The emitter overrides my changes to setup.py, and I was wondering if this can be addressed so I don't have to always
git restore
this file after re-emit. I'm attaching screen shots of the difftool (2 screen shots, but it's one file... I could not get it to fix in one capture):The issues are:
This a minor issue, as I know simply "git restore setup.py" after each re-emit. But wanted to call this out anyway.
Another way to "fix" this is to have an emitter flag that says "don't update setup.py". I'll be happy with that.
Reproduction
See above
Checklist
The text was updated successfully, but these errors were encountered: