Jason R. Coombs

Results 1062 comments of Jason R. Coombs

Now that ruff has merged a fix, we know the long-term strategy, but there's still an issue for consumers. In particular, setuptools is still pinned against pytest-ruff 0.4. Once the...

This issue also affecting pypa/setuptools#4533.

~~Somehow, this error has turned from a warning into an error.~~ Correction, the warning is emitted the same as always. It was a different warning that's surfaced.

Still, it would be nice to see this EncodingWarning fixed so that it's not a red herring when investigating other issues.

I tried suppressing the errors by putting this in the `docs` job for `tox`: ``` env = # suppress sphinx-contrib/sphinxcontrib-towncrier#91 PYTHONWARNINGS= ignore:'encoding' argument not specified ``` But it did not...

To add some color to this discussion, I'm working on a build/test [system](https://bit.ly/coherent-system) that aims to move a lot of the project configuration into tooling and infrastructure. It assumes that...

Here is the code that Setuptools (and also distutils) uses to [rewrite shebangs](https://github.com/pypa/setuptools/blob/6ee23bf0579c52e1cbe7c97fc20fd085ff2a25c7/setuptools/_distutils/command/build_scripts.py#L104-L123). It looks like it constructs the executable from sysconfig variables BIN_DIR, VERSION, and EXE. It's conceivable pip...

Confirmed, now setuptools [specifically sets the executable](https://github.com/pypa/setuptools/blob/56fc3111ba97470d81bf98b1be997dcf791d4a5a/setuptools/command/bdist_wheel.py#L377) to "python". That could make it easier to possibly converge the behavior, although it may still prove impractical to know what's the best...

Sorry. I didn't mean to confuse. I don't believe anything _changed_ with setuptools, except where the code for setting the executable for non-editable builds is found (formerly wheel, now embedded...

Setuptools 76 implements the proposed change. Can you confirm that it addresses this issue?