Commit Graph
916 Commits
Author SHA1 Message Date
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
Kyle AltendorfandGitHub 03e2444f58 avoid some diff coverage processing failures (#18196) 2024-06-28 07:42:06 -07:00
Kyle AltendorfandGitHub b6b61999ea correct more macos casing (#18249) 2024-06-26 09:23:15 -07:00
Kyle AltendorfandGitHub a958f80537 remove no-op semver action from rpm build (#18224) 2024-06-24 14:06:12 -07:00
Earle LoweandGitHub 4671193cbc CHIA-802: Update to macos-12 for build and remove macos-11 (#18238)
* Update to macos-12 for build and remove macos-11

* Update MACOSX_DEPLOYMENT_TARGET
2024-06-24 11:05:23 -07:00
Kyle AltendorfandGitHub 7c54e60910 correct release case on mac (#18227)
* correct gh release upload casing of macos torrent file

(cherry picked from commit 310dbdd648)

* correct s3 upload case
2024-06-21 15:33:31 -05:00
Kyle AltendorfandGitHub 570d616cb9 add install action editable option test (#18168)
* add install action editable option test

* fixup

* job name

* shooby-doowah
2024-06-18 14:24:13 -05:00
Amine Khaldi 27ce7132e0 Merge commit '866493af56d7ddf45eb185eb2950aaf8149d47de' into checkpoint/main_from_release_2.4.0_866493af56d7ddf45eb185eb2950aaf8149d47de 2024-06-14 21:38:27 +01:00
Earle LoweandGitHub 866493af56 CHIA-752 - set permissions in postinst.sh for chrome-sandbox (#18164)
* CHIA-752 - set permissions in postinst.sh for chrome-sandbox

* Add check for permissions of chrome-sandbox

* one-liner permissions check

* prettier fix

* Update build-linux-installer-deb.yml
2024-06-13 13:37:40 -05:00
ChiaAutomationandGitHub f8bfd6363c Update Managed Files (#18149)
Update dependabot
2024-06-12 09:06:49 -05:00
Kyle AltendorfandGitHub 898c659094 CHIA-672 common version picking job for builds (#18077)
* common version picking job for macOS

* as reusable workflow

* fixup

* fixup

* all

* SETUPTOOLS_SCM_PRETEND_VERSION_FOR_chia-blockchain

* macos needs version for publish too

* SETUPTOOLS_SCM_PRETEND_VERSION_FOR_CHIA_BLOCKCHAIN
2024-06-09 00:26:16 +01:00
Earle LoweandGitHub bc5dd010ef Simplify otool check 2024-06-06 08:20:05 -07:00
Earle LoweandGitHub 78b3434b16 Workaround missing grep option 2024-06-04 16:27:03 -07:00
Earle Lowe 5028cccddb Add otool test for homebrew rpath 2024-06-04 12:14:09 -07:00
Kyle AltendorfandGitHub ee6a0d158e also upload sha256 for PRs (#18043)
* also upload sha256 for PRs

* consistently use sha256sum, not shasum
2024-05-20 16:18:29 -05:00
Kyle AltendorfandGitHub 80de44b507 Revert "temporarily exclude focal and jammy installer script testing on arm" (#18033)
Revert "temporarily exclude focal and jammy installer script testing on arm (…"

This reverts commit 1e293a9255.
2024-05-17 09:27:44 -05:00
Kyle AltendorfandGitHub 1e293a9255 temporarily exclude focal and jammy installer script testing on arm (#18031)
noble was already fixed upstream
2024-05-16 10:37:00 -05:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2b2d175f3e build(deps): bump Apple-Actions/import-codesign-certs from 2 to 3 (#18012)
Bumps [Apple-Actions/import-codesign-certs](https://github.com/apple-actions/import-codesign-certs) from 2 to 3.
- [Release notes](https://github.com/apple-actions/import-codesign-certs/releases)
- [Commits](https://github.com/apple-actions/import-codesign-certs/compare/v2...v3)

---
updated-dependencies:
- dependency-name: Apple-Actions/import-codesign-certs
  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-05-16 09:27:03 -05:00
Kyle AltendorfandGitHub bd3a638db1 fix macos installer test matrix (#18005) 2024-05-13 16:20:06 -05:00
Kyle AltendorfandGitHub f8bca89510 more macos arm and intel matrixing (#17937)
* more macos arm and intel matrixing

* one more
2024-05-07 23:01:14 -05:00
Kyle AltendorfandGitHub c89ba2897b use ubuntu-latest for all publishing (#17964)
* use ubuntu-latest for all publishing (except windows, for now)

* move windows to ubuntu

* macos adjust

* setup python more

* c

* deal with case folding to case sensitive

* also arm

* also

* leave the c C discrepancy, but work with it

* oops

* constant timeout, less release-only code
2024-05-07 17:03:51 -05:00
Arvid NorbergandGitHub a25decea32 bump timeout for publishing macOS installers to avoid timeout (#17960) 2024-05-03 11:18:13 -07:00
Amine Khaldi 8fe2dc86b0 Merge commit '11a2e29426a42d692075fe90cf6bdc0bacecd5d3' into checkpoint/main_from_release_2.3.0_11a2e29426a42d692075fe90cf6bdc0bacecd5d3 2024-05-03 15:01:33 +01:00
Kyle AltendorfandGitHub 8cedf541fe expand matrices to include ubuntu 24.04 noble numbat (#17934)
expand matrices to include ubuntu 22.04 noble numbat
2024-05-02 09:25:04 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Kyle Altendorf
a4d8a769c9 build(deps): bump github/super-linter from 5 to 6 (#17906)
* build(deps): bump github/super-linter from 5 to 6

Bumps [github/super-linter](https://github.com/github/super-linter) from 5 to 6.
- [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/v5...v6)

---
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>

* fetch-depth: 0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kyle Altendorf <sda@fstab.net>
2024-05-02 09:24:32 -07:00
Earle LoweandGitHub efde01f9ec Use python 3.11 for Arch install tests (#17947)
Update test-install-scripts.yml
2024-05-02 09:22:10 -07:00
Kyle AltendorfandGitHub e979ed1b30 improve legibility of matrix mode selection (#17924)
* to multiple lines

* regroup
2024-04-30 09:48:53 -07:00
Earle LoweandGitHub 11a2e29426 Change macos-latest to macos-12 in runners (#17936)
force use of macos-12
2024-04-29 18:30:14 -07:00
Kyle AltendorfandGitHub abb0b04142 move shfmt execution from the super linter to pre-commit (#17913)
* move shfmt execution from the super linter to pre-commit

* actually apply...
2024-04-29 09:03:10 -07:00
Kyle AltendorfandGitHub 93d5fd3723 add dispatch options for test workflow (#17818)
* inputs.build-job-matrix-arguments

* selectable os

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* Update test.yml

* debug

* empty

* empty

* maybe
2024-04-26 08:07:58 -07:00
Kyle AltendorfandGitHub 89f1a0468a exclude config.py from diff-cover as well (#17873)
* debug

* exclude `config.py` from diff-cover as well

* actually pass the config path...

* Revert "debug"

This reverts commit 863989f538.

* just `*`

* Revert "Revert "debug""

This reverts commit 0855bc795c.

* leading `*/`?

* Revert "leading `*/`?"

This reverts commit 5067869b59.

* Revert "Revert "leading `*/`?""

This reverts commit 5f09e6211e.

* Revert "Revert "Revert "debug"""

This reverts commit a788ec1691.
2024-04-16 13:31:20 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c8a247b12e build(deps): bump peter-evans/create-pull-request from 5 to 6 (#17504)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6)

---
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-04-16 13:21:41 -07:00
Patrick MaslanaandGitHub 40a8af39b6 checkpoint: into main from release/2.3.0 @ 6c9636b2ad (#17841)
Source hash: 6c9636b2ad
Remaining commits: 0
2024-04-15 12:07:57 -07:00