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) ```
This commit is contained in:
committed by
madelinevibes
parent
7fa8869a41
commit
e2e9ba3336
@@ -22,9 +22,12 @@ RUN dnf update -y && \
|
||||
git \
|
||||
jq \
|
||||
xz \
|
||||
zlib-devel && \
|
||||
zlib-devel \
|
||||
cargo && \
|
||||
dnf clean all
|
||||
|
||||
RUN python3 -m pip install uv
|
||||
|
||||
RUN wget https://bitcoincore.org/bin/bitcoin-core-$BITCOIN_VERSION/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz -O bitcoin.tar.gz && \
|
||||
tar -xvzf bitcoin.tar.gz && \
|
||||
mv bitcoin-$BITCOIN_VERSION/bin/bitcoin* /usr/local/bin/ && \
|
||||
|
||||
@@ -11,8 +11,8 @@ if [ "$1" = "--inside-docker" ]; then
|
||||
git config --global --add safe.directory /src/.git
|
||||
git clone /src /build
|
||||
cd /build || exit
|
||||
poetry export --without-hashes > /tmp/requirements.txt
|
||||
python3 -m pip install -r /tmp/requirements.txt
|
||||
uv export --format requirements.txt > /tmp/requirements.txt
|
||||
uv pip install -r /tmp/requirements.txt
|
||||
./configure
|
||||
make VERSION="$VER"
|
||||
make install DESTDIR=/"$VER-$PLTFM-$PLTFMVER-$ARCH" RUST_PROFILE=release
|
||||
|
||||
Reference in New Issue
Block a user