mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Update setproctitle requirement from ~=1.1.10 to ~=1.2.2 (#752)
* Update setproctitle requirement from ~=1.1.10 to ~=1.2.2 Updates the requirements on [setproctitle](https://github.com/dvarrazzo/py-setproctitle) to permit the latest version. - [Release notes](https://github.com/dvarrazzo/py-setproctitle/releases) - [Changelog](https://github.com/dvarrazzo/py-setproctitle/blob/master/HISTORY.rst) - [Commits](https://github.com/dvarrazzo/py-setproctitle/compare/version-1.1.10...version-1.2.2) Signed-off-by: dependabot[bot] <support@github.com> * setproctitle now has binary wheels for all platforms except mac - PR'ed those to them and added to download.chia * Just install local wheels * update changelog Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com> Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
This commit is contained in:
parent
881b23e599
commit
289c908adb
@ -14,7 +14,8 @@ for setuptools_scm/PEP 440 reasons.
|
||||
|
||||
### Changed
|
||||
|
||||
- Improved mempool parsing performance in node.
|
||||
- Significant improvements have been made to how the full node handles the mempool. This generally cuts CPU usage of node by about 2x.
|
||||
- We have upgraded to py-setproctitle 1.2.2 and now have binary wheels for all platforms and make it a requirement in setup.py. It is technically optional if you wish to override it.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@ -39,7 +39,7 @@ steps:
|
||||
keychain: temp
|
||||
deleteCert: true
|
||||
|
||||
# since we're installing miniupnpc & setproctitle below,
|
||||
# since we're installing miniupnpc below,
|
||||
# only cbor2 will end up in wheels/
|
||||
- script: |
|
||||
python -m venv venv
|
||||
@ -48,7 +48,7 @@ steps:
|
||||
python -m pip install --upgrade pip
|
||||
pip install wheel pep517 setuptools_scm
|
||||
node -v
|
||||
pip install -i https://download.chia.net/simple/ miniupnpc==2.1 setproctitle==1.1.10
|
||||
pip install -i https://download.chia.net/simple/ miniupnpc==2.1
|
||||
displayName: "Install dependencies"
|
||||
|
||||
- script: |
|
||||
|
@ -6,10 +6,9 @@ mkdir build_scripts\win_build
|
||||
Set-Location -Path ".\build_scripts\win_build" -PassThru
|
||||
|
||||
Write-Output " ---"
|
||||
Write-Output "curl miniupnpc, setproctitle"
|
||||
Write-Output "curl miniupnpc"
|
||||
Write-Output " ---"
|
||||
Invoke-WebRequest -Uri "https://download.chia.net/simple/miniupnpc/miniupnpc-2.1-cp37-cp37m-win_amd64.whl" -OutFile "miniupnpc-2.1-cp37-cp37m-win_amd64.whl"
|
||||
Invoke-WebRequest -Uri "https://download.chia.net/simple/setproctitle/setproctitle-1.1.10-cp37-cp37m-win_amd64.whl" -OutFile "setproctitle-1.1.10-cp37-cp37m-win_amd64.whl"
|
||||
Write-Output "Using win_amd64 python 3.7 wheel from https://github.com/miniupnp/miniupnp/pull/475 (2.2.0-RC1)"
|
||||
Set-Location -Path - -PassThru
|
||||
|
||||
@ -48,8 +47,9 @@ Write-Output " ---"
|
||||
Write-Output "pip install miniupnpc"
|
||||
Set-Location -Path ".\build_scripts" -PassThru
|
||||
pip install --no-index --find-links=.\win_build\ miniupnpc
|
||||
Write-Output "pip install setproctitle"
|
||||
pip install --no-index --find-links=.\win_build\ setproctitle
|
||||
# Write-Output "pip install setproctitle"
|
||||
# pip install setproctitle==1.2.2
|
||||
|
||||
Write-Output "pip install chia-blockchain"
|
||||
pip install --no-index --find-links=.\win_build\ chia-blockchain
|
||||
|
||||
|
@ -81,7 +81,7 @@ pip install --upgrade pip
|
||||
pip install wheel
|
||||
#if [ "$INSTALL_PYTHON_VERSION" = "3.8" ]; then
|
||||
# This remains in case there is a diversion of binary wheels
|
||||
pip install --extra-index-url https://download.chia.net/simple/ miniupnpc==2.1 setproctitle==1.1.10
|
||||
pip install --extra-index-url https://download.chia.net/simple/ miniupnpc==2.1
|
||||
pip install -e . --extra-index-url https://download.chia.net/simple/
|
||||
|
||||
echo ""
|
||||
|
@ -37,7 +37,7 @@ cbor2~=5.2.0
|
||||
colorlog~=4.7.2
|
||||
keyring~=21.5.0
|
||||
bitstring~=3.1.7
|
||||
setproctitle~=1.1.10
|
||||
setproctitle~=1.2.2
|
||||
aiter~=0.13.20191203
|
||||
aiosqlite~=0.15.0
|
||||
sortedcontainers~=2.3.0
|
||||
|
1
setup.py
1
setup.py
@ -20,6 +20,7 @@ dependencies = [
|
||||
"keyring==21.5.0", # Store keys in MacOS Keychain, Windows Credential Locker
|
||||
"keyrings.cryptfile==1.3.4", # Secure storage for keys on Linux (Will be replaced)
|
||||
"PyYAML==5.3.1", # Used for config file format
|
||||
"setproctitle==1.2.2", # Gives the chia processes readable names
|
||||
"sortedcontainers==2.3.0", # For maintaining sorted mempools
|
||||
"websockets==8.1.0", # For use in wallet RPC and electron UI
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user