aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* generate_man_rsts: improve sub sectioning for sub commandsArthur Zamarin2022-12-091-6/+6
| | | | | | Improve tree structure for sub commands. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* mark distutils_extensions as deprecatedArthur Zamarin2022-12-091-0/+3
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Add constraint satisfaction problem solverArthur Zamarin2022-12-092-0/+260
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.10.4Arthur Zamarin2022-11-191-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.10.3v0.10.3Arthur Zamarin2022-11-151-0/+6
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dist.sphinxext: new sphinx extensionArthur Zamarin2022-11-115-112/+133
| | | | | | | Small sphinx extension to generate docs from argparse scripts. Simplifies all `conf.py` across all pkgcore stack. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.10.3Arthur Zamarin2022-11-081-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.10.2v0.10.2Arthur Zamarin2022-11-081-0/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* drop pypy-3.8 supportArthur Zamarin2022-11-081-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Makefile: cleanup and improveArthur Zamarin2022-11-081-17/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* drop py3.8 supportArthur Zamarin2022-11-082-6/+5
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pyproject.toml: depend on flit_core >=3.8Arthur Zamarin2022-11-081-3/+3
| | | | | | Makes it cleaner pyproject.toml and less error prone. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* release.yml: update actions/setup-python to v4Arthur Zamarin2022-11-031-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pyproject.toml: fix the wheel tagArthur Zamarin2022-11-021-1/+1
| | | | | | | When using ~=, it still thinks that py2 tag is correct. With using >=, flit tags it as just py3. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* snakeoil/test/*.py: fix f-stringsArthur Zamarin2022-11-012-6/+6
| | | | | Fixes: 7aed9341485ee53c0784df9e2982338e1ec271f2 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* snakeoil.test.eq_hash_inheritance: fix pytest warningArthur Zamarin2022-11-011-1/+1
| | | | | | | | Usage of `setup` function is deprecated by pytest (was added as compatibility layer for nose). Fix the warning by using correct name - `setup_method`. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* compression: tidy up bzip2 docsSam James2022-10-101-3/+3
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/snakeoil/pull/84 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* compression: add parallel xz supportSam James2022-10-106-81/+225
| | | | | | 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 testsArthur Zamarin2022-10-105-39/+121
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* compression/_bzip2: add testsArthur Zamarin2022-10-106-12/+168
| | | | | | | Add tests for all modes used by compression._bzip2 to compress and decompress data. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: use deploy using github actions instead of branchArthur Zamarin2022-10-041-7/+26
| | | | | | | Using a branch is broken when using the mirroring. So use straight deployment using github actions. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on v0.10.2Arthur Zamarin2022-09-301-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.10.1v0.10.1Arthur Zamarin2022-09-302-1/+15
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* refactor to use f-stringsArthur Zamarin2022-09-2610-36/+25
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* move `DemandLoadTargets` to testsArthur Zamarin2022-09-262-33/+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 Zamarin2022-09-252-50/+0
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fileutils: remove unused `UnbufferedWriteHandle`Arthur Zamarin2022-09-241-17/+1
| | | | | | | Not used anywhere, without tests. If needed, use `io.TextIOWrapper` with `write_through=True` argument. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fileutils: remove deprecated `write_file`Arthur Zamarin2022-09-244-41/+19
| | | | | | | | 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 Zamarin2022-09-242-60/+35
| | | | | | | 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 Zamarin2022-09-193-95/+78
| | | | | Revert: b4658d2ebfe9d929ba9cc93e84a93c0ac2d399c7 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* dist.distutils_extensions: fix _verinfo.py fileArthur Zamarin2022-09-191-1/+3
| | | | | Fixes: 40b46fc3cc8200727e9198b7ab179da21d28da67 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* version: refactor the codeArthur Zamarin2022-09-183-81/+96
| | | | | | | | - 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>
* new release 0.10.0v0.10.0Arthur Zamarin2022-09-181-0/+35
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* move to flit & makefileArthur Zamarin2022-09-1816-88/+81
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* version: fix env for traversalArthur Zamarin2022-09-181-1/+1
|
* version: better locale protection around running gitArthur Zamarin2022-09-181-1/+5
| | | | | Bug: https://bugs.gentoo.org/869878 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* docs: cleanup and fix warningsArthur Zamarin2022-08-279-88/+69
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* test: remove TestCaseArthur Zamarin2022-08-272-283/+10
| | | | | | | - final user (pkgcore) has been cleaned - also clean other parts that are unused Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* build: simplify after cython removalArthur Zamarin2022-08-247-23/+3
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* remove mk_cpy_loadable_testcaseArthur Zamarin2022-08-242-44/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* remove mentions of _readdir C extensionArthur Zamarin2022-08-242-45/+14
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* remove cython _posix.pyxArthur Zamarin2022-08-245-375/+4
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* remove cython _sequences.pyxArthur Zamarin2022-08-244-105/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* test/mixins.py: remove TempDirMixin & tempdir_decoratorArthur Zamarin2022-08-241-33/+0
| | | | | | | | All last usages of TempDirMixin (in pkgcore) were removed, so finally we can remove it. Same story with tempdir_decorator. If someone needs it, please use ``tmp_path`` pytest fixture. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* data_source: modernize testsArthur Zamarin2022-08-242-50/+39
| | | | | | | | - 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_writableArthur Zamarin2022-08-242-41/+16
| | | | | | | | | 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/*.py: various modernization of codeArthur Zamarin2022-08-246-40/+35
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* klass: add typing for jit_attrArthur Zamarin2022-08-241-8/+9
| | | | | | | This makes the life of type inferring tools much easier and precise, as a result it works better in IDEs. Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* klass: small refactorArthur Zamarin2022-08-241-20/+15
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* set next version as 0.10.0Arthur Zamarin2022-08-241-1/+1
| | | | | | | I'm going to remove various parts, so it would be breaking changes, so time to bump major version Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>