Skip to content

fix: remove test command and related code from setup.py #203

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
Jul 29, 2024

Conversation

pyrooka
Copy link
Member

@pyrooka pyrooka commented Jul 29, 2024

The test command and related function were deprecated for 5 years
and it seems the time has come: setuptools maintainers removed it
yesterday and that move has broken a bunch of Python packages
including this. After looking into several documentations and our source
code, I think the right thing to do - instead of making a workaround - is
completely removing it from our setup.py file as it hasn't been used for
a long time - correct me if I am wrong here and missed something!!
Some details:

@pyrooka pyrooka force-pushed the nb/remove-setuptools-test branch from 7a33d40 to 9a8366f Compare July 29, 2024 12:11
@pyrooka pyrooka marked this pull request as ready for review July 29, 2024 12:40
@pyrooka pyrooka requested a review from padamstx July 29, 2024 13:23
@pyrooka pyrooka self-assigned this Jul 29, 2024
Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

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

Looks good, but just had a question to be addressed before merging

@pyrooka pyrooka merged commit bd44dd1 into main Jul 29, 2024
4 checks passed
@pyrooka pyrooka deleted the nb/remove-setuptools-test branch July 29, 2024 18:23
ibm-devx-sdk pushed a commit that referenced this pull request Jul 29, 2024
## [3.20.4](v3.20.3...v3.20.4) (2024-07-29)

### Bug Fixes

* remove test command and related code from `setup.py` ([#203](#203)) ([bd44dd1](bd44dd1))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 3.20.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

pyrooka added a commit to IBM/platform-services-python-sdk that referenced this pull request Jul 29, 2024
This commit removes an unused `setuptools` import from the `setup.py`
file. More details about the `setuptools` mess can be found in the following
PR: IBM/python-sdk-core#203 

Signed-off-by: Norbert Biczo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants