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

[Bug]: Python emitter overrides my _version.py file #5529

Open
4 tasks done
dargilco opened this issue Jan 8, 2025 · 1 comment
Open
4 tasks done

[Bug]: Python emitter overrides my _version.py file #5529

dargilco opened this issue Jan 8, 2025 · 1 comment
Labels
bug Something isn't working emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Comments

@dargilco
Copy link
Member

dargilco commented Jan 8, 2025

Describe the bug

I have to "git restore" the _version.py file after each re-emit of the SDK, because it keeps bringing the version that is defined in TypeSpec, instead of keeping what was already there. We have different SDKs (programming languages) that have different versions. So, the version in TypeSpec is meaningless. An emitter flag to not update _version.py would be helpful.

Reproduction

See above

Checklist

@dargilco dargilco added the bug Something isn't working label Jan 8, 2025
@dargilco
Copy link
Member Author

dargilco commented Jan 8, 2025

Tagging @iscai-msft for triage. Thanks!

@markcowl markcowl added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Jan 8, 2025
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
Projects
None yet
Development

No branches or pull requests

2 participants