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

Not compatible with setuptools v72 #138

Open
fedepad opened this issue Jul 29, 2024 · 2 comments · May be fixed by #139 or #140
Open

Not compatible with setuptools v72 #138

fedepad opened this issue Jul 29, 2024 · 2 comments · May be fixed by #139 or #140

Comments

@fedepad
Copy link

fedepad commented Jul 29, 2024

Hi, thanks for this package.
I was just hit by: pypa/setuptools#4519 and it looks setuptools v72 doesn't have setuptools.command.test anymore.
This package is affected by it.
Here the stacktrace:

8.047   Downloading intervaltree-3.1.0.tar.gz (32 kB)
8.076   Preparing metadata (setup.py): started
8.288   Preparing metadata (setup.py): finished with status 'error'
8.294   error: subprocess-exited-with-error
8.294
8.294   × python setup.py egg_info did not run successfully.
8.294   │ exit code: 1
8.294   ╰─> [6 lines of output]
8.294       Traceback (most recent call last):
8.294         File "<string>", line 2, in <module>
8.294         File "<pip-setuptools-caller>", line 34, in <module>
8.294         File "/tmp/pip-install-qnq42f2u/intervaltree_199a4c9e333343e6955868e022c9580e/setup.py", line 32, in <module>
8.294           from setuptools.command.test import test as TestCommand
8.294       ModuleNotFoundError: No module named 'setuptools.command.test'
8.294       [end of output]
8.294
8.294   note: This error originates from a subprocess, and is likely not a problem with pip.
8.329 error: metadata-generation-failed
8.329
8.329 × Encountered error while generating package metadata.
8.329 ╰─> See above for output.
8.329
8.329 note: This is an issue with the package mentioned above, not pip.
8.329 hint: See above for details.

Best!

@f3rn0s f3rn0s linked a pull request Jul 29, 2024 that will close this issue
@nazimisik nazimisik linked a pull request Jul 29, 2024 that will close this issue
facebook-github-bot pushed a commit to facebook/pyre-check that referenced this issue Jul 29, 2024
Summary:
**Pre-submission checklist**
- [ x] I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running `pip install -r requirements-dev.txt && pre-commit install`
- [x ] `pre-commit run`

the library intervaltree seems to be not anymore used in the codebase but still defined as a dependency currently the latest version is broken chaimleib/intervaltree#138

solves #902

Pull Request resolved: #901

Reviewed By: stroxler

Differential Revision: D60394186

Pulled By: samwgoldman

fbshipit-source-id: b6fd3b004437b5bd4283cbf87891cb454856d2e2
@nazimisik
Copy link

setuptools newest version also helps, no need to wait for the new release now

@jo-bitsch
Copy link

while the newest version of setuptools (v72.1.0) reinstates the test command, it is still deprecated. So a new release might not be as urgent for now as it may have seemed yesterday. However, a new version is still needed at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants