Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | reformat with black 24 | Arthur Zamarin | 2024-01-26 | 3 | -15/+20 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | Reformat with black 23.1.0 | Arthur Zamarin | 2023-03-24 | 16 | -33/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | fileutils: small cleanup and modernization | Arthur Zamarin | 2022-12-31 | 2 | -10/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | fix TestArComp::test_missing_tar when gtar is installed | Arthur Zamarin | 2022-12-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | remove osutils.native_readdir.listdir | Arthur Zamarin | 2022-12-25 | 1 | -7/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | Reformat w/ black 22.12.0 for consistency. | Brian Harring | 2022-12-25 | 33 | -1307/+1567 |
| | | | | | Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | Add constraint satisfaction problem solver | Arthur Zamarin | 2022-12-09 | 1 | -0/+62 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | compression: add parallel xz support | Sam James | 2022-10-10 | 4 | -73/+142 |
| | | | | | | Closes: https://github.com/pkgcore/snakeoil/issues/83 Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | compression.__init__: add tests | Arthur Zamarin | 2022-10-10 | 3 | -9/+100 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | compression/_bzip2: add tests | Arthur Zamarin | 2022-10-10 | 2 | -0/+141 |
| | | | | | | | Add tests for all modes used by compression._bzip2 to compress and decompress data. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | move `DemandLoadTargets` to tests | Arthur Zamarin | 2022-09-26 | 1 | -3/+29 |
| | | | | | | | Used only in tests, which test `mixins.PythonNamespaceWalker`, meaning I can't just remove it. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | descriptors: remove unused `classproperty` | Arthur Zamarin | 2022-09-25 | 1 | -16/+0 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | fileutils: remove deprecated `write_file` | Arthur Zamarin | 2022-09-24 | 2 | -24/+17 |
| | | | | | | | | Last usage was removed, so we can remove the function as well. In most cases, like tests, you can use `Path.write_text` or `Path.write_bytes` instead. If not in tests, just use `open` and `write`. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | test/mixins: remove `mk_named_tempfile` | Arthur Zamarin | 2022-09-24 | 1 | -51/+34 |
| | | | | | | | Last usage was removed, so we can remove the function as well. For tests just use normal `tmp_path / [filename]` instead. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | Revert "dist.distutils_extensions: fix _verinfo.py file" | Arthur Zamarin | 2022-09-19 | 1 | -43/+33 |
| | | | | | Revert: b4658d2ebfe9d929ba9cc93e84a93c0ac2d399c7 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | version: refactor the code | Arthur Zamarin | 2022-09-18 | 1 | -33/+43 |
| | | | | | | | | - make it to use standard ISO 8601 dates - use namedtuple for easier usage of this type - use datetime objects for better handling of dates Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | remove mk_cpy_loadable_testcase | Arthur Zamarin | 2022-08-24 | 1 | -6/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | remove mentions of _readdir C extension | Arthur Zamarin | 2022-08-24 | 1 | -38/+13 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | remove cython _posix.pyx | Arthur Zamarin | 2022-08-24 | 1 | -48/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | remove cython _sequences.pyx | Arthur Zamarin | 2022-08-24 | 1 | -19/+4 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | data_source: modernize tests | Arthur Zamarin | 2022-08-24 | 1 | -43/+31 |
| | | | | | | | | - use `with` semantics for file-handlers usage - use Path for `self.dir` - use b'' for bytes-literals Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | stringio: remove text_writable & bytes_writable | Arthur Zamarin | 2022-08-24 | 1 | -26/+2 |
| | | | | | | | | | Was already marked for deprecation, but not yet removed. Use instead io.StringIO and io.BytesIO. Also use metaclass for _make_ro_cls. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | test_obj.py: (py3.11) add __getstate__ to knowledge | Arthur Zamarin | 2022-08-08 | 1 | -4/+4 |
| | | | | | | | In python 3.11, the function `object.__getstate__()` was added, so we should add it to the ignore list. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | tests: mark Namespace tests as XFAIL on PyPy | Arthur Zamarin | 2022-07-30 | 1 | -0/+2 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | tests: skip failing SplitExec tests on github CI | Arthur Zamarin | 2022-07-30 | 1 | -0/+1 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | osutils: simplify sizeof_fmt() and fix handling sizes > 1000 YB | Michał Górny | 2022-06-13 | 1 | -3/+2 |
| | |||||
* | osutils: add tests for sizeof_fmt() | Michał Górny | 2022-06-13 | 1 | -1/+24 |
| | |||||
* | tests: remove RandomPath fixture | Arthur Zamarin | 2022-05-19 | 1 | -23/+27 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | tests: remove TempDir fixture | Arthur Zamarin | 2022-05-19 | 6 | -256/+252 |
| | | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> | ||||
* | PyPy support | Arusekk | 2021-12-14 | 3 | -1/+7 |
| | |||||
* | sequences: drop namedtuple support | Tim Harder | 2021-03-28 | 1 | -39/+2 |
| | | | | | It's not worth maintaining our own implementation anymore since we don't use it. | ||||
* | sort imports with isort | Tim Harder | 2021-03-28 | 26 | -46/+20 |
| | |||||
* | osutils: drop old, unused FsLock related support | Tim Harder | 2021-03-22 | 1 | -90/+0 |
| | |||||
* | tests: ignore bind mount failure for priv limited docker wheel builds | Tim Harder | 2021-03-20 | 1 | -2/+2 |
| | |||||
* | caching: drop refs to removed cpy extension | Tim Harder | 2021-03-15 | 1 | -173/+155 |
| | |||||
* | cli.arghparse: drop overly fragile CopyableParser | Tim Harder | 2021-03-15 | 1 | -139/+0 |
| | | | | | This is breaking with python-3.10 and really copyable support should be added upstream if it's wanted/needed. | ||||
* | weakrefs: drop old WeakValCache support | Tim Harder | 2021-03-15 | 1 | -73/+0 |
| | |||||
* | process: drop unused is_running() | Tim Harder | 2021-03-15 | 1 | -40/+0 |
| | |||||
* | mappings: OrderedFrozenSet: support slice notation | Tim Harder | 2021-03-09 | 1 | -0/+1 |
| | |||||
* | tests: move to main repo root dir | Tim Harder | 2021-03-04 | 33 | -0/+0 |
| | |||||
* | version: don't display missing extended version message | Tim Harder | 2021-03-03 | 1 | -12/+8 |
| | | | | For released versions. | ||||
* | tests: various caching_iter test updates | Tim Harder | 2021-02-18 | 1 | -20/+14 |
| | |||||
* | formatters: rename TerminfoHatesOurTerminal to TerminfoUnsupported | Tim Harder | 2021-01-31 | 1 | -2/+2 |
| | |||||
* | formatters: drop 'native' prefixes and simplify parent __init__() calls | Tim Harder | 2021-01-31 | 1 | -13/+2 |
| | |||||
* | mappings: fix OrderedFrozenSet __getitem__() | Tim Harder | 2020-12-29 | 1 | -1/+1 |
| | |||||
* | mappings: add initial, simple indexing support for OrderedFrozenSet | Tim Harder | 2020-12-29 | 1 | -0/+7 |
| | | | | | Since it's ordered, it inherently can support indexing unlike regular, unordered sets. | ||||
* | mappings: support reversed() for ImmutableDict and OrderedFrozenSet | Tim Harder | 2020-12-17 | 1 | -1/+3 |
| | |||||
* | mappings: add initial OrderedFrozenSet implementation | Tim Harder | 2020-12-15 | 1 | -9/+54 |
| | | | | Which is an immutable OrderedSet. | ||||
* | klass: drop 'native' prefixes | Tim Harder | 2020-12-14 | 1 | -62/+10 |
| | | | | | While C extensions might return at some point, we're not going duplicate effort anymore by having both cpy and native implementations. | ||||
* | OrderedSet: implement __repr__() | Tim Harder | 2020-12-13 | 1 | -0/+1 |
| |