Skip to content

Commit e2e9ba3

Browse files
ShahanaFarooquimadelinevibes
authored andcommitted
script: Poetry migration to uv for Fedora build
Fixes current error: ``` ERROR: Invalid requirement: 'Updating dependencies': Expected end or semicolon (after name and no valid version specifier) ```
1 parent 7fa8869 commit e2e9ba3

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

contrib/docker/Dockerfile.builder.fedora

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ RUN dnf update -y && \
2222
git \
2323
jq \
2424
xz \
25-
zlib-devel && \
25+
zlib-devel \
26+
cargo && \
2627
dnf clean all
2728

29+
RUN python3 -m pip install uv
30+
2831
RUN wget https://bitcoincore.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz -O bitcoin.tar.gz && \
2932
tar -xvzf bitcoin.tar.gz && \
3033
mv bitcoin-$BITCOIN_VERSION/bin/bitcoin* /usr/local/bin/ && \

tools/build-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if [ "$1" = "--inside-docker" ]; then
1111
git config --global --add safe.directory /src/.git
1212
git clone /src /build
1313
cd /build || exit
14-
poetry export --without-hashes > /tmp/requirements.txt
15-
python3 -m pip install -r /tmp/requirements.txt
14+
uv export --format requirements.txt > /tmp/requirements.txt
15+
uv pip install -r /tmp/requirements.txt
1616
./configure
1717
make VERSION="$VER"
1818
make install DESTDIR=/"$VER-$PLTFM-$PLTFMVER-$ARCH" RUST_PROFILE=release

0 commit comments

Comments
 (0)