Skip to content

fix: module naming and enable testing #2

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

Merged
merged 1 commit into from
Apr 28, 2025
Merged

Conversation

speakeasybot
Copy link
Collaborator

@speakeasybot speakeasybot commented Apr 28, 2025

  1. The following desirable module naming is now supported:
pip install api-client-glean
...
from glean import Glean
  1. Testing has been enabled

@speakeasybot speakeasybot changed the title fix: testing WIP: fix: testing Apr 28, 2025
@speakeasybot speakeasybot changed the title WIP: fix: testing WIP: fix: module name Apr 28, 2025
@@ -1,5 +1,5 @@
[project]
name = "glean"
name = "api-client-glean"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key change

@@ -0,0 +1 @@
pyproject.toml
Copy link
Collaborator Author

@speakeasybot speakeasybot Apr 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means we won't automatically re-generate pyproject.toml going forward. This isn't ideal as it could cause unexpected issues however this is what enables us to have the desired package vs module naming in the short term until a generator config feature is exposed.

@@ -94,7 +93,7 @@ sdk = Glean(

Once that is saved to a file, you can run it with `uv run script.py` where
`script.py` can be replaced with the actual file name.
<!-- End SDK Installation [installation] -->
<!-- No SDK Installation [installation] -->
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@speakeasybot speakeasybot changed the title WIP: fix: module name fix: module name Apr 28, 2025
@speakeasybot speakeasybot force-pushed the fix/testing branch 2 times, most recently from 4fccf3d to 2afe87d Compare April 28, 2025 19:19
@speakeasybot speakeasybot changed the title fix: module name fix: module name and mock server Apr 28, 2025
@speakeasybot speakeasybot changed the title fix: module name and mock server fix: module name and testing Apr 28, 2025
@speakeasybot speakeasybot changed the title fix: module name and testing fix: module name and enable testing Apr 28, 2025
@speakeasybot speakeasybot changed the title fix: module name and enable testing fix: module naming and enable testing Apr 28, 2025
@gleanwork gleanwork deleted a comment from github-actions bot Apr 28, 2025
Copy link

SDK Tests Report

Target Status Report
glean

view report

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.

3 participants