Shantanu

Results 150 issues of Shantanu

This is mostly just a rebased version of https://github.com/benbjohnson/litestream/pull/459 I also add support for the default Azure credential flow Co-authored-by: ItalyPaleAle

The latest version of msal can open sockets at import time as part of DNS resolution This is from https://github.com/AzureAD/microsoft-authentication-library-for-python/commit/95ccef07ca9f806ab51e9a04e40826c9c8e897bb#diff-24c0727ff4626c6c535d05c13b61fa4b4a47d6fc4496ec0ceadc734191de19cbR128 cc @rayluo

question

Note this will change if we add or remove modules from the standard library. We could alternatively hardcode a list of standard library modules.

This would catch bugs like: ``` shards = [[]] * 10 for obj in objects: shards[hash(obj) % 10].append(obj) ```

rule

See also https://iscinumpy.dev/post/bound-version-constraints/ The workaround here is unnecessary (discussed in https://github.com/google/magika/issues/43). Since numpy declares python_requires, pip's resolver will automatically discard newer numpy solutions when installing on Python 3.8. This also...

python

Resolves #6555

documentation
enhancement

This would be a one liner you could add that to make most scripts 99% reproducible using uv's awesome `--exclude-newer`

documentation
question

I found the API reference weirdly hard to find, since it's not on the Table of Contents in https://grantjenks.com/docs/diskcache/

For various reasons, I have a preference for out of tree virtual environments. Things just work if I symlink, but I don't know that this is guaranteed, so I thought...

## Are there changes in behavior for the user? No ## Checklist - [x] I think the code is well written - [x] Unit tests for the changes exist -...