maflcko
commented at 11:06 am on April 18, 2023:
member
There is no pressing reason to drop support for 3.7, however there are several maintenance issues:
There is no supported operating system that ships 3.7 by default. (debian:buster is EOL and unmaintained to the extent that it doesn’t run in the CI environment. See #27340 (comment))
Compiling python 3.7 from source is also unsupported on at least macos, according to #24017 (comment)
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
Reviewers, this pull request conflicts with the following ones:
#26222 (Introduce field element and group element classes to test_framework/key.py by sipa)
#25797 (build: Add CMake-based build system by hebasto)
#24005 (test: add python implementation of Elligator swift by stratospher)
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
DrahtBot renamed this:
Bump python minimum version to 3.8
Bump python minimum version to 3.8
on Apr 18, 2023
maflcko added this to the milestone 26.0
on Apr 18, 2023
in
doc/dependencies.md:13
in
fa45a082b4outdated
9@@ -10,7 +10,7 @@ You can find installation instructions in the `build-*.md` file for your platfor
10 | [Automake](https://www.gnu.org/software/automake/) | [1.13](https://github.com/bitcoin/bitcoin/pull/18290) |
11 | [Clang](https://clang.llvm.org) | [8.0](https://github.com/bitcoin/bitcoin/pull/24164) |
12 | [GCC](https://gcc.gnu.org) | [8.1](https://github.com/bitcoin/bitcoin/pull/23060) |
13-| [Python](https://www.python.org) (tests) | [3.7](https://github.com/bitcoin/bitcoin/pull/26226) |
14+| [Python](https://www.python.org) (scripts, tests) | [3.8](https://github.com/bitcoin/bitcoin/pull/xyz) |
stickies-v
commented at 11:30 am on April 18, 2023:
Also, switch ci_native_qt5 to g++-9 (from g++-8) to work around bugs.
This should be fine, because the i686_centos task still checks for g++-8
compatibility.
See
https://github.com/bitcoin/bitcoin/pull/27483#issuecomment-1513477050
for the list of bugs.
88881cf7ac
test: Use python3.8 pow()fa6eb65167
maflcko force-pushed
on Apr 21, 2023
maflcko force-pushed
on Apr 21, 2023
maflcko
commented at 8:20 am on April 21, 2023:
member
Thanks, fixed typo in commit message
TheCharlatan approved
TheCharlatan
commented at 9:59 am on April 21, 2023:
contributor
utACKfa6eb6516727a8675dc6e46634d8343e282528ab
fanquake
commented at 10:45 am on April 21, 2023:
member
Should also bump the lint Dockerfile to python:3.8-buster?
maflcko
commented at 12:17 pm on April 21, 2023:
member
Should also bump the lint Dockerfile to python:3.8-buster?
buster is EOL and unmaintained, which is one of the reasons I created this pull, as can be seen in the pull request description. I don’t really understand why the lint Dockerfile isn’t simply using the exact same distro and setup like the lint CI. Using something else is just going to make it less reproducible and harder to maintain. Though, those changes should probably be made in a separate follow-up pull.
ci: Bump ci/lint/Dockerfile
This bump should not be needed, see discussion starting at
https://github.com/bitcoin/bitcoin/pull/27483#issuecomment-1517739626
fac395e5eb
fanquake
commented at 12:32 pm on April 21, 2023:
member
buster is EOL and unmaintained,
In this context, I don’t think that makes any difference, as the container is just an interpreter, so as long as it’s downloadable, it should work (no apt installing packages etc).
I don’t really understand why the lint Dockerfile isn’t simply using the exact same distro and setup like the lint CI.
fjahr
commented at 5:36 pm on April 27, 2023:
contributor
ACKfac395e5eb2cd3210ba6345f777a586a9bec84e3
This is ok to merge but when I wrote that comment I meant to remove the modinv() function completely, e.g. https://github.com/fjahr/bitcoin/commit/75b8ba524d3dc957910bc8c0a4d1dd2b8ceaa426. You can pull this commit in here or we merge this now and I will open it as a follow-up. I think the comment in modinv() isn’t accurate anymore after this change because python seems to use Exponentiation by Squaring and we don’t really need a one-line function that and we also don’t need to test native python code.
DrahtBot removed review request from fjahr
on Apr 27, 2023
maflcko
commented at 9:03 am on April 28, 2023:
member
Thanks. I think it is best for you to open a follow-up, unless people want me to push the commit here.
fanquake
commented at 9:09 am on April 28, 2023:
member
I think it is best for you to open a follow-up,
Lets do that.
fanquake merged this
on Apr 28, 2023
fanquake closed this
on Apr 28, 2023
maflcko deleted the branch
on Apr 28, 2023
sidhujag referenced this in commit
6eba6b1050
on Apr 28, 2023
fanquake referenced this in commit
be0325c6a6
on May 1, 2023
kwvg referenced this in commit
c0061a353a
on May 10, 2023
kwvg referenced this in commit
f559b49925
on May 10, 2023
kwvg referenced this in commit
9089511363
on May 10, 2023
PastaPastaPasta referenced this in commit
0b9500f3e9
on May 11, 2023
RandyMcMillan referenced this in commit
3f36723330
on May 27, 2023
RandyMcMillan referenced this in commit
63f0e72e69
on May 27, 2023
janus referenced this in commit
e45700a367
on Sep 3, 2023
janus referenced this in commit
32538dcc91
on Sep 3, 2023
knst referenced this in commit
63bea741ce
on Oct 19, 2023
knst referenced this in commit
09b8836dc0
on Oct 19, 2023
PastaPastaPasta referenced this in commit
6e7b402fe9
on Oct 23, 2023
PastaPastaPasta referenced this in commit
dab44cd0b0
on Oct 23, 2023
Fabcien referenced this in commit
364cb01e0a
on Feb 5, 2024
Fabcien referenced this in commit
4d6a1ae51b
on Feb 5, 2024
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-12-28 09:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me