Skip to content

Use apt-get instead of apt for scripts#2571

Merged
camfairchild merged 1 commit intostagingfrom
fix/use-apt-get
Jan 9, 2025
Merged

Use apt-get instead of apt for scripts#2571
camfairchild merged 1 commit intostagingfrom
fix/use-apt-get

Conversation

@camfairchild
Copy link
Contributor

This PR changes the Dockerfile and the install script to only use apt-get instead of apt.

apt is meant to be used interactively, so this use is better suited to apt-get

@camfairchild camfairchild merged commit b3c0ab7 into staging Jan 9, 2025
16 checks passed
@camfairchild camfairchild deleted the fix/use-apt-get branch January 9, 2025 23:56
@ibraheem-abe ibraheem-abe mentioned this pull request Jan 17, 2025
camfairchild added a commit that referenced this pull request Jan 17, 2025
* Updates tests for btwallet 3.0.0

* fix get_delegates result decoding

* Feat/use tx pool for set weights (#2534)

* use the tx pool for setting/committing weights

* add supports rpc method with cache

* handle when state call is not possible (unlikely)

* increment next index by one for correct nonce

* use for set sync set weights also

* oops, define in subtensor for sync methods

* make tests less specific

* try e2e test for commit weights

* modify comments on test

* add root set test helper

* try upping submit timeout

* add set weights e2e test

* use high timeout on tests

* add awaits and log netuid

* chore: ruff

* use sudo_set_admin_utils instead

* don't increment next index for nonce

* dont await sudo_set_admin_utils

* lower test ext timeout to 12

* enable reg during test

* use set hyp values instead

* sleep after setting reg allowed

* fix test_set_weights_uses_next_nonce

* Use asyncstdlib for lru_cache of `AsyncSubstrateInterface.supports_rpc_method`

* Increases sleep for txs in test_set_weights_uses_next_nonce

---------

Co-authored-by: Benjamin Himes <37844818+thewhaleking@users.noreply.github.com>
Co-authored-by: ibraheem-opentensor <ibraheem@opentensor.dev>
Co-authored-by: Benjamin Himes <benhimes@opentensor.dev>

* fix tests

* add connection limit error handler

* add test

* Backmerge master to staging post 851 (#2557)

Bumps version and changelog

* improve handler

* add async commit reveal impl

* add new logic to async_subtensor

* add unit tests

* ruff

* add uid check before processing

* fix test

* Use apt-get instead of apt for scripts (#2571)

apt --> apt-get

* fix _do_stake incorrect arguments error in staking.py

add_stake sdk (after pybytes error is fixed in delegate_info.py) another error occurs, because _do_stake is incorrectly called on line 124 in staking.py returning an invalid arguments error, must add self (subtensor) param to fix this error.

* Updates subtensor branch for e2e

* tests fix

* Bumps cr3 ffi

* Bumps version and changelog

* Updates changelog

---------

Co-authored-by: Roman <167799377+roman-opentensor@users.noreply.github.com>
Co-authored-by: Cameron Fairchild <cameron@opentensor.dev>
Co-authored-by: Benjamin Himes <37844818+thewhaleking@users.noreply.github.com>
Co-authored-by: Benjamin Himes <benhimes@opentensor.dev>
Co-authored-by: Roman <roman@opentensor.dev>
Co-authored-by: Assh-codes <121989988+Assh-codes@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants