mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
Merge #6314: backport: bump python 3.9
da45a6743a
docs: bump python version in dependencies.md and build-openbsd.md (pasta)5f7009ce88
bump PYTHON_VERSION for CI (pasta)c6fed1e3ce
partial Merge bitcoin/bitcoin#28210: build: Bump clang minimum supported version to 13 (MarcoFalke)68ccd6d133
bump CI python version (pasta)64cd338894
Merge bitcoin/bitcoin#28211: Bump python minimum supported version to 3.9 (fanquake) Pull request description: ## Issue being fixed or feature implemented Why not ## What was done? Bump python version ## How Has This Been Tested? See CI ## Breaking Changes None ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ ACKs for top commit: knst: utACKda45a6743a
kwvg: utACKda45a6743a
UdjinM6: utACKda45a6743a
Tree-SHA512: 5bb99817a5faca73e8e18b9fd6b5f190a7eb0274ef316038d78dea339e9610ed1b1870636a6ecbe1ed3074301a9fabfa84d879f6d7fa6276170cd15170b8f148
This commit is contained in:
commit
3a18f087bf
@ -1 +1 @@
|
|||||||
3.8.16
|
3.9.18
|
||||||
|
@ -106,8 +106,8 @@ AC_PATH_TOOL(STRIP, strip)
|
|||||||
AC_PATH_TOOL(GCOV, gcov)
|
AC_PATH_TOOL(GCOV, gcov)
|
||||||
AC_PATH_TOOL(LLVM_COV, llvm-cov)
|
AC_PATH_TOOL(LLVM_COV, llvm-cov)
|
||||||
AC_PATH_PROG(LCOV, lcov)
|
AC_PATH_PROG(LCOV, lcov)
|
||||||
dnl Python 3.8 is specified in .python-version and should be used if available, see doc/dependencies.md
|
dnl The minimum supported version is specified in .python-version and should be used if available, see doc/dependencies.md
|
||||||
AC_PATH_PROGS([PYTHON], [python3.8 python3.9 python3.10 python3.11 python3.12 python3 python])
|
AC_PATH_PROGS([PYTHON], [python3.9 python3.10 python3.11 python3.12 python3 python])
|
||||||
AC_PATH_PROG(GENHTML, genhtml)
|
AC_PATH_PROG(GENHTML, genhtml)
|
||||||
AC_PATH_PROG([GIT], [git])
|
AC_PATH_PROG([GIT], [git])
|
||||||
AC_PATH_PROG(CCACHE,ccache)
|
AC_PATH_PROG(CCACHE,ccache)
|
||||||
|
@ -50,7 +50,7 @@ RUN apt-get update && apt-get install $APT_ARGS \
|
|||||||
|
|
||||||
# Python setup
|
# Python setup
|
||||||
# PYTHON_VERSION should match the value in .python-version
|
# PYTHON_VERSION should match the value in .python-version
|
||||||
ARG PYTHON_VERSION=3.8.16
|
ARG PYTHON_VERSION=3.9.18
|
||||||
RUN apt-get update && apt-get install $APT_ARGS \
|
RUN apt-get update && apt-get install $APT_ARGS \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
|
@ -14,7 +14,7 @@ pkg_add git gmake libevent libtool
|
|||||||
pkg_add qt5 # (optional for enabling the GUI)
|
pkg_add qt5 # (optional for enabling the GUI)
|
||||||
pkg_add autoconf # (select highest version, e.g. 2.69)
|
pkg_add autoconf # (select highest version, e.g. 2.69)
|
||||||
pkg_add automake # (select highest version, e.g. 1.15)
|
pkg_add automake # (select highest version, e.g. 1.15)
|
||||||
pkg_add python # (select highest version, e.g. 3.8)
|
pkg_add python # (select highest version, e.g. 3.9)
|
||||||
pkg_add gmp
|
pkg_add gmp
|
||||||
pkg_add bash
|
pkg_add bash
|
||||||
pkg_add boost
|
pkg_add boost
|
||||||
|
@ -19,7 +19,7 @@ These are the dependencies currently used by Dash Core. You can find instruction
|
|||||||
| Linux Kernel | [N/A](https://www.kernel.org/) | 3.2.0 | | | |
|
| Linux Kernel | [N/A](https://www.kernel.org/) | 3.2.0 | | | |
|
||||||
| MiniUPnPc | [2.2.2](https://miniupnp.tuxfamily.org/files) | | No | | |
|
| MiniUPnPc | [2.2.2](https://miniupnp.tuxfamily.org/files) | | No | | |
|
||||||
| PCRE | | | | | [Yes](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk) |
|
| PCRE | | | | | [Yes](https://github.com/dashpay/dash/blob/develop/depends/packages/qt.mk) |
|
||||||
| Python (tests) | | [3.8](https://www.python.org/downloads) | | | |
|
| Python (tests) | | [3.9](https://www.python.org/downloads) | | | |
|
||||||
| qrencode | [3.4.4](https://fukuchi.org/works/qrencode) | | No | | |
|
| qrencode | [3.4.4](https://fukuchi.org/works/qrencode) | | No | | |
|
||||||
| Qt | [5.15.11](https://download.qt.io/official_releases/qt/) | [5.11.3](https://github.com/bitcoin/bitcoin/pull/24132) | No | | |
|
| Qt | [5.15.11](https://download.qt.io/official_releases/qt/) | [5.11.3](https://github.com/bitcoin/bitcoin/pull/24132) | No | | |
|
||||||
| SQLite | [3.32.1](https://sqlite.org/download.html) | [3.7.17](https://github.com/bitcoin/bitcoin/pull/19077) | | | |
|
| SQLite | [3.32.1](https://sqlite.org/download.html) | [3.7.17](https://github.com/bitcoin/bitcoin/pull/19077) | | | |
|
||||||
|
@ -275,10 +275,10 @@ def sha256sum_file(filename):
|
|||||||
d = f.read(4096)
|
d = f.read(4096)
|
||||||
return h.digest()
|
return h.digest()
|
||||||
|
|
||||||
# TODO: Remove and use random.randbytes(n) instead, available in Python 3.9
|
# TODO: Remove and use random.randbytes(n) directly
|
||||||
def random_bytes(n):
|
def random_bytes(n):
|
||||||
"""Return a random bytes object of length n."""
|
"""Return a random bytes object of length n."""
|
||||||
return bytes(random.getrandbits(8) for i in range(n))
|
return random.randbytes(n)
|
||||||
|
|
||||||
# RPC/P2P connection constants and functions
|
# RPC/P2P connection constants and functions
|
||||||
############################################
|
############################################
|
||||||
|
Loading…
Reference in New Issue
Block a user