Jason R. Coombs

Results 1062 comments of Jason R. Coombs

Closing as languishing, but feel free to revive the conversation.

I encountered this issue again today in pypa/setuptools@8c21342040f7d41088d6db91df5c32c2936de3a0. That diff was created by running a recent black. On line 859 (original line 786), there's a `# noqa` directive (employed flake8...

In jaraco.context 4.2, I added the [on_interrupt decorator](https://jaracocontext.readthedocs.io/en/latest/index.html#jaraco.context.on_interrupt), which could be used in conjunction with autocommand: ``` @autocommand.autocommand(__name__) @jaraco.context.on_interrupt('error') def main(...): ... ``` It also could be used with other...

This issue means pytest-flake8 is unusable on Python 3.12, as flake8

I see that this project was almost abandoned earlier this year and even had a PEP 541 request (https://github.com/pypa/pypi-support/issues/1584) to hand off ownership. I'm going to file a separate issue...

Confirmed with `.dev8`, the issue is resolved: ``` $ py -3.11 -m pip-run https://github.com/pygame/pygame/releases/download/2.1.3.dev8/pygame-2.1.3.dev8-cp311-cp311-macosx_11_0_arm64.whl -- -c "import pygame; pygame.init(); pygame.joystick.init(); print(pygame.joystick.get_count())" pygame 2.1.3.dev8 (SDL 2.0.22, Python 3.11.1) Hello from the...

See jaraco/jaraco.packaging#11 where an affected user contributed to `jaraco.packaging` to elicit an environment variable to override the behavior and avoid attempting to do a build while offline. Unfortunately, that patch...

One possible recommendation could be for these downstream consumers to keep build isolation and network isolation but to provide a server or directory of the dependencies (for an isolated build...

> If `build` doesn't want to offer this functionality, maybe I'll write a pytest plugin that monkeypatches `build.load_metadata` for all offline users. I realized a pytest plugin won't work, because...

This issue is addressed by [jaraco.packaging >=9.5](https://pypi.org/project/jaraco.packaging) in `jaraco.packaging.metadata.load`. Set `BUILD_ENVIRONMENT=current` and then invoke the tests/docs and the metadata will bypass the isolated build when loading metadata.