Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/python/importlib_resources

Backport of the importlib.resources module
https://github.com/python/importlib_resources

Remove 'suppress_known_deprecation' helper.

dfe87a6b4712d82dbf2ef8fed8a534058de9d95d authored about 3 years ago by Jason R. Coombs <[email protected]>
Port test_resource to traversable API.

797c097acfb09a37dc0851e0a8c648967bc14dff authored about 3 years ago by Jason R. Coombs <[email protected]>
Exclude legacy from coverage.

5869cf323fae4fe45160801695a7938efe995339 authored about 3 years ago by Jason R. Coombs <[email protected]>
Port test_read to traversable API.

6f35cd3cd9c88ae88a2a8278032a660b9bdbe44f authored about 3 years ago by Jason R. Coombs <[email protected]>
Port test_path to traversable API.

d87a8dde6baf68fc6f3afa730925c29bea477dd9 authored about 3 years ago by Jason R. Coombs <[email protected]>
Port test_open to traversable API.

eda56b310ae801c6778ba1e16cf1bc56a5eb8ed6 authored about 3 years ago by Jason R. Coombs <[email protected]>
Remove tests for relative/absolute paths, no longer relevant. Move normalize_path to _legacy.

bba97e5a3b1d92b39976eead7a02cae37315fab4 authored about 3 years ago by Jason R. Coombs <[email protected]>
Port test_contents to files API

c0a186d4df40ee37687688b3151f9f0a340f0ed4 authored about 3 years ago by Jason R. Coombs <[email protected]>
Remove references to specific Python versions, as this project and CPython are evolving over time.

550ee518136342b156d8fcd7691542d15ba351fa authored about 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #237 from FFY00/avoid-abreviations-in-transversable-docs

abc: avoid abbreviations in the Traversable documentation

1d520314f26b1290969fcadcd3ca824dde5e953f authored about 3 years ago by Jason R. Coombs <[email protected]>
abc: avoid abbreviations in the Traversable documentation

Signed-off-by: Filipe Laíns <[email protected]>

020b3f88007b71c3414d15f8700e90df8fde8f80 authored about 3 years ago by Filipe Laíns <[email protected]>
Fix typos in the Lib directory (GH-28775)

Fix typos in the Lib directory as identified by codespell.

Co-authored-by: Terry Jan Reedy <tjr...

329ae9d5f2c570325ae38ccae1e8b55bd4dc9f0a authored about 3 years ago by Christian Clauss <[email protected]>
Update test_open_binary to match upstream implementation.

57d4e211f38cd3d0e0e5b4b997a77d63b1979c95 authored about 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #236 from python/feature/deprecate-legacy

Deprecate legacy functions

8ac7ab5237ebc62bdb0e474e1d0ac8e6ac709311 authored about 3 years ago by Jason R. Coombs <[email protected]>
Provide references to relevant docs and protocol definition for ease-of-use.

239ae6d56ae545534cf69dc1c91000c620a5f8f7 authored about 3 years ago by Jason R. Coombs <[email protected]>
Add section to the docs guiding the user on how to migrate (relying on the _legacy module as a guide because it's so easy to read).

ed3b2d30e01121b27a6e0d0a8a478a483e437736 authored about 3 years ago by Jason R. Coombs <[email protected]>
Acknowledge and suppress warnings

fda6cb2423e839d0920c2bdafe977eef65309656 authored about 3 years ago by Jason R. Coombs <[email protected]>
Update changelog.

13d42b7ad1376649a45fa86f7baa35dc289aa9e3 authored about 3 years ago by Jason R. Coombs <[email protected]>
Re-implement deprecation as a decorator.

6065e26c049c8323676bee166bd63f101c4f44c2 authored about 3 years ago by Jason R. Coombs <[email protected]>
Emit deprecation warning on legacy functions.

0ad6143b5c50b55396947bb6a9632e7578b93f8d authored about 3 years ago by Jason R. Coombs <[email protected]>
Update changelog.

b665a3ea907d93b1b6457217f34e1bfc06f51fe6 authored about 3 years ago by Jason R. Coombs <[email protected]>
Add compatibility matrix showing relevant versions.

5a735feffae8ba6ffb9670f92013f905b752e771 authored about 3 years ago by Jason R. Coombs <[email protected]>
Remove section of the readme that indicates deferring to stdlib. This project hasn't implemented that behavior for quite some time.

767bc872d6bcefc2923d52ac87eae6d4fe114bb1 authored about 3 years ago by Jason R. Coombs <[email protected]>
Merge tag 'v5.0.7'

30929dc2fce96ed85d5ac55c804b7088799efe07 authored about 3 years ago by Jason R. Coombs <[email protected]>
bpo-45419: Correct interfaces on DegenerateFiles.Path.name and .open.

690b5d680a2c4d7f645f50e31e7a3f271ef3e40a authored about 3 years ago by Jason R. Coombs <[email protected]>
Merge https://github.com/jaraco/skeleton

2c020141021f2a3c3acf9d1307711975eedf3d0f authored about 3 years ago by Jason R. Coombs <[email protected]>
Rely on pytest 6 and drop workaround for pytest-dev/pytest#6178.

5823e9ca9d242b733a5ff3c8e2c22e13ec0a4c01 authored over 3 years ago by Jason R. Coombs <[email protected]>
Test on Python 3.10 (final).

dc43378c8accd85321b42e3fe69fcb87e5266006 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge https://github.com/jaraco/skeleton

0969840366d5c56cb5813a35aec085ea74c1c468 authored over 3 years ago by Jason R. Coombs <[email protected]>
Add intersphinx mappings for Python to prevent spurious nitpicky failures. Fixes jaraco/skeleton#51.

8ea55f2fb26bd77997f0e9435bab2d41376a76d4 authored over 3 years ago by Jason R. Coombs <[email protected]>
Include type annotations from more_itertools, plus define type for 'seen'.

bcb63aeae2c111ce528756b61d0b7d6cdfb1b2bc authored over 3 years ago by Jason R. Coombs <[email protected]>
.editorconfig: Set max_line_length to 88 for Python files.

a76a548d0f25947d2594d36b784d029a6ada977f authored over 3 years ago by Alan Fregtman <[email protected]>
Merge pull request #234 from python/bugfix/as_file-refleak

Avoid file descriptor refleaks in as_file.

64484b7eb528b6d70e12353cb62ff2f91eace6fb authored over 3 years ago by Jason R. Coombs <[email protected]>
Update changelog.

778172d18cdb9a971b7d0418f0d668045588fd60 authored over 3 years ago by Jason R. Coombs <[email protected]>
Avoid file descriptor refleaks in as_file.

b5fd3461a900abd51c4912ca86e81a31318286c2 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge branch 'main' of https://github.com/python/importlib_resources

54a61c457df31c4e0e3ac38aa6ebc6fe1acb671d authored over 3 years ago by Jason R. Coombs <[email protected]>
bpo-38291: DeprecationWarning when importing typing.{io,re}

66ea2dc7eb12b1be2322b7ad002cefb12d364dff authored over 3 years ago by Jason R. Coombs <[email protected]>
bpo-38291: DeprecationWarning when importing typing.{io,re}

87c36efdf27c94ebd3826cd5ac8cf7ece9ffb97b authored over 3 years ago by Jason R. Coombs <[email protected]>
docs/migration: explicitly set binary mode for open() (#231)

open() uses non-binary by default. The equivalent pkg_resources.resource_stream() method opens ...

e7c4baec71d13fb4b05e4910ca2289b4e289cd3a authored over 3 years ago by wwuck <[email protected]>
Remove blacken docs as it cannot honor Python's default repr. Ref asottile/blacken-docs#62.

719a7ced8a1713b7fe94d842a8f6fec7425b8a0a authored over 3 years ago by Jason R. Coombs <[email protected]>
Implement tidelift banner using a Sphinx directive implemented by jaraco.tidelift.

918a415b41225f442d6e9b319ecebff19b52a1a5 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge https://github.com/jaraco/skeleton

ff9283dd8c53a680f49db2c9b869fd222c4a7211 authored over 3 years ago by Jason R. Coombs <[email protected]>
Use line continuations to indicate which exclusions are for which workarounds.

498b965a805224420c8cde5969bf342a41766227 authored over 3 years ago by Jason R. Coombs <[email protected]>
Remove workaround for python/typed_ast#156.

212e995cd366010a8c372ea2fedfbb8be471e5cb authored over 3 years ago by Jason R. Coombs <[email protected]>
Rely on setuptools 56 and drop the explicit mention of the license file in favor of simple discovery.

14787e69e793d68c8ac17f010dc45891ee0a492c authored over 3 years ago by Jason R. Coombs <[email protected]>
Update changelog. Ref #221.

fc2bce91239cb0067e4c4f53ecdd5a48a86417af authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #221 from FFY00/use-files-in-leacy-api

Replace legacy API implementation with files()

5b2a675bab10b88c817ec831bd8096e973c7929f authored over 3 years ago by Jason R. Coombs <[email protected]>
legacy: move legacy API to separate module

Signed-off-by: Filipe Laíns <[email protected]>

e016e668de95f6c4fa76741b5631627cd26d2aef authored over 3 years ago by Filipe Laíns <[email protected]>
Merge https://github.com/jaraco/skeleton

7ff61a32f9d871bea90d2eb5f19e5dc74b361e84 authored over 3 years ago by Jason R. Coombs <[email protected]>
Use shutil for rmtree

5a8384e53c59a886f982739c02572732afa76c7f authored over 3 years ago by Brian Rutledge <[email protected]>
Suppress deprecation warnings in flake8 and packaging.tags. Ref pypa/packaging#433.

85d08db3ef3811bd208995254e7e9c9658cf710d authored over 3 years ago by Jason R. Coombs <[email protected]>
tests: add test for CompatibilityFiles wrap_spec

Signed-off-by: Filipe Laíns <[email protected]>

ef2f7c2f263c3b52d896eab213609f2a94879907 authored over 3 years ago by Filipe Laíns <[email protected]>
tests: add tests for CompatibiltyFiles

Signed-off-by: Filipe Laíns <[email protected]>

97083d2b3eb6a5e9fc91943bf61eeb23fa7134a9 authored over 3 years ago by Filipe Laíns <[email protected]>
use files() api in open_* and read_*

Signed-off-by: Filipe Laíns <[email protected]>

53fc1c6793a019fec1b00843aa78e0cc32a1ee35 authored over 3 years ago by Filipe Laíns <[email protected]>
remove _py3 implementation

Signed-off-by: Filipe Laíns <[email protected]>

c2d85c9ac08a186c88aa7a441c9c5c032034d2bf authored over 3 years ago by Filipe Laíns <[email protected]>
use files() api in is_resource()

The files() api makes the identification of resources blury. Here we
re-implement is_resource() ...

30cf1a9feeb59fa1d38cde0d9f57e9d2812efeb8 authored over 3 years ago by Filipe Laíns <[email protected]>
use files() api in path()

Signed-off-by: Filipe Laíns <[email protected]>

62e905c1cd3c37e73d9661fe67dff595bbbe9fbf authored over 3 years ago by Filipe Laíns <[email protected]>
compat: fix selecting the correct reader if the spec is None

Signed-off-by: Filipe Laíns <[email protected]>

b1c38ab32c72198adb3ee1f8a540cb7beb488a4c authored over 3 years ago by Filipe Laíns <[email protected]>
common: ignore PermissionError in _tempfile

Signed-off-by: Filipe Laíns <[email protected]>

5e8c1d2d0b5b8550623b2410b9f2a26b0e46f1dd authored over 3 years ago by Filipe Laíns <[email protected]>
_adapters: replace DegenerateFiles with CompatibilityFiles

Signed-off-by: Filipe Laíns <[email protected]>

4ff68cfc7ed2b4952c86887a43dc5ad0f8db1bf9 authored over 3 years ago by Filipe Laíns <[email protected]>
use files() API in contents()

Signed-off-by: Filipe Laíns <[email protected]>

bd4d6ffaa8d03159685503f5e728ad567932afbe authored over 3 years ago by Filipe Laíns <[email protected]>
Merge https://github.com/jaraco/skeleton

05ffec95464eec3ef2980e1fffd8669654f9df8f authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge tag 'v5.0.6'

4985175d0443962b8132061e13656e8c0950dc8d authored over 3 years ago by Jason R. Coombs <[email protected]>
⚫ Fade to black.

2319db42640cecab1e84c02b1d89f17c0d595da6 authored over 3 years ago by Jason R. Coombs <[email protected]>
Prefer f-strings

f13c9b6a9a4c0cb04e1a752a5d813ae3fd4bed45 authored over 3 years ago by Jason R. Coombs <[email protected]>
Remove setup_requires, obviated by build-requires in pyproject.toml.

1b165200642e74a4c2acebf7fedb28e732a17881 authored over 3 years ago by Jason R. Coombs <[email protected]>
Expand docstrings and faux-docstrings (boo unittest) to explain purpose of a couple of tests. Rename tests to reflect a more precise purpose.

e1a0b908e3533f1b0d8d373d054fdf522b68a0bc authored over 3 years ago by Jason R. Coombs <[email protected]>
Refactor to remove unreachable branches and rely on 'any' for boolean evaluation.

0b35342259c25c4b934adef3677bbfc5440898f6 authored over 3 years ago by Jason R. Coombs <[email protected]>
Add docstring to CommonTests.execute. No need for raise as it's already an abstract method.

156fc39803da067930d4d8fc9a3c9a78f42eeb88 authored over 3 years ago by Jason R. Coombs <[email protected]>
Update docstrings to give more clarity on the intention of _compat.TraversableResourcesLoader and _compat.wrap_spec (seemingly duplicated). Fixes #227.

1886e2b9d699c55afc1b75dc19e7026ad27e453a authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge branch 'maint/5.0'

1780b1fd2515667cb5f8cc4cab6cc68adc2bacbd authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge branch 'maint/5.0' of https://github.com/python/importlib_resources into maint/5.0

d768f3c7d689e11061d5d22d4c15eb254b64730d authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #224 from FFY00/files-type-hint

_common: add type hint to files()

31e83e1917dc39da27a742366167fe99387af870 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #225 from FFY00.

388c07b2238f3fc23f1f273f89d72e6767191490 authored over 3 years ago by Jason R. Coombs <[email protected]>
_common: add type hint to files()

Fixes #223

Signed-off-by: Filipe Laíns <[email protected]>

910613638ae0b707dab09e39901185257fc4fd6e authored over 3 years ago by Filipe Laíns <[email protected]>
Add changelog.

c18e9678a97b78108bf3b58950371db26a50ea84 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge https://github.com/jaraco/skeleton

c4d228fcd16878b258e1a624cdea6bcfd841f6ae authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge branch 'maint/5.0'

c9ec9ab76d92de58a297c094e61d9fea53733a14 authored over 3 years ago by Jason R. Coombs <[email protected]>
Remove print debugging statement.

c69bda5e6e6feb9adf77c9e82048782867342bec authored over 3 years ago by Jason R. Coombs <[email protected]>
bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25181)

* Fix test_shutil
* Fix test_imp
* Fix test_import
* Fix test_importlib

297e1c35621c513f9f3d92e63e042465ba624a30 authored over 3 years ago by Inada Naoki <[email protected]>
Merge branch 'maint/5.0'

7b680b2378bb4083b348bfe4238551f8fca86141 authored over 3 years ago by Jason R. Coombs <[email protected]>
Update changelog.

a8c2ead8169049052ff56040ea4fe5f9c78ca4b0 authored over 3 years ago by Jason R. Coombs <[email protected]>
Make MultiplexedPath.name a property

Closes #216

f4078e850d70d040b437da65327c975ed7dfccd9 authored over 3 years ago by Andreas Poehlmann <[email protected]>
Add test for propery MultiplexedPath.name

1ffbf65d871af227344adf2e6dc93b1109a84439 authored over 3 years ago by Andreas Poehlmann <[email protected]>
Test on Python 3.10

4a734d4841b0ad5fddad3c2524e512f608c82d74 authored over 3 years ago by Jason R. Coombs <[email protected]>
compat: fix zip traversables raise KeyError instead of FileNotFoundError on open

The fix[1] is available on zipp 3.1.0 and/or Python 3.10.

[1] https://github.com/jaraco/zipp/co...

0a888d8532c7941744494dbd43320476a40eda64 authored over 3 years ago by Filipe Laíns <[email protected]>
Update changelog.

a024adf2c5235218aeb6d90817fe93b4e63496b9 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #220 from FFY00/test-contents

tests: add test for contents()

e4d963164b4e4112fd48e69d93cd42bb4e5001fd authored over 3 years ago by Jason R. Coombs <[email protected]>
Consolidate some behavior and re-use 'set' comparison for less strict unordered comparisons.

d901af0d908053d11db556c7755dbce32e9d1311 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #222 from python/feature/unique-everseen

Implement MultiplexedPath.iterdir using 'unique_everseen'

064fa8937810019bfedf78c9e370f12a99bb88fd authored over 3 years ago by Jason R. Coombs <[email protected]>
Exclude _itertools from coverage.

47938b7c671323ac8ec4f46e19f2b19004b88018 authored over 3 years ago by Jason R. Coombs <[email protected]>
Implement MultiplexedPath.iterdir using 'unique_everseen'.

0373285df9c5ee8975dd75b22de5066bf10bffc8 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge https://github.com/jaraco/skeleton

b29f48ea98f77e665af8abb6a06ae938188e719c authored over 3 years ago by Jason R. Coombs <[email protected]>
Copy coverage omit definition from importlib_metadata.

427d61c3e47da93710f632cc85e8454667b4c9d2 authored over 3 years ago by Jason R. Coombs <[email protected]>
Correct typo in traversable

3b810fb1cb4ee811172ee834cdba11bccb484de4 authored over 3 years ago by Jason R. Coombs <[email protected]>
Merge pull request #219 from FFY00/test-namespace

Add tests for namespace packages in files and read APIs

e3b5f8d8ea86c8e14edfe98129c96532e54a5a25 authored over 3 years ago by Jason R. Coombs <[email protected]>
tests: add test for contents()

Signed-off-by: Filipe Laíns <[email protected]>

fdd54356ceba126d5dfda0925ffa6195b729697f authored over 3 years ago by Filipe Laíns <[email protected]>
tests/read: add test for namespace packages

Signed-off-by: Filipe Laíns <[email protected]>

556ffa57bc30aefaf404e7bffae393ef9853c013 authored over 3 years ago by Filipe Laíns <[email protected]>
tests/files: add test for namespace packages

Signed-off-by: Filipe Laíns <[email protected]>

ef37d6df1bc7974e3dd54b4ea46c497e2f34a408 authored over 3 years ago by Filipe Laíns <[email protected]>
Make sphinx fail on any warnings (#36)

This change adds `nitpicky=True` (which is an equivalent of `-n`) to
make Sphinx emit warnings ...

8698127dbd17b47d1d07e35bee3725fecb69670b authored over 3 years ago by Sviatoslav Sydorenko <[email protected]>