Commit Graph

28 Commits

Author SHA1 Message Date
bdadec7519 ft. modernise py-libp2p (#618)
* fix pyproject.toml , add ruff

* rm lock

* make progress

* add poetry lock ignore

* fix type issues

* fix tcp type errors

* fix text example - type error - wrong args

* add setuptools to dev

* test ci

* fix docs build

* fix type issues for new_swarm & new_host

* fix types in gossipsub

* fix type issues in noise

* wip: factories

* revert factories

* fix more type issues

* more type fixes

* fix: add null checks for noise protocol initialization and key handling

* corrected argument-errors in peerId and Multiaddr in peer tests

* fix: Noice - remove redundant type casts in BaseNoiseMsgReadWriter

* fix: update test_notify.py to use SwarmFactory.create_batch_and_listen, fix type hints, and comment out ClosedStream assertions

* Fix type checks for pubsub module

Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>

* Fix type checks for pubsub module-tests

Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>

* noise: add checks for uninitialized protocol and key states in PatternXX

Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>

* pubsub: add None checks for optional fields in FloodSub and Pubsub

Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>

* Fix type hints and improve testing

Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>

* remove redundant checks

Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>

* fix build issues

* add optional to trio service

* fix types

* fix type errors

* Fix type errors

Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>

* fixed more-type checks in crypto and peer_data files

* wip: factories

* replaced union with optional

* fix: type-error in interp-utils and peerinfo

* replace pyright with pyrefly

* add pyrefly.toml

* wip: fix multiselect issues

* try typecheck

* base check

* mcache test fixes , typecheck ci update

* fix ci

* will this work

* minor fix

* use poetry

* fix wokflow

* use cache,fix err

* fix pyrefly.toml

* fix pyrefly.toml

* fix cache in ci

* deploy commit

* add main baseline

* update to v5

* improve typecheck ci (#14)

* fix typo

* remove holepunching code (#16)

* fix gossipsub typeerrors (#17)

* fix: ensure initiator user includes remote peer id in handshake (#15)

* fix ci (#19)

* typefix: custom_types | core/peerinfo/test_peer_info | io/abc | pubsub/floodsub | protocol_muxer/multiselect (#18)

* fix: Typefixes in PeerInfo  (#21)

* fix minor type issue (#22)

* fix type errors in pubsub (#24)

* fix: Minor typefixes in tests (#23)

* Fix failing tests for type-fixed test/pubsub (#8)

* move pyrefly & ruff to pyproject.toml & rm .project-template (#28)

* move the async_context file to tests/core

* move crypto test to crypto folder

* fix: some typefixes (#25)

* fix type errors

* fix type issues

* fix: update gRPC API usage in autonat_pb2_grpc.py (#31)

* md: typecheck ci

* rm comments

* clean up : from review suggestions

* use | None over Optional as per new python standards

* drop supporto for py3.9

* newsfragments

---------

Signed-off-by: sukhman <sukhmansinghsaluja@gmail.com>
Signed-off-by: varun-r-mallya <varunrmallya@gmail.com>
Co-authored-by: acul71 <luca.pisani@birdo.net>
Co-authored-by: kaneki003 <sakshamchauhan707@gmail.com>
Co-authored-by: sukhman <sukhmansinghsaluja@gmail.com>
Co-authored-by: varun-r-mallya <varunrmallya@gmail.com>
Co-authored-by: varunrmallya <100590632+varun-r-mallya@users.noreply.github.com>
Co-authored-by: lla-dane <abhinavagarwalla6@gmail.com>
Co-authored-by: Collins <ArtemisfowlX@protonmail.com>
Co-authored-by: Abhinav Agarwalla <120122716+lla-dane@users.noreply.github.com>
Co-authored-by: guha-rahul <52607971+guha-rahul@users.noreply.github.com>
Co-authored-by: Sukhman Singh <63765293+sukhman-sukh@users.noreply.github.com>
Co-authored-by: acul71 <34693171+acul71@users.noreply.github.com>
Co-authored-by: pacrob <5199899+pacrob@users.noreply.github.com>
2025-06-09 11:39:59 -06:00
fd893afba6 delete old interop, turn on with placeholders, add py312 and py313 to CI testing 2025-05-08 13:30:00 -06:00
c416acc4bf chore: add or force update .github/workflows/generated-pr.yml 2025-04-25 05:56:13 -06:00
fcc5b662c9 chore: add or force update .github/workflows/stale.yml 2025-04-25 05:56:13 -06:00
3bdbde57c7 feat: Add Windows compatibility using coincurve 2025-03-27 15:49:30 -06:00
f6279c23ac added : demos to test ci 2025-03-23 14:46:24 -06:00
0f0d51305c fix ci not running lint, bump pre-commit-hooks version 2025-02-24 19:46:46 -07:00
20580b9a4e drop py38 from CI 2025-01-25 15:48:39 -07:00
460db3dce8 merge template, fill vars, lint 2025-01-25 14:43:45 -07:00
0cc41f5180 ci: migrate from CircleCI to GitHub Actions 2024-07-30 23:34:40 +01:00
8055103066 rename github template files, minor editing 2024-03-29 16:35:34 -06:00
94483714a3 run lint and fix errors, except mypy 2024-02-19 16:05:58 -07:00
42605c0288 merge template updates and refill vars 2024-02-19 14:49:30 -07:00
8bb1647d2c chore(cfg): update new issue templates
Signed-off-by: Dave Huseby <dwh@linuxprogrammer.org>
2024-01-26 03:26:00 -07:00
c3c29ddf43 bump pre-commit to 4.5 and add github-flavored markdown linting extension 2023-10-11 11:23:49 -06:00
2ed5fba28d Update pull_request_template.md
fix linting broke template formatting
2023-10-04 13:51:01 -06:00
7099bbaaa4 Add pre commit (#103)
* add pre-commit

* run pre-commit

* skip lint on README.md as it breaks template filling
2023-10-04 13:32:07 -06:00
b38b36862f chore: Update .github/workflows/stale.yml [skip ci] 2023-06-28 08:54:08 +00:00
6473cf03c7 chore: Update .github/workflows/stale.yml [skip ci] 2023-06-14 09:06:45 +00:00
1f5fc7208b Remove testall (#88)
* remove testall because it doesnt work
2023-05-01 15:19:16 -06:00
cc24e7e468 update tox calls to use run, update all pip calls to use python -m (#86) 2023-05-01 15:19:16 -06:00
3314247037 apply template updates found following merge with eth-typing (#81)
* apply template updates found following merge with eth-typing

* add build as a dev dependency

* remove timeout from pytest.ini, it doesn't do anything without pytest-timeout as a dep
2023-05-01 15:19:14 -06:00
89e5d8ef9c new github issue and pr templates (#75)
* new issue and pr templates
2023-05-01 15:19:12 -06:00
3ff1c9cf5d Minor refactoring / cleanup
- Clean up github PR template to remove double links to the newsfragment README.md
- Clean up some typos and make some minor refactors.
2022-11-21 17:36:43 -07:00
81a472005c chore: Update .github/workflows/stale.yml [skip ci] 2022-09-19 13:41:41 +00:00
d589daf00d Fill in template variables 2019-11-26 13:33:57 -08:00
02fe35663c Setup towncrier to generate release notes 2019-11-25 21:44:29 +01:00
3290919ff1 add github templates for issues and pull requests 2018-01-25 15:51:14 -08:00