Adam J. Stewart

Results 1289 comments of Adam J. Stewart

Dug a bit deeper into this thanks to the help of @wdconinc. When you build Python, you have 3 options: * `--with-ensurepip=upgrade` (default) * `--with-ensurepip=install` * `--without-ensurepip` It looks like...

> Are you manipulating the PYTHONPATH in Spack? Yes, we are manipulating `PYTHONPATH` in Spack. Spack installs all Python libraries to separate installation prefixes, so `PYTHONPATH` is required to locate...

Thanks for the detailed diagnosis @layday. I think you're right, this is not an issue of how Python was built, but whether or not pip is present in `PYTHONPATH`. I...

For anyone else who runs into this problem, the following minimal patch solved it for me: ```patch --- a/src/build/env.py 2021-09-16 16:20:01.000000000 -0500 +++ b/src/build/env.py 2022-01-23 15:08:26.000000000 -0600 @@ -254,6 +254,7...

We just ran into this as well. [TorchGeo](https://github.com/microsoft/torchgeo) uses rtree to store a database of raster file bounding boxes. However, if you try to use a parallel data loader, the...

Update: I found a hack to make this work: #197. I don't like it, but it's better than nothing.

Type hints were first added to Python 3.5. There have been a lot of improvements since then, but if you need to maintain support for Python 3.5 or 3.6, it...

@samgans I'm adding type hints to many (but not all) functions/classes in #215. Let me know if you want to help. I can also finish the major classes and let...

#215 has now been merged. There's definitely still a lot of functions that need type hints added to them, but the majority of user-facing functions now have type hints. @samgans...