| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/portage/pull/1179
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Thanks to radhermit for spotting.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This makes Portage PEP 517 compliant.
When building via meson-python, the man pages and logrotate config are
no longer included as there seems little point.
Bug: https://bugs.gentoo.org/910035
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
We don't seem to have been consistent as to whether it was 3.6 or 3.7, but
we weren't testing it consistently anyway.
It feels too soon to go up to 3.10 unfortunately, but 3.6/3.7 are EOL and
3.8 is EOL next year, so let's do 3.9.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
| |
Signed-off-by: David Palao <david.palao@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
| |
Needed for Python 3.12.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Enable running the pylint job outside of just pushes or PR's to master.
Don't run pylint as part of the CI/build job.
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Closes: https://github.com/gentoo/portage/pull/1014
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For STREEBOG{256,512}, we had three options that we "supported":
1. using pygost;
pygost is unpackaged in Gentoo and appears to, as of March 2023, been yanked
from pypi too.
Hence not only can we test it on the distribution where we do our development
(Gentoo), but we also can't acquire it for CI easily either.
2. using pygcrypt;
No longer in Gentoo and the codepath for this has been disabled since 2017(!)
because of https://bugs.gentoo.org/615620.
3. a slow fallback implementation.
This is not something we can rely on anyway, but this is especially wrong
given the issues we've had recently with WHIRLPOOL. See https://bugs.gentoo.org/885909.
As for whether we should support STREEBOG at all:
- Per above, we don't have a decent implementation for it available.
- We're not testing it very well.
- Jugging obscure hash algorithms has become a pain because some of them have
ended up being marked "legacy" or removed from OpenSSL by default.
- I don't think we should have hash algorithms supported just for the sake of it.
We're not in the business of supporting every single hash algorithm that a
library with Python bindings out there provides.
Bug: https://bugs.gentoo.org/597736
Bug: https://bugs.gentoo.org/615620
Bug: https://bugs.gentoo.org/885909
Bug: https://bugs.gentoo.org/888884
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
This gives us a simple way to call pylint from tox.ini.
Our previous hack would call pylint on non-python files (shell scripts),
and only went unnoticed because we have most errors disabled in
pylintrc.
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
| |
EOL since 2021-12-23 and indeed isn't in gentoo.git anymore
either since a few months ago.
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
| |
Only needed for repoman. Hurrah!
(Noticed as it fails to build w/ Py 3.11)
Signed-off-by: Sam James <sam@gentoo.org>
Closes: https://github.com/gentoo/portage/pull/831
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Sam James <sam@gentoo.org>
|
|
|
|
|
|
|
|
| |
RepoMan sez: So long and thanks for all the fish! I'll be enjoying my
retirement now. Haven't I done enough to deserve that?
Bug: https://bugs.gentoo.org/835013
Signed-off-by: Matt Turner <mattst88@gentoo.org>
|
|
|
|
|
|
| |
pylint seems to be broken on PyPy3 and causes the CI to fail.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
|
|
|
| |
Do not bind to old version of PyPy3.7, also fix actually running tests
via CI.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
|
|
|
|
| |
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
| |
The previous command did not work correctly due to quirks of
the pylint.utils.expand_modules function.
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/763045
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
| |
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
| |
Closes: https://github.com/gentoo/portage/pull/649
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
| |
In addition to checking the whole repo, this fixes the
import-error check.
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
| |
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
It should be pretty safe to drop support for python2.7 at this point.
Bug: https://bugs.gentoo.org/731114
Reviewed-by: Brian Dolbec <dolsen@gentoo.org>
Reviewed-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
| |
Closes: https://github.com/gentoo/portage/pull/515
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
| |
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
| |
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
|
|
|
|
|
|
| |
lxml-4.4.0 does not support py34.
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
|
|
|
|
|
|
| |
Reflect recent python versions in test scripts
Closes: https://github.com/gentoo/portage/pull/383
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
|
tox is the common Pythonic tool for running tests against multiple
interpreters. It integrates well with virtualenv, making testing
trivial on practically any system. Add a tox.ini file so users can take
advantage of it.
Reviewed-by: Zac Medico <zmedico@gentoo.org>
|