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: Move tests under ldclient namespace (#29) #283

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

keelerm84
Copy link
Member

Previous distributions of this package included two packages -- ldclient and testing. This top level testing namespace can conflict with other packages. In fact, it conflicts with our own eventsource library.

In general this doesn't matter, but it may if:

  1. You are using a build process that warns about conflicts (see this issue)
  2. You want to install the sdist on an unsupported platform and would like to be able to verify the tests.

To resolve this issue, we are moving the testing folder into the ldclient package. These testing files will only be included in the sdist format. This allows for a smaller wheel size while also allowing for flexibility with consumers.

@keelerm84 keelerm84 requested a review from a team April 4, 2024 17:50
Copy link

This pull request has been linked to Shortcut Story #239226: Deal with test package collision.

@keelerm84 keelerm84 force-pushed the mk/sc-239231/fix-build branch 4 times, most recently from e26c863 to 1d58c87 Compare April 4, 2024 19:54
Base automatically changed from mk/sc-239231/fix-build to main April 4, 2024 20:16
Previous distributions of this package included two packages -- ldclient
and testing. This top level testing namespace can conflict with other
packages. In fact, it conflicts with our own eventsource library.

In general this doesn't matter, but it may if:

1. You are using a build process that warns about conflicts (see [this
   issue][1])
2. You want to install the sdist on an unsupported platform and would
   like to be able to verify the tests.

To resolve this issue, we are moving the testing folder into the
ldclient package. These testing files will only be included in the sdist
format. This allows for a smaller wheel size while also allowing for
flexibility with consumers.

[1]: #281
@keelerm84 keelerm84 force-pushed the mk/sc-239226/fix-python-packaging branch from 5dccb43 to 6a71a0a Compare April 4, 2024 20:16
@keelerm84 keelerm84 merged commit c7d367a into main Apr 4, 2024
11 checks passed
@keelerm84 keelerm84 deleted the mk/sc-239226/fix-python-packaging branch April 4, 2024 20:26
keelerm84 pushed a commit that referenced this pull request Apr 5, 2024
🤖 I have created a release *beep* *boop*
---


##
[9.3.1](9.3.0...9.3.1)
(2024-04-04)


### Bug Fixes

* Move tests under ldclient namespace
([#29](#29))
([#283](#283))
([c7d367a](c7d367a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants