162 Commits
Author SHA1 Message Date
Kyle AltendorfandGitHub 32a500a88e Test installers in Dockers (#9896)
* Avoid issue with Ubuntu 21.10+ setuptools>=06

https://github.com/pypa/setuptools/issues/2956
https://gist.github.com/altendky/b852296ac520b343890c55eabc90c880

```
      File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 290, in set_undefined_options
        setattr(self, dst_option, getattr(src_cmd_obj, src_option))
      File "/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py", line 103, in __getattr__
        raise AttributeError(attr)
    AttributeError: install_layout
```

* corrections

* test installers in various Linux Dockers

* prep docker images with basic tools

* --no-confirm for pacman

* debug

* debug

* debug

* stop installing git

* Revert "stop installing git"

This reverts commit 4b19f1601d.

* checkout after installing git

* pacman wants --noconfirm

* Revert "debug"

This reverts commit e0a2aed041.

* Revert "debug"

This reverts commit 3833da281a.

* Revert "debug"

This reverts commit 705a3c5d6b.

* add bookworm

* add install.sh -a for pacman --noconfirm automated installs

* fix

* fix

* revert install_layout workaround

* Remove =3.9* from debian python3-venv installation

Already discussed this with @wallentx related to the addition in https://github.com/Chia-Network/chia-blockchain/pull/9633/files#diff-043df5bdbf6639d7a77e1d44c5226fd7371e5259a1e4df3a0dd5d64c30dca44fR85.

* add fedora 33 and 34

* nicer naming

* fedora not fedor

* add ubuntu:bionic

* also chia --help

* add amazon

* Amazon wants sudo

* .

* use git-core ppa for git in bionic

* less sudo

* oops
2022-01-23 21:46:16 -08:00
William AllenandGitHub 1efdcd4551 Modifying install.sh to account for python3.10.x (#9633) 2021-12-21 10:14:16 -08:00
Kyle AltendorfandGitHub fbc6c738c8 Install .[dev] in CI tests (#9251)
* Install .[dev] in CI tests

* only install pytest-monitor on linux, as before

* add -d to install.sh for dev extras

* handle invalid options to install.sh

* rebuild workflows
2021-11-23 12:45:23 -08:00
Chris MarslenderandGitHub 1abfd4d3f4 Update channel to direct users to in install.sh (#8517) 2021-09-17 13:59:09 -07:00
Gene HoffmanandGitHub f18b217e5e Search for python newest to oldest (#8244)
See https://github.com/Chia-Network/chia-blockchain/issues/8135
2021-08-31 10:22:27 -07:00
Gene HoffmanandGitHub dc781169b9 Update all platforms to miniupnpc 2.2.2 and Windows to Python 3.9 (#6703)
* Update all platforms to miniupnpc 2.2.2 and Windows to Python 3.9

* Actually use python 3.9 in Windows
2021-06-14 08:21:12 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Gene Hoffman
15f8724cae Bump github/super-linter from 3.15.5 to 4.0.2 (#6209)
* Bump github/super-linter from 3.15.5 to 4.0.2

Bumps [github/super-linter](https://github.com/github/super-linter) from 3.15.5 to 4.0.2.
- [Release notes](https://github.com/github/super-linter/releases)
- [Commits](https://github.com/github/super-linter/compare/v3.15.5...v4.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

* install.sh line 96:
if [ x"$INSTALL_PYTHON_VERSION" = x ]; then
     ^------------------------^ SC2268: Avoid x-prefix in comparisons as 
it no longer serves a purpose.

Did you mean: 
if [ "$INSTALL_PYTHON_VERSION" = "" ]; then

For more information:
  https://www.shellcheck.net/wiki/SC2268

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2021-05-29 12:47:23 -07:00
Xinyue LuandGitHub 5f4b56757a Fix install.sh for Debian (#4152) (#4867) 2021-05-14 09:42:30 -07:00
Nikolaj KuntnerGitHubNikolaj Kuntner <>
2faab1ea83 Improve style consistency in root directory docs files (#4493)
* Improve style consistency

* black python required blank

Co-authored-by: Nikolaj Kuntner <>
2021-05-12 13:12:30 -07:00
Dave JohnsonandGitHub a2401ccfd4 Allow install as root on minimal attack surface OSes (#2871)
pip is not accessible to root on many limited core OS distros. Launching explicitly via python resolves for all
2021-04-27 01:24:24 -07:00
Gene HoffmanandGene Hoffman 8d7a667d7e Correctly get to Ubuntu 21.04 steps 2021-04-22 15:11:50 -07:00
Gene HoffmanandGene Hoffman 99c4ac3f09 Ubuntu 21.04 is out tomorrow 2021-04-20 16:29:30 -07:00
xorinoxandGitHub 8fb9cdaceb Update install.sh (#1310)
Add testing for 'yum' && fedora-release. In a later step one could be testing 'dnf' and fedora separately.
2021-03-25 18:27:26 -07:00
Gene HoffmanandGene Hoffman d77bc07ac4 move from download.chia to pypi.chia.net/simple/ 2021-03-08 15:32:00 -08:00
Gene HoffmanandGene Hoffman 8e40eb6ecf limit submodule update to mozilla-ca 2021-03-08 13:02:16 -08:00
Jesús EspinoandGene Hoffman e4322ec56f Adding Arch support for the install script 2021-03-08 07:10:17 -08:00
YostraandGitHub da9b9ccf6f Mozilla ca (#1155)
* include moz

* add mozzila submodule

* install script

* use file path

* update commit

* typo
2021-03-04 14:25:35 -08:00
Gene HoffmanandGene Hoffman 5c55875c43 Add URL 2021-02-20 18:57:25 -08:00
Gene HoffmanandGene Hoffman 628491fe3b Error out on 32 bit Pis 2021-02-20 18:57:25 -08:00
xorinoxandGitHub 5682f939f7 Update install.sh - some Ubuntu 20.04 LTS minimal need "bc" installed (#942) 2021-02-17 22:37:10 -08:00
Gene Hoffman 24964992ff Can't get the final binary arm64 whl so reverting and adding to wiki (#784) 2021-02-04 01:27:59 -08:00
Gene Hoffman 4eb472d7fe Pi wheels, changelog, spelling nit (#781) 2021-02-04 01:27:59 -08:00
dependabot[bot]andGene Hoffman 289c908adb 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>
2021-02-04 01:27:59 -08:00
Gene HoffmanandYostra d1c7a5ed5e Fix Mint 20.04 thanks @impeace on keybase 2021-01-12 17:02:22 -05:00
Gene HoffmanandYostra 9a8a955907 Update install.sh for python 3.9/20.04.1 lts 2021-01-12 17:02:21 -05:00
Gene HoffmanandYostra 51f8bff2f3 Have Cbor2 version only rely on setup.py (#518)
* cbor2 version should only be in setup.py

* Build and install wheels in one step on Azure
2021-01-12 17:00:49 -05:00
Gene HoffmanandYostra 8dff368b78 Add cbor 5.2.0 to install.sh 2021-01-12 17:00:49 -05:00
Gene HoffmanandYostra 55a1ad8ed1 shfmt various shell scripts, evaluate grep -c 2021-01-12 17:00:49 -05:00
Yostra f03d3c0006 Revert "Update blspy and chiapos for various bugs"
This reverts commit 7051102ae6.
2021-01-12 16:57:59 -05:00
Gene Hoffman 7051102ae6 Update blspy and chiapos for various bugs
Squashed commit of the following:

commit 447b8efd49
Author: Gene Hoffman <hoffmang@hoffmang.com>
Date:   Fri Dec 4 10:38:35 2020 -0800

    Bump pos to .38 - don't keep all the temp files open

commit d6790c8dac
Author: Gene Hoffman <hoffmang@hoffmang.com>
Date:   Thu Dec 3 12:04:27 2020 -0800

    Remove cbor version from Azure Pipeline

commit 1b6d273e3a
Author: Gene Hoffman <hoffmang@hoffmang.com>
Date:   Thu Dec 3 11:57:55 2020 -0800

    install.sh shouldn't specify cbor version

commit 6726064ce9
Author: Gene Hoffman <hoffmang@hoffmang.com>
Date:   Thu Dec 3 11:53:02 2020 -0800

    Bump cbor to 5.2.0

commit 8f29747bad
Author: Gene Hoffman <hoffmang@hoffmang.com>
Date:   Thu Dec 3 11:19:17 2020 -0800

    Create bug fix release Beta 18
2020-12-04 12:42:07 -08:00
Gene HoffmanandGene Hoffman da3a0af24d Create new install-gui.sh and auto install Ubuntu OS deps 2020-10-01 11:07:12 -07:00
Gene HoffmanandGene Hoffman 62d50e0002 move apt-get update to the ubuntu workflow instead 2020-10-01 11:07:12 -07:00
Gene HoffmanandGene Hoffman eff195ece3 apt-get update in install.sh for gh actions 2020-10-01 11:07:12 -07:00
Gene HoffmanandGene Hoffman b592330bad Add bug report, code of conduct, update changelog 2020-09-14 15:38:55 -07:00
dependabot[bot]Gene Hoffmandependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
11e8e0066f Bump cbor2 from 5.1.0 to 5.1.2 (#344)
* Bump cbor2 from 5.1.0 to 5.1.2

Bumps [cbor2](https://github.com/agronholm/cbor2) from 5.1.0 to 5.1.2.
- [Release notes](https://github.com/agronholm/cbor2/releases)
- [Changelog](https://github.com/agronholm/cbor2/blob/master/docs/versionhistory.rst)
- [Commits](https://github.com/agronholm/cbor2/compare/5.1.0...5.1.2)

Signed-off-by: dependabot[bot] <support@github.com>

* Move to cbor2 to 5.1.2 in install.sh

*Add ARM64 cbor2 wheels to download.chia.net/simple/

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <30377676+hoffmang9@users.noreply.github.com>
2020-08-18 10:59:45 -07:00
Gene HoffmanandGene Hoffman 0034838ffa Modify some test clean ups - fix Ubuntu 20.04 bug in install.sh 2020-07-16 13:05:43 -07:00
Gene Hoffman c3a3fdba1f Integrate GH super linter - fix shell, markdown, python issues (#296)
* Try super-linter
* Fix lint issues, move to separate gh action
* Fix md, shell
* Ignore import-error for python - fix MDs
* Disable standard-js, initial eslint config
* Fix raises, remove prettier for now
* skip pylint no-member check in src/util/byte_types.py line 40
* pyinstaller windows back to INFO
* Disable powershell lint for now.
* Disable css validation temporarily
2020-07-16 13:05:43 -07:00
Nathan HoughtonandGene Hoffman c7affdc4c8 Modify install.sh to fix a few FreeBSD build / install issues (#288)
* Export MAKE=gmake for FreeBSD build of miniupnpc
* Disable failing vdf client build on FreeBSD
2020-07-16 13:05:43 -07:00
Nathan HoughtonandGene Hoffman 61d7a1aa70 Modify install.sh to fix a few OpenBSD build / install issues (#285)
* Export MAKE=gmake for OpenBSD build of miniupnpc
* Use --extra-index-url instead of -i option for pip install
Allows pip to install dependencies of the requested packages
from the default package repository (if available) before
falling back to the Chia package repository.
Required when dependencies of the requested packages are not
already available in the venv.
* Disable failing vdf client build on OpenBSD
2020-07-16 13:05:43 -07:00
31c1ce1e90 Dynamically create installer versions across all ci's (#274)
* Add installer-version.py and CHIA_INSTALLER_VERSION, move env var
* use setuptools_scm to find version
* Move dmg to final_installer dir
* skip npm in install.sh on ci, windows debug
* azure debug, remove hardcoded paths from winstaller.js
* a win (g) and a prayer
* Only Chia.exe
* SemVer means 0.1.6262...

Co-authored-by: Strahinja Markovic <straya@chia.net>
2020-06-08 17:17:48 -07:00
Gene Hoffmanandwjblanke e47747fcaf Durable editbin.exe path on Windows, start to extract installer version global constant (#267)
* remove some debugging in install.sh
* Take 3 w/ Straya spec changes
* Set path to editbin and check - macos env variable?
* Move more version to env vars
* set version back to 0.1.6 in ci runners for now
2020-06-08 17:17:48 -07:00
Gene Hoffmanandwjblanke 3c0e156fdf install.sh upgrades node.js on Ubuntu < 20.04 2020-06-08 17:17:48 -07:00
Gene Hoffmanandwjblanke caa71e83ce Place azure actions in venv - rename Mojave DMG, add npm fix to all (#241)
* Build in venv on azure
* Add npm audit fix, add venv to most steps on all runners
* Clean azure action, add npm fix to install.sh
* Rename azure pipeline Mojave DMG, prettify
2020-06-01 08:56:59 -07:00
Gene Hoffmanandwjblanke 5453ea046e install-timelord handles cmake, python3.8 - rename and clean build-ubuntu-mac.yml (#234)
* cleanup and rename build-ubuntu-mac.yml
* Remove vestiges of GH workaround for ubunutu/node and update Changelog
* timelord-install now handles cmake installation on Ubuntu b4 20.04LTS
* Bump chiavdf to fix timelord install, and bump chiapos for a fix
2020-06-01 08:56:59 -07:00
b964d86a5f Electron react (#226)
* clean react
* add material ui
* add word list
* mnemonic v0
* jeepney backup
* keychain usage
* wallet api
* mnemonic ui
* mnemonics redux state
* handle exceptions correctly
* dashboard
* wallets
* get puzzle hash
* tx history
* sidebar
* start stop wallet node
* use existing mnemonics
* status info
* create cc wallet
* theme should be outside of switch
* create offer
* dbus alternative for linux
* key migration
* don't autocomplete, don't reset simulator db
* reset mnemonics
* Refactor keychain, and key migration
* Implement UI for changing keys
* Removing keys and mnemonic button
* Start making farmer and harvester RPCs
* start rpx for simulator
* Harvester and farmer websocket, and basic UI
* Plot display and deletion
* launch daemon on start
* State changes from full node, harvester, farmer, and full node ui improvements
* split balances in react
* pending change balance
* plotter
* dev config
* maintain connection / retry
* Remove electron-ui, and style fixes
* Better farmer and full node control
* Remove electron ui references
* Uncomment out starting the dameon
* Remove timelord tab, and change full node style
* Clean up new wallet login
* Refactor RPCs
* Now that the GH runner uses python 3.7.7 - use for windows installer
* add balance split to coloured coin wallet
* spendable balance fix
* Import private key from UI fix
* mac build/installer

Co-authored-by: Mariano Sorgente <sorgente711@gmail.com>
Co-authored-by: Lipa Long <lipa@chia.net>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
2020-06-01 08:56:59 -07:00
Gene Hoffman 381840dbd9 Minor fixes to cli, install.sh, README.md 2020-04-26 19:37:01 -07:00
Richard Kiss 2eb4fd7b8e Squashed commit of merge conflicts. 2020-04-21 23:31:20 -07:00
Gene HoffmanandRichard Kiss 55a4637e86 install nodejs-dev node-gyp libssl1.0-dev for Github ci 2020-04-21 22:55:21 -07:00
Gene HoffmanandRichard Kiss 1fcae84c19 Add nodejs-dev - github's 18.04 runner is broken.. 2020-04-21 22:55:21 -07:00
Gene HoffmanandRichard Kiss d3939e318d Add node-gyp to install.sh - test ci 2020-04-21 22:55:21 -07:00