* replace blspy imports with chia_rs imports for BLS types
* remove blspy-stubs, since we're dropping the blspy dependency. chia_rs has type stubs already
* Add Python 3.11 to CI
* 3.11 in the install scripts
* ${{ format('{0}.0-alpha - {0}.X', matrix.python) }}
* bump chiavdf and chiabip158 for releases with 3.11 wheels
* also bump blspy and clvm-tools-rs
* drop the extra .X for the python setup version
* chia_rs==0.1.13
* Update install.sh
* pyinstaller==5.5
* less mutable defaults
* memory_profiler
* assert sqlite3.threadsafety >= 1
* create tasks for stopping services
(cherry picked from commit 3384714f2e3e0bdc8c3d3741027e9e4fb69a6002)
* psutil==5.9.4
* drop memory_profiler transitive dep since it now supports 3.11
* drop redundant pre-release python getting incantation
* watchdog==2.2.0
* black for py311
* Deprecated `chia plotters install` command
* Fixed lint errors
* Made it able to recognize plotter executables in venv
* Added install-plotter.sh
* Removed strings for debug
* Added install-plotter.ps1
* Fixed an issue where madmax plotter under venv dir was not recognized by 'chia plotters' command
* Added exec permission to install-plotter.sh
* Fixed issues found in install-plotter.sh
* Fixed lint errors
* Added `-p` option to install.sh/install.ps1
* Fixed lint errors
* Added nice deprecated warning
* Fixed a lint error
* Slightly improved branching
* Made log messages look nice
* Fixed an issue where install.sh/ps1 -p failed if virtual env is not acivated
Co-authored-by: Izumi Hoshino <admin@chiamine.jp>
* add install action
* add the actual action file
* update pre-commit to use the install action
* add prefix for arch -arm64 use
* typo
* outputs:
* copy paste correction
* false
* hmm
* there
* if ("$env:INSTALL_PYTHON_VERSION" -ne "")
* Support for Python 3.10
* Update install.sh to block Python 3.11
* websockets to 10.1
* Update workflows for Python 3.10
* single quote 3.10
* Enable fedora:35 (py3.10) installer script testing
* rebuild workflows
* fixup test-install-scripts.yml
* add ignore for distutils deprecation in tests for now
* asyncio.get_event_loop().run_until_complete() -> asyncio.run()
* aiohttp==3.8.1 for python 3.10 support
* use ssl.Purpose.CLIENT_AUTH for ssl_context_for_server()
* rebuild workflows
* use ssl_context_for_client() in BlockTools.get_daemon_ssl_context()
* create a client context for the RpcServer to connect to the daemon
* go back to asyncio.get_event_loop().run_until_complete() for now to recover 3.7
* ignore:There is no current event loop:DeprecationWarning
* Ms.plot load perf2 (#10978)
* 2.7 seconds -> 0.45 seconds
* Merge
* Work on create_plots refactor
* Try to fix tests
* Try to fix tests
* Use new functions
* Fix block_tools by adding dir
* Extra argument
* Try to fix cyclic import
* isort
* Drop warning
* Some cleanups around `exclude_final_dir` and directory adding
* Cleanup `min_mainnet_k_size` checks
* Drop unrelated changes
* Fixes after rebase
* Fix cyclic import
* Update tests/block_tools.py
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
* Update tests/block_tools.py
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
Co-authored-by: xdustinface <xdustinfacex@gmail.com>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
* remove 3.10 avoidance step from debian:bookworm installer testing
* add 3.10 to wheel availability check workflow
* add 3.10 to Install.ps1 supported Python versions for Windows
* add jammy jellyfish to the install script test matrix
* correct ubuntu:jammy job name
* add 22.04 with Python 3.10 to install.sh
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Yostra <straya@chia.net>
Co-authored-by: Mariano Sorgente <3069354+mariano54@users.noreply.github.com>
Co-authored-by: xdustinface <xdustinfacex@gmail.com>
Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
* Handle INSTALL_PYTHON_VERSION in Install.ps1, otherwise search 3.9/3.8/3.7
* fix python availability check in Install.ps1
* when Install.ps1 does not find an acceptable python, list supported versions in order
* Update Install.ps1
Co-authored-by: Matt Hauff <quexington@gmail.com>
Co-authored-by: Matt Hauff <quexington@gmail.com>
* Check for vulnerable openssl
* Update OpenSSL on MacOS
* First attempt - openssl Ubuntu 18.04 and 20.04
* place local/bin ahead in PATH
* specify install openssl
* correct path
* run ldconfig
* stop building and check for patched openssl
* spell sudo right by removing it
* Remove openssl building - 1st attempt RHs
* Test Windows OpenSSL version HT @AmineKhaldi
PowerShell scripts, as well as batch files, operate in the callers environment which is unlike bash where you have to `source` (or `.`) scripts for that to happen. As such, this script returned control to the user with the venv still activated which was somewhat counter to the instructions that were printed out. I suggest this route of leaving the environment not activated on exit for the sake of consistency with `install.sh`. I chose to simply not activate the venv to begin with since then there's no deactivation "cleanup" to manage.
The original resulted in the following error when `msvcp140.dll` was not present.
```console
PS C:\chia\chia-blockchain> ./install.ps1
Get-Item : Cannot find path 'C:\WINDOWS\System32\msvcp140.dll' because it does not exist.
At C:\chia\chia-blockchain\Install.ps1:9 char:11
+ if (-not (Get-Item "$env:windir\System32\msvcp140.dll").Exists)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\WINDOWS\System32\msvcp140.dll:String) [Get-Item], ItemNotFoundExcept
ion
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemCommand
* Powershell scripts to support installation from source.
* Update Install-gui.ps1
* Update Install-gui.ps1
* Linter fixes
* Revert "Linter fixes"
This reverts commit 8c4e073671.
* Linter fixes
* Minor textual changes. Updated encoding/line-endings to UTF-8/LF. Git on Windows should autocrlf as necessary.