aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* arghparse: fix compatibility with Python 3.12.7HEADv0.10.9masterArthur Zamarin2024-10-023-1/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.10.8v0.10.8Arthur Zamarin2024-04-081-0/+5
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* arghparse: fix handling with python 3.11.9Arthur Zamarin2024-04-081-1/+1
| | | | | | | | | | | | | | | In commit [0], the private function changes the tuple size it returns. By using `*_` in the middle, we can support both extracted versions (3 and 4) of the function. This investigation was done by ajak, thank you. [0] https://github.com/python/cpython/commit/c02b7ae4dd367444aa6822d5fb73b61e8f5a4ff9 Resolves: https://github.com/pkgcore/pkgcheck/issues/676 Resolves: https://github.com/pkgcore/pkgdev/issues/184 Investigated-by: John Helmert III <ajak@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.10.8Arthur Zamarin2024-01-261-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.10.7v0.10.7Arthur Zamarin2024-01-261-0/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* doc/conf.pt: update year + intersphinx_mappingArthur Zamarin2024-01-261-2/+4
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix(sphinx_ext): email is optional.Brian Harring2024-01-261-3/+13
| | | | | | | | | | | | | | | It's not obvious, but both name and email are optional for authors. NFC what one does with an author field lacking both, but that's for the PEP authors to resolve. We have authors in the pkgcore project that don't have email listed, which now breaks html generation. Thus this change. The only hanky point here is that if it's just email, we output that w/out the usual `<{email}>` brackets per standards. Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: fix doc.ymlArthur Zamarin2024-01-261-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: bump dependenciesArthur Zamarin2024-01-263-9/+16
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* git-blame-ignore-revs: ignore black 24 formatArthur Zamarin2024-01-261-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* reformat with black 24Arthur Zamarin2024-01-2613-34/+25
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* authors: Add myself to the list.Brian Harring2024-01-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While I'm at it, I pulled the current *rough* breakdown of who owns what copyright; per the other commits in the pkgcore ecosystem, this is primarily to ensure folks get called out, and to also give a touchpoint should there ever again need to be a license change (which requires all owners to sign off on it, something that was done for gpl2 -> bsd). Current list: ``` ferringb@frith ~/gentoo/snakeoil $ git ls-files | xargs -n1 git blame -ew | cut -d\< -f2 | cut -d@ -f1 | sort -g | uniq -c | sort -gr 10393 ferringb 8536 radhermit 1409 arthurzam 171 sam 114 mgorny 73 vapier 21 marien.zwart ``` Vapier/Spanky was pylint changes, sam/mgorny can add themselves when they feel appropriate. Marienz actually created the formatter classes and had involvement in tests, although I can't state how much is there but my recollection is outside of formatters, nothing but one off bug fixes. For better or worse, snakeoil was my creation and ownership of some of that metaprogramming crazyness in use. If there was anyone overlooked (due to VCS historical issues) or neglected, apologies in advance. Per other commits, >15 years, etc, etc, etc. Signed-off-by: Brian Harring <ferringb@gmail.com>
* History: add rev suppression for commits that bulk moved files.Brian Harring2024-01-241-0/+6
| | | | | | | | | | | | The point here is to be able to pull the full history for a change rather than losing the thread because folks moved files around. Some of this code is old enough to vote, so knowing why something was done back in py2.2 era matters. This is also useful for un-obscuring some of the original authors for double checking no major holder is being dropped. Signed-off-by: Brian Harring <ferringb@gmail.com>
* update python version in various placesArthur Zamarin2024-01-193-18/+14
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: add pypy3.10Sam James2024-01-191-1/+1
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/snakeoil/pull/99 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: add py3.13, make 3.12 non-expSam James2024-01-192-3/+3
| | | | | Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.10.7Arthur Zamarin2024-01-181-1/+1
| | | | | | | This release might deprecate a lot of functionality which should be unused. Most likely next release would be 0.11.0 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Add missing DirProxy/GetAttrProxy to klass.__all__Brian Harring2024-01-151-0/+2
| | | | | | | These are public symbols and were supposed to be marked as such. Signed-off-by: Brian Harring <ferringb@gmail.com>
* new release 0.10.6v0.10.6Arthur Zamarin2023-12-221-0/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: remove pypy3.9Arthur Zamarin2023-12-221-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* add python 3.12 classifierArthur Zamarin2023-12-221-0/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* mappings: small refactorArthur Zamarin2023-08-301-9/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: add pytest-github-actions-annotate-failures for testArthur Zamarin2023-06-231-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: use new PyPI OIDC publishArthur Zamarin2023-05-171-13/+10
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* drop support for py3.9Arthur Zamarin2023-05-176-10/+9
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* remove deprecated distutils_extensionsArthur Zamarin2023-03-241-1049/+0
| | | | | Resolves: https://github.com/pkgcore/snakeoil/issues/77 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* CI: add Python 3.12 alphasSam James2023-03-241-3/+3
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/snakeoil/pull/96 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Suppress git blame for reformatArthur Zamarin2023-03-241-0/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Reformat with black 23.1.0Arthur Zamarin2023-03-2430-70/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* start work on 0.10.6Arthur Zamarin2023-01-201-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.10.5v0.10.5Arthur Zamarin2023-01-202-1/+11
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* cli.arghparse: add missing comma in help metavar textArthur Zamarin2023-01-201-3/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* formatters: add typing annotationsArthur Zamarin2023-01-171-15/+33
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* cli.arghparse: improve _format_args for DelayedArthur Zamarin2023-01-161-0/+2
| | | | | Resolves: https://github.com/pkgcore/pkgcheck/issues/520 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fileutils: small cleanup and modernizationArthur Zamarin2022-12-314-34/+6
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* process.spawn: add type annotationsArthur Zamarin2022-12-312-43/+45
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* cli.arghparse: fix bind_final_checkArthur Zamarin2022-12-311-1/+1
| | | | | | Follows: 47d21307c44cad87641e20f50f57b3f5d218c0f4 Closes: https://github.com/pkgcore/pkgdev/issues/112 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* little modernization of snakeoil.cliArthur Zamarin2022-12-303-29/+26
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix TestArComp::test_missing_tar when gtar is installedArthur Zamarin2022-12-251-1/+1
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix after removal of osutils.native_readdir.listdirArthur Zamarin2022-12-251-5/+4
| | | | | Follows: 2e4f73760dcbf1fb15bea4c6a89e4a65012ef74d Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* remove osutils.native_readdir.listdirArthur Zamarin2022-12-253-10/+2
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* remove proces.closerangeArthur Zamarin2022-12-252-6/+3
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* fix small boolean values typoArthur Zamarin2022-12-252-2/+4
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* pyproject.toml: include license file in sdisticp2022-12-251-1/+1
| | | | | Closes: https://github.com/pkgcore/snakeoil/pull/94 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* ci: add black format checkArthur Zamarin2022-12-251-0/+7
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Makefile: add black format targetArthur Zamarin2022-12-251-0/+4
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Suppress the black reformat commit from git blameBrian Harring2022-12-251-0/+2
| | | | | | | | | | This can be activate (per repo) via: git config blame.ignoreRevsFile .git-blame-ignore-revs Signed-off-by: Brian Harring <ferringb@gmail.com> Closes: https://github.com/pkgcore/snakeoil/pull/95 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* Reformat w/ black 22.12.0 for consistency.Brian Harring2022-12-2585-2383/+3268
| | | | | Signed-off-by: Brian Harring <ferringb@gmail.com> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* compression: prefer gtar over tar if availableSam James2022-12-221-1/+2
| | | | | | | | | | | Prefer 'gtar' over 'tar' if available, as we need GNU tar for --use-compress-program. With libarchive's tar, we get an 'unrecognized archive' error. Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/pkgcore/snakeoil/pull/93 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
* new release 0.10.4v0.10.4Arthur Zamarin2022-12-091-0/+13
| | | | Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>