Commit Graph

42 Commits

Author SHA1 Message Date
505d3b2a8f Bump version: 0.2.8 → 0.2.9 2025-07-09 15:19:54 -06:00
cbe2b4bd99 Merge branch 'main' into limit_concurrency 2025-06-30 07:47:12 -07:00
983a4a001c Fix pre-commit checks 2025-06-26 15:26:09 +05:30
67bcad1674 Refactored mDNS example and added script for example 2025-06-24 14:25:41 +05:30
89ed86d903 feat: add logging for mDNS peer discovery and update dependencies 2025-06-24 14:25:40 +05:30
0f483dd744 Bump version: 0.2.7 → 0.2.8 2025-06-10 11:31:46 -06:00
f27f4ddd85 remove references to removed setup.py (#674) 2025-06-10 11:24:34 -06:00
c83fc1582d build(deps): bump fastecdsa from 1.7.5 to 2.3.2 (#669)
Bumps [fastecdsa](https://github.com/AntonKueltz/fastecdsa) from 1.7.5 to 2.3.2.
- [Release notes](https://github.com/AntonKueltz/fastecdsa/releases)
- [Changelog](https://github.com/AntonKueltz/fastecdsa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/AntonKueltz/fastecdsa/compare/v1.7.5...v2.3.2)

---
updated-dependencies:
- dependency-name: fastecdsa
  dependency-version: 2.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-09 12:44:45 -06:00
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
386f0a2299 Bump version: 0.2.6 → 0.2.7 2025-05-22 15:27:03 -06:00
e076a038bc Bump version: 0.2.5 → 0.2.6 2025-05-12 13:46:14 -06:00
9798db3932 fix towncrier config and correct links in release_notes 2025-05-12 13:22:12 -06:00
0225d188c8 Bump version: 0.2.4 → 0.2.5 2025-04-14 11:12:26 -06:00
71b3bf2a55 Bump version: 0.2.3 → 0.2.4 2025-03-27 15:53:49 -06:00
479b12f64d Bump version: 0.2.2 → 0.2.3 2025-03-27 14:47:07 -06:00
4e64347f1e Bump version: 0.2.1 → 0.2.2 2025-02-20 09:15:39 -07:00
460db3dce8 merge template, fill vars, lint 2025-01-25 14:43:45 -07:00
45cdd1a4da Bump version: 0.2.0 → 0.2.1 2024-12-20 11:58:50 -07:00
3e4420e9c2 Bump version: 0.1.5 → 0.2.0 2024-07-09 11:23:05 -06:00
d8d0f05a88 update default docs and release process, drop bumpversion for
bump-my-version
2024-05-21 14:01:08 -06:00
ea09f5ff5c Store Docs Artifacts (#133)
* Store artifacts in docs CI

* Force `pytest` import above all else
2024-05-02 16:36:41 -06:00
eea065fb57 reorg test structure to match tox and CI jobs, drop bumpversion for bump-my-version and move config to pyproject.toml, fix docs building 2024-04-20 09:18:26 -06:00
e29e67f4f0 update isort config and multi-platform grepping in Makefile 2024-03-22 13:29:33 -06:00
383ffcb12c fixed noise_state returns bytearray where we want bytes, add slow to pytest markers 2024-03-09 11:02:22 -07:00
42605c0288 merge template updates and refill vars 2024-02-19 14:49:30 -07:00
30e3c1de20 toml bools should be lowercase w/o quotes 2024-01-09 12:06:27 -07:00
662b35d09a Update pyproject.toml
Add description of pydocstyle D415 rule
2023-10-12 12:14:28 -06:00
86440ee879 add autoflake to lint and move config to pyproject.toml 2023-10-12 12:11:12 -06:00
23a192f62c change references to doc to all be docs 2023-05-03 14:20:55 -06:00
da9b95f37c introduce contributing doc + main branch convention (#84) 2023-05-01 15:19:16 -06:00
484b6b55cd Template updates post ssz and ethabi (#82)
* add updates found when merging template with py-ssz and eth-abi

* add wheel and wheel-windows to ci and reorg
2023-05-01 15:19:15 -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
2e22e2d0b6 Add breaking change type to newsfragment (#61)
* Add breaking change type to newsfragment

* Move breaking-change -> breaking
2022-05-20 14:12:01 -06:00
27d0c7f0e5 Customize section title, because default is bad
It has weird capitalization rules, in particular.
2020-09-24 08:47:17 -07:00
f28227729c Customize release notes title
towncrier likes to capitalize things, so libp2p was showing up as
Libp2P. Uuuugly.
2019-11-27 16:09:27 -08:00
d589daf00d Fill in template variables 2019-11-26 13:33:57 -08:00
27da312285 Splice in project template
I tried to merge it so that future updates from the template will be
much easier.

The template is hosted at:
https://github.com/ethereum/ethereum-python-project-template
2019-11-26 13:30:41 -08:00
89363b2d9b Add internal type for release notes 2019-11-25 21:44:29 +01:00
02fe35663c Setup towncrier to generate release notes 2019-11-25 21:44:29 +01:00
87375e0f23 Use the default line length for black ('no configuration')
and update `isort` to a stable configuration given the black line length
2019-08-13 14:36:05 -07:00
251422a234 Match black line length to flake8 line length 2019-08-04 12:37:41 +08:00
4fef80595c Skip pb files in linters
In isort, black, and flake8, respectively.

Add `format` in Makefile

Run top level packages only

With `setup.py`, to avoid running other unrelated directories.

Refactor
2019-08-03 23:34:56 +08:00