848 Commits
Author SHA1 Message Date
7f3ae1c062 Comment out arch linux install test (#19235)
* Comment out arch linux install test

* Better documentation

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

* Update test-install-scripts.yml

* Update test-install-scripts.yml

---------

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-02-05 20:45:12 -07:00
bbc8d253d3 avoid asyncio bug in 3.12.8 (#19225)
* avoid asyncio bug in 3.12.8

* Update .github/workflows/test-single.yml

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

* Update .github/workflows/test-single.yml

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

* Update .github/workflows/test-single.yml

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

---------

Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-02-05 18:19:02 -07:00
26217db138 fix new actionlint/shellcheck complaint (#19163) (#19174)
* dump shellcheck and actionlint versions in ci

* forward slashes

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2025-01-27 13:40:25 -07:00
ChiaAutomationandGitHub bc6eb45646 Update Managed Files (#19064)
Update dependabot
2025-01-02 10:14:04 -07:00
Kyle AltendorfandGitHub b6b4ea1c73 add chia dev gh test for launching configured test runs (#18922)
* add chia dev gh test for launching configured test runs

* empty again

* better

* use the actual authenticated username

* more output

* helpful errors for invalid --only value

* tidy short help

* add at least an invalid --only test case

* prepare a long help

* add gh api runner helper

* use the commit hash for the temporary branch

* and uuid too

* fix up os selection

* add `--remote`

* load a url for a specified `--ref` as well

* both helps

* show defaults in `--help`

* help touchup

* Revert "show defaults in `--help`"

This reverts commit 5d7f4868e0.

* r

* add an actual dispatch test skeleton

* do not conflict check `tmp/**`

* assert a bit more about the resulting run

* oops

* skip the test for now

* pre-commit
2024-12-19 11:32:56 -07:00
ChiaAutomationandGitHub 214ecf79db Update Managed Files (#19012)
Update dependabot
2024-12-10 12:43:35 -07:00
Amine Khaldi 225a73d5e8 Merge commit '0d40f9f27dcef5ad235d516b793244aaa6a87720' into checkpoint/main_from_release_2.5.0_0d40f9f27dcef5ad235d516b793244aaa6a87720 2024-12-09 11:43:16 +01:00
Kyle AltendorfandGitHub 0d40f9f27d fixup installer workflow version coherence with poetry (#18997) 2024-12-06 16:19:14 -07:00
ChiaAutomationandGitHub 9b2e88f29e Update Managed Files (#18991)
Update dep-review
2024-12-05 13:04:56 -06:00
Earle LoweandGitHub c59eeec526 backport Remove 3.8 from release (#18989)
* backport Remove 3.8 from release

* remove 3.8 from pyproject.toml as well

* black fix

* go back to the check for 7 which is wrong, but wrong in a consistent way for main
2024-12-05 09:12:24 -07:00
Kyle AltendorfandGitHub 9cebffdbdb actionlint without VALIDATE_GITHUB_ACTIONS: true (#18962)
* `VALIDATE_GITHUB_ACTIONS: true`

* fixups

* there

* and the config...

* wrong way, back again

* shellcheck

* tweak

* wrong place

* see ya super-linter

* Revert "wrong place"

This reverts commit 478fde7b2e.

* -shellcheck

* reintroduce actionlint/shellcheck issue to show failure

* Revert "reintroduce actionlint/shellcheck issue to show failure"

This reverts commit 24b034522f.

* blech
2024-12-03 10:30:20 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9b7bb5b36d build(deps): bump peter-evans/create-pull-request from 6 to 7 (#18553)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-03 08:50:23 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a33f40228d build(deps): bump github/super-linter from 6 to 7 (#18552)
Bumps [github/super-linter](https://github.com/github/super-linter) from 6 to 7.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/super-linter/compare/v6...v7)

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-02 11:22:27 -07:00
Kyle AltendorfandGitHub bcf5a6580f squash emoji-suppressing typo (#18911) 2024-11-26 14:22:09 -07:00
Kyle AltendorfandGitHub c6ad3b4cb8 add arch emojis 🌀💪✳️ (#18864)
* add arch emojis 🌀💪✳️

* fixup
2024-11-13 12:54:06 -07:00
ChiaAutomationandGitHub 315f4bfa3a Update Managed Files (#18821) 2024-11-06 10:03:40 -07:00
Matt HauffandGitHub 2808ee2446 [CHIA-1681] Replace black with Ruff (#18813)
* Replace black with Ruff

* Change build_network_protocol_files.py
2024-11-04 15:22:18 -07:00
ChiaAutomationandGitHub 6ba63a2987 Update Managed Files (#18777)
Update dep-review
2024-11-04 11:44:41 -07:00
Matt HauffandGitHub 73e4a5bbea [CHIA-1680] Finish replacing flake8 with Ruff (#18802)
* Apply ruff unsafe fixes

* Manually fix tuples with `as`

* Remove all references to flake8
2024-11-04 08:59:57 -07:00
Kyle AltendorfandGitHub 68adc506c5 add native linux arm install script testing (#18776)
* add native linux arm install script testing

* correct

* shorter

* oops

* Update test-install-scripts.yml
2024-10-30 11:26:20 -07:00
Matt HauffandGitHub 6084112d48 [CHIA-1553] Replace pylint with ruff (#18759)
* Replace pylint with ruff

* poetry

* remove pylint

* Address comments by @altendky

* Undo formatting

* actually undo formatting
2024-10-25 15:55:37 -07:00
Kyle AltendorfandGitHub 9c8557a1f8 Remove Python 3.8 support and update source to 3.9 standards (#18687)
* manual python 3.8 removals

* poetry

* pyupgrade

* black

* isort

* manually tidy imports

* work around shadowed type

* catch up build network protocol files for pyupgrade changes

* placate pylint

* re-enable 20.04

* placate flake8
2024-10-16 14:21:15 -07:00
Kyle AltendorfandGitHub b4137651b6 maybe fixup main coverage diff (#18645)
maybe fixup `main` coverage diff
2024-09-30 11:02:21 -07:00
Earle LoweandGitHub 44db523f9d [CHIA-1486] Update to macOS 13 for build and test (#18640)
Update to macOS 13 for build and test
2024-09-25 14:58:30 -07:00
Kyle AltendorfandGitHub 6560be415c increase compatibility with upload action v4.4.0 (#18551)
* increase compatibility with upload action v4.4.0

https://github.com/actions/upload-artifact/releases/tag/v4.4.0

* Update test-single.yml

* Update test.yml

* Update test.yml

* Update test-single.yml
2024-09-05 05:50:28 +08:00
Arvid NorbergandGitHub ab8ea7eb3c update long-reorg tests along with the reorg test chains (#18517)
update long-reorg tests along with the reorg test chains, to make the fork point be at a height > 0
2024-09-03 23:21:51 +08:00
Kyle AltendorfandGitHub ddfd1f9567 correct concurrency groups (#18498)
* correct concurrency groups

* ref
2024-08-19 15:27:05 -07:00
Kyle AltendorfandGitHub a3c0cd3c57 poetry cache (#18479)
* enable poetry mode for python package cache

* test the branch

* Revert "test the branch"

This reverts commit d785413ede.
2024-08-19 23:53:39 +08:00
Kyle AltendorfandGitHub 1bebbdc688 simplify the concurrency group (#18309)
* simplify the concurrency group

* empty
2024-08-19 23:52:51 +08:00
Kyle AltendorfandGitHub bee296a6d2 build both sdist and wheel for upload to pypi (#18356) 2024-07-29 12:30:17 -07:00
Kyle AltendorfandGitHub 740282a636 add poetry check ... well, check (#18357)
* add poetry check ...  well, check

* add poetry check to pre-commit

* touchup

* Update activated.sh

* Update activated.ps1
2024-07-29 12:30:05 -07:00
Kyle AltendorfandGitHub 5ec2b54399 only upload torrent for gui installers (#18338)
https://github.com/Chia-Network/chia-blockchain/actions/runs/9995431619/job/27628175412
2024-07-18 13:08:02 -07:00
Kyle AltendorfandGitHub a7ad644c5a friendly name for installer publishing jobs (#18336) 2024-07-18 09:39:51 -07:00
Kyle AltendorfandGitHub a9ad2aceb7 consistently use concurrency-name (including correcting errors) (#18335) 2024-07-18 09:39:40 -07:00
Kyle AltendorfandGitHub 812cea3a21 correct secret passing to new reflow-publish-installer (#18331) 2024-07-17 13:51:22 -07:00
Kyle AltendorfandGitHub 3983600165 publish torrent for prereleases as well as full releases (#18332)
* publish torrent for prereleases as well as full releases

* Update reflow-publish-installer.yml
2024-07-17 13:51:10 -07:00
ChiaAutomationandGitHub 55a87b9f3b Update Managed Files (#18308)
* Update dependabot

* Update prettier
2024-07-16 11:04:07 -07:00
Kyle AltendorfandGitHub c6b44f3150 add reflow-publish-installer (#18311)
* add reflow-publish-installer

* fixup

* fixup

* fixup

* fixup

* fixup

* fixup

* fixup

* fixup
2024-07-16 11:03:19 -07:00
Kyle AltendorfandGitHub a4984ede74 ** for actions-reviewers (#18312) 2024-07-16 11:03:00 -07:00
Kyle AltendorfandGitHub dbce6ed28c use Chia-Network/actions/git-ssh-to-https@main in windows (#18221) 2024-07-16 08:22:14 -07:00
Kyle AltendorfandGitHub 0b6360f601 refactor installer publish jobs (#18220)
* first pass

* correct linux

* some macos

* windows

* rpm

* tidy

* remove extension from variable names

* some

* yep, we use it

* matchy matchy

* fixup

* fixup

* almost the same

* fixup

* fixup

* fixup

* maybe

* fixup

* INSTALL_PATH

* fixup

* fixup

* file-arch-name

* fixup

* fixup

* fixup

* windows diagnostics

* fixup

* fixup

* windows diagnostics

* fixup

* fixup

* absolute

* one more time (until the next time)

* more

* yep

* maybe

* perhaps

* possibly

* tidy

* tidy

* more generic

* correct endpoints for gui vs. cli glue calls
2024-07-15 13:35:49 -07:00
Kyle AltendorfandGitHub dfa0557ca2 attempt to "commonize" prettier config (#18297)
* attempt to "commonize" prettier config

* apply to md

* manual touchup
2024-07-15 12:36:34 -07:00
StarttoasterandGitHub e32728d4fa Switch curl requests to github-glue action (#18300)
* Switch curl requests to github-glue action

* Prettier situationally prefers double quotes so make the bot happy

* Add name lines back to start release job steps

* Use github format environment variable in sync test start steps

* Remove redundant github-jwt step since that is wrapped in the glue action
2024-07-12 09:09:44 -07:00
Chris MarslenderandGitHub f2765229cd Target macos-13-arm64 runners instead of [MacOS, arm64] (#18298) 2024-07-11 22:37:13 -05:00
StarttoasterandGitHub 06b4a26024 checkpoint: into main from release/2.4.2 @ b6b61999ea (#18296)
Source hash: b6b61999ea
Remaining commits: 3
2024-07-11 14:33:44 -07:00
ChiaAutomationandGitHub a72298f302 Update Managed Files (#18290)
Update dep-review
2024-07-11 11:20:46 -07:00
Amine Khaldi dadddaa9bc Merge commit 'b6b61999ea5ace43ea4d625fa2156593081d93df' into checkpoint/main_from_release_2.4.2_b6b61999ea5ace43ea4d625fa2156593081d93df 2024-07-11 12:00:19 +01:00
6d9219b0c4 CHIA-597: Use poetry for package management (#11057)
* preliminary setup with poetry

* don't worry about locking the poetry env for the exploration right now

* recover black config in pyproject.toml

* install.sh for linting workflow

* pull chiavdf version from poetry in install-timelord.sh

* activate etc in upload and lint workflow

* debug poetry show output on macos

* update to clvm-tools 0.4.4

* add back setproctitle

* catchup deps

* lock

* allow 3.10

* debug

* make Install.ps1 use poetry as well

* -ErrorAction Ignore

* more todo about python version selection

* make install-timelord.sh modifications more posix compliant

* gitignore .penv* and .venv* as well

* remove requirements.penv.txt

* get artifact check requirements from poetry

* fix .gitignore for venv symlink

* separate out poetry setup

* :

* comment out code to be worked on

* setup poetry for dependency check

* ignore new poetry symlink

* chia_rs==0.1.4

* a few updates

* some missed updates `:[`

* update some types libs

* fix extras

* activate

* just use `python` somewhere

* for windows

* less symlinking for windows

* oops

* s

* more

* # shellcheck disable=SC2086

* activate action

* more python version

* lock up

* include ipython (for python >=3.8)

* add miniupnpc extra

* add poetry-dynamic-versioning

* type it out

* better match dev versioning

* catch up and delete setup.py again

* lock

* add pytest-cov

* .penv/bin/poetry

* .venv for windows activation

* update pytest-xdist

* install upnp extra

* upnp

* quote

* maybe update some deps

* mandatory and string

* oops

* slighty tidy

* debug pip list

* debug

* pybind11 maybe instead?

* remove pip install debugging

* debug without upnp nor pypi.chia.net

* chiavdf==1.0.8

* bring back upnp

* re-enable upnp

* diagnostic exception reraise

* .exe?

* diagnostics

* .cmd...?

* light tidy

* more cleanup

* make dependency check script not cwd dependent for finding the poetry env

* correct sh substitution

* lock

* coverage 7

* todo cleanup

* poetry update

* interesting

* windows too

* support non-editable install via scripts again

* oops

* again

* sheesh

* fixup

* more

* more

* Update dependencies

* various pre-commit linter updates

* add pyupgrade to extras list

* use priority=supplemental instead of secondary

* Add in some missing deps

* update setuptools and pyinstaller to match main

* venv->.venv

* lint fixes

* update a few packages for 3.12 support

* get zstd from chia resource for python 3.12

* Adjustments to dynamic versioning

* experiments with versioning

* test fixes

Signed-off-by: Earle Lowe <e.lowe@chia.net>

* fixup last commit

* include upnp as extra when installing on windows

* include mozilla-ca as a package for the cacert.pem file

* some windows tweaks

* use SPECPATH as anchor path in pyinstaller.spec file

* Add lxml as dev dependency

* Fixup typo in lxml version

* Update some packages to resolve GH vuln reports

* Update more packages to resolve GH vulns

* Ignore pylint license in depedency checker

* match installation of the dynamic version plugin on windows

* Fix issues with setting windows environment and use pip to install plugin per poetry docs recommendation

* properly apply non-editable option with -i

* use -f with ln to remove existing file as needed

* use shell=true for subprocess to help windows run chia if it's a .cmd

* Update .coveragerc

* use shutil.which() to find chia executable in a cross platform way

* mypy fixes

* Address conflicts for numpy based on python version

* Update lock file

* Remove troublesome reference to pypi source

* Add TODOs for manual install of poetry-dynamic-versioning plugin

* Use poetry dynamic versioning to figure out the version rather than setuptools_scm

* Update .github/workflows/reflow-version.yml

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

* Update .github/workflows/test-single.yml

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

* Update urllib3

* Attempts to get dynamic versioning to output something semver

* more versioning finangling

* lint pyproject.toml

* Update certifi

---------

Signed-off-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <e.lowe@chia.net>
Co-authored-by: Earle Lowe <30607889+emlowe@users.noreply.github.com>
2024-07-10 08:47:11 -07:00
Kyle AltendorfandGitHub bccda243b7 increase linting timeouts to account for slow fmt bandwidth to github (#18277) 2024-07-09 09:53:45 -07:00
Amine Khaldi 43cd5e1635 Merge commit '7c54e60910c6db80c2a7d92ed4f2d500e8e7179c' into checkpoint/main_from_release_2.4.1_7c54e60910c6db80c2a7d92ed4f2d500e8e7179c 2024-07-08 17:47:07 +01:00