5773 Commits
Author SHA1 Message Date
wallentx 0f5a6df4ff Adding correct items to changelog 1.3.5 2022-05-11 11:43:58 -05:00
wallentx 201603b203 Updating CHANGELOG.md with corrections 2022-05-11 10:51:00 -05:00
wallentx 01cea1b4b3 Formatting CHANGELOG.md for 1.3.5 2022-05-11 10:29:04 -05:00
wallentx d77d2d017b Updating CHANGELOG.md with 1.3.5 2022-05-11 10:16:53 -05:00
wjblankeandChris Marslender b396c3e76d updated gui to 32245d869c70eedbb2a5fe77618b107dda70a647 (#11471) 2022-05-09 12:38:12 -07:00
wallentx 4d29bbcecf updating gui for 1.3.5 dogfood build 2022-05-06 16:15:26 -05:00
wjblankeandwallentx 526eef4b5c updated gui to 748f99f285cbfd0ccbdadd97adab34b2a4046889 (#11461) 2022-05-06 16:14:16 -05:00
dustinfaceandxdustinface 8f7f439202 harvester: Tweak get_plots RPC (#11246) 2022-05-04 10:46:11 +02:00
06684f96d5 streamable: Enable isort + more mypy (#10539)
* isort: Fix `streamable.py` and `test_streamable.py`

* mypy: Drop `streamable.py` and `test_streamable.py` form exclusion

And fix all the mypy issues.

* Fix `pylint`

* Introduce `ParseFunctionType` and `StreamFunctionType`

* Use `object` instead of `Type[Any]` for `is_type_*` functions

* Some `Any` -> `object`

* Use `typing.overload` for `recurse_jsonify`

* Move some comments

* Drop `Union`, use `Literal` properly

* Explicitly ignore the return of `f_type.parse`

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Merge two `recurse_jsonify` overloads

* Typing for the base definition of `recurse_jsonify`

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-05-04 00:10:06 -05:00
dustinfaceandxdustinface e1255c91b2 farmer|gui: Enable paginated plot loading and improved state reporting (#11367)
* farmer: Adjust notifications from the farmer to the UI

- Only send the data for the harvester which actually sent an update
- Notify for each loaded batch during initial loading

* Enable improved farmer/harvester GUI
2022-05-04 02:23:18 +02:00
8363617557 farmer|rpc|tests: Implement paginated harvester plot endpoints (#11365)
* farmer|rpc|tests: Implement paginated harvester plot endpoints

* Simplify filtering

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Let the API handle the exceptions

* Simplify the other filtering too

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Simplify count assertions

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Refactor `is_filter_match` to `plot_matches_filter`

And just convert to `Plot` in tests.

* Move `chia.util.misc.KeyValue` to `chia.rpc.farmer_rpc_api.FilterItem`

* Rename `peer_id` to `node_id` to be match `get_harvesters_{summary}`

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-05-04 02:21:46 +02:00
dustinfaceandxdustinface 946d216835 test: Give setup_farmer and setup_harvester a separate chia root (#11408)
* test: Give `setup_farmer` and `setup_harvester` a separate chia root

* test: Wait for `last_sync_time` in `get_harvesters_{summary}`

To make sure the first sync from the harvester to the farmer is done 
before we check plot counts.
2022-05-04 02:21:05 +02:00
dustinfaceandxdustinface 5482086bd9 farmer|rpc: Add plot_count to get_pool_state RPC endpoint (#11364)
* farmer|rpc: Add `plot_count` to `get_pool_state` RPC endpoint

* Test `plot_count` of `get_pool_state` farmer RPC endpoint
2022-05-04 02:20:30 +02:00
dustinfaceandxdustinface 630b401c01 util: Implement Paginator class as interface to access a list by pages (#11247)
* util: Implement `Paginator` class as interface to access a list by pages

* Be less restrictive about page sizes and refactor tests

* Make the pages based of 0 instead of 1 and some more test refactoring

* More tests

* Adjust workflows after rebase

* Introduce `Paginator.create`

* `<=` instead of `- 1`
2022-05-04 02:20:28 +02:00
dustinfaceandxdustinface 5fd88ce4dd farmer|rpc: Some changes to get_harvesters{_summary} RPC endpoints (#11342)
* farmer|rpc: Always add `last_sync_time` in `Receiver.to_dict`

This changes the resonse of `get_harvesters` and
`get_harvesters_summary` to always include that field with value
`None`/`null` if the receiver is not yet synced.

* plot_sync: Add sync state to dict in `Receiver.to_dict`

* Add `total_plot_size` to `Receiver.to_dict`

* Refactor sync object assertions

* Access `_current_sync` directly

* Generate `syncing` data outside
2022-05-04 02:20:27 +02:00
f4d2e77206 plot_sync: Introduce receiver.Sync (#11267)
* plot_sync: Introduce `receiver.Sync`

* Use `dataclasses.replace`

Co-authored-by: Kyle Altendorf <sda@fstab.net>

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-05-04 02:20:26 +02:00
dustinfaceandxdustinface 351fd1de56 farmer|rpc: Introduce get_harvesters_summary RPC endpoint (#11245) 2022-05-04 02:20:14 +02:00
Mariano Sorgenteandwallentx aeb5629a60 Fix issue with missing coins (#11338)
* raise error when request fails

* Gather when cancelling sync

* Increase timeout

* Increase timeout even more
2022-05-02 17:14:38 -05:00
Chris Marslenderandwallentx ec23a8b8ed Mark workspace safe for arm installers (#11339) 2022-04-28 03:22:19 -05:00
Chris Marslenderandwallentx 5b254884f6 Build installers on push to release branches (#11321) 2022-04-28 03:22:18 -05:00
ceaca43b35 Support for Python 3.10 (#9930)
* 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>
2022-04-28 03:22:17 -05:00
Chris Marslenderandwallentx e0deccdfbf Upload CLI RPMS to s3, create checksums, etc (#11316) 2022-04-28 03:22:16 -05:00
Kyle Altendorfandwallentx 0b0b82cb8c also m1 and arm64 for wheel checks (#11277)
* also m1 and arm64 for wheel checks

* account for self-hosted and pre-setup-python of m1 and arm64 runners

* &&

* python3

* report python version

* use docker on arm64 to get multiple python versions

* flush

* report more system information

* except pycryptodome for now

* more variables, simpler logic

* corrections

* switch to [macos, arm64]

* add python version to job name

* separate os and arch matrix axes

* reorder matrixing

* drop workflow name from job name

* oops

* skip python setup in docker cases

* drop the containers

* Update check_dependency_artifacts.py
2022-04-28 03:22:15 -05:00
Chris Marslenderandwallentx 9dcc0221f7 Update names of installer workflows so they get grouped together in the workflow listing (#11310) 2022-04-28 03:22:14 -05:00
Chris Marslenderandwallentx 38be31b187 Fix targeting for arm64 to not land on native arm64 mac runners (#11309) 2022-04-28 03:22:13 -05:00
Kyle Altendorfandwallentx 74f3ecd3d8 simplify install.sh ubuntu version tracking (#11288)
* simplify install.sh ubuntu version tracking

* quotes for bash

* undo some unintended changes
2022-04-28 03:22:12 -05:00
Kyle Altendorfandwallentx eb92556546 Add Linux Mint to test matrix (#11295)
* add Linux Mint to test matrix

* : -> / for linux mint dockers

* Prepare Linux Mint

* stop testing linux mint 21 since it reports 20.3

* names, comment, and add 19.2

* mint

* manually install requests

* trailing whitespace
2022-04-28 03:22:11 -05:00
Earle Loweandwallentx 086de8d406 Update PyYAML to 6.0 for python 3.10 (#11273) 2022-04-28 03:22:10 -05:00
Earle Loweandwallentx 728bba0e1a Remove multidict from setup.py for python 3.10 (#11272)
* Testing multidict 6.0.2

* Stop specifying multidict directly
2022-04-28 03:22:09 -05:00
Earle Loweandwallentx b6370b2515 Update setproctitle to 1.2.3 for python 3.10 (#11274) 2022-04-28 03:22:08 -05:00
Kyle Altendorfandwallentx 9f6f5f6090 Debian bookworm now uses 3.10, update the comment (#11278) 2022-04-28 03:22:07 -05:00
Kyle Altendorfandwallentx 4d6dd2f29e check dependency artifacts (#11243)
* check dependency artifacts

* remove commented out code

* find root path relative to script

* fixup stringy pathy mixup

* Update check_dependency_artifacts.py
2022-04-28 03:21:50 -05:00
dustinfaceandwallentx 398d3672d7 harvester: Use a set instead of a list to speed up availability checks (#11204) 2022-04-28 03:21:17 -05:00
dustinfaceandjustinengland 3bff0764c9 harvester: Use a set instead of a list to speed up availability checks (#11204) 2022-04-22 09:29:45 -06:00
Kyle Altendorfandjustinengland ea8cc18a86 have pyinstaller check platlib for dll's, not ROOT (#11120) 2022-04-22 09:05:48 -06:00
Chris Marslenderandjustinengland 2e42233289 Testing postinst/prerm scripts with the UI .deb (#11258) 2022-04-22 09:05:39 -06:00
Chris Marslenderandjustinengland b5a8ac3783 Add cli only rpm (#11236)
* Add cli only rpm

* Ensure rvm (fpm) is loaded before running fpm

* Use full path to fpm, since GHA seems to mess up the PATH in the container

* Add back source and add use ruby-3

* Call rpm script with bash, to see if the rvm script works

* Add --depends for libcrypt.so.1
2022-04-22 09:05:30 -06:00
Gene Hoffmanandjustinengland 547219b916 Remove 3.9.11 for Windows Installer (#11226)
And replace with just 3.9.x
2022-04-22 09:05:20 -06:00
dependabot[bot]justinenglanddependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Gene HoffmanChris Marslender
068b68fb88 Bump actions/upload-artifact from 2 to 3 (#11144)
* Bump actions/upload-artifact from 2 to 3

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Also update runner_templates

* Mark the github workspace as safe (#11159)

* Mark the github workspace as safe

* Move the git config step after git is installed in the test containers

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Gene Hoffman <hoffmang@hoffmang.com>
Co-authored-by: Chris Marslender <chrismarslender@gmail.com>
2022-04-22 09:05:10 -06:00
Kyle Altendorfandjustinengland e741fe14bf remove setting of SCM_VERSION in install-version.py (#11119) 2022-04-22 09:04:59 -06:00
Kyle Altendorfandjustinengland ddab10c7d6 locate pyinstaller in dev deps rather than build scripts (#11118) 2022-04-22 09:04:45 -06:00
Kyle Altendorfandjustinengland 6207da3278 Up Windows installer build timeout to 50 minutes (#11107)
Recent runs are mostly low 30s but some are close to 40 and one just timed out.
2022-04-22 09:04:33 -06:00
Florin Chiricaandjustinengland dbedf1d8b6 Fix timelord closing. (#10630) 2022-04-22 09:04:20 -06:00
Kyle AltendorfandGitHub a663ece4c3 fix ssl context creation for server vs. client side (#11134) 2022-04-20 11:05:52 -07:00
Kyle AltendorfandGitHub 0aaa343691 replace some asyncio.get_event_loop().run_until_complete() with asyncio.run() (#11131) 2022-04-20 11:03:31 -07:00
Kyle AltendorfandGitHub 83a740571b aiohttp==3.8.1 for Python 3.10 (#11129) 2022-04-20 11:02:45 -07:00
Chris MarslenderandGitHub 7a123afddb Fix install.sh test for bookworm (#11227) 2022-04-19 15:43:06 -07:00
Chris MarslenderandGitHub 337dbd4e5c Revert "Revert "Pin mac intel installer to 10.15 (#11209)" (#11210)" (#11211)
This reverts commit d3e73a75ab.
2022-04-19 12:53:59 -06:00
William AllenandGitHub d154105a6b Adding changelog (#11223) 1.3.4 2022-04-19 10:38:55 -07:00
William AllenandGitHub 4a6c1903b7 Adding changelog (#11223) 2022-04-19 10:38:44 -07:00