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 ld_eventsource namespace #29

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

keelerm84
Copy link
Member

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

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
ld_eventsource 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 14:36
Copy link

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

@keelerm84 keelerm84 force-pushed the mk/sc-239226/fix-python-packaging branch 2 times, most recently from 6e2d363 to 7bb69a0 Compare April 4, 2024 14:54
Previous distributions of this package included two packages --
ld_eventsource and testing. This top level testing namespace can
conflict with other packages. In fact, it conflicts with our own SDK.

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
ld_eventsource 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]: launchdarkly/python-server-sdk#281
@keelerm84 keelerm84 force-pushed the mk/sc-239226/fix-python-packaging branch from 7bb69a0 to d7d12c8 Compare April 4, 2024 16:50
@keelerm84 keelerm84 merged commit 74a41db into main Apr 4, 2024
11 checks passed
@keelerm84 keelerm84 deleted the mk/sc-239226/fix-python-packaging branch April 4, 2024 17:12
keelerm84 pushed a commit that referenced this pull request Apr 4, 2024
🤖 I have created a release *beep* *boop*
---


##
[1.2.0](1.1.1...1.2.0)
(2024-04-04)


### Features

* Drop support for python 3.7
[#30](#30)
([4372af2](4372af2))


### Bug Fixes

* Move tests under ld_eventsource namespace
([#29](#29))
([74a41db](74a41db))


### Documentation

* Fix broken formatting
([#27](#27))
([eb8fbd2](eb8fbd2))

---
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