Commit Graph

83 Commits

Author SHA1 Message Date
mhchia
0fbf45d8ca
Pin the versions
Especially, use the latest multiaddr
2019-07-20 22:42:18 +08:00
mhchia
0188985918
Change packages in setup
Previously, only the top level `libp2p` is included.
This left only `__init__.py` in the built distribution.
Use `setuptools.find_packages` with `exclude` instead, to avoid tiringly
list all of the subpackages.
2019-07-09 23:29:03 +08:00
Alex Stokes
c934100526
Pin the version of multiaddr we require.
Temporary workaround for https://github.com/multiformats/py-multiaddr/issues/47
2019-05-16 11:15:23 -04:00
Robert Zajac
9052e8f8bd
The Gossipsub PR (#162)
* Add handle_rpc call to pubsub

* Scaffold gossipsub functions

* Add timer

* Implement most of mesh construction

* Implement emit and handle

* Implement fanout heartbeat

* Refactor emit

* some gossipsub cleanup and test

* minor lint stuff, more to come

* Implement publish

* Fix comment

* Modify pubsub/gossipsub so that floodsub tests pass using gossipsub router

* Add floodsub tests to gossipsub

* Handle case where select_from_minus, num_to_select > size(pool-minus)

* Add topic membership

* Implement handle ihave

* Implement most of iwant

* Add mcache.add and comments

* Refactor handle_ihave

* Implement stream write in handle_iwant

* Implement gossip heartbeat

* unresolved vars

* initial mcache code

* documenting mcache

* writing test/debugging mcache

* finished mcache test and debugged

* Make gossipsub backward compatibility its own file

* remove mcache prints

* DEBUGGING

* Add sender_peer_id to handle_rpc to get gossip test passing

* Modify gossipsub to make fanout work

* fanout maintenance test

* debugging gsub GOSSIP

* DEBUGGING

* debugged sender seen cachce

* adding lru, removing prints

* pylint cleanup

* Fix github comments in PR

* minor floodsub possible bugfix
2019-05-06 23:44:13 -04:00
Piper Merriam
84d2b22a7b
switch to native pypy markdown support 2019-05-01 14:32:48 -06:00
Christoph Burgdorf
720b2cf3d2 Add mypy support 2019-04-26 18:22:24 +02:00
Robert Zajac
db7f890e93
remove unused umsgpack (#155) 2019-04-21 12:16:24 -04:00
zixuanzh
002a46f0d4 add dependencies 2019-04-17 21:25:02 -04:00
ZX
14da7d49fe
Merge branch 'master' into peer_routing 2019-04-17 21:22:37 -04:00
zixuanzh
3c6ad886bb add dependencies 2019-04-17 21:21:17 -04:00
zixuanzh
1f3aaded1d add lru-dict as requirement 2019-04-05 21:45:31 -04:00
zixuanzh
a81628f99d update dependencies 2019-03-28 15:42:55 -04:00
David Sanders
5e6dc29991
Update default author email 2019-03-26 12:11:50 -06:00
David Sanders
de4bdf9e30
Remove attribution to specific person 2019-03-25 15:14:04 -06:00
ZX
732a15ec93 Bump version to Python 3.7 (#121)
* bump version

* enable 3.7 in travis
2019-02-09 21:40:05 -05:00
David Sanders
dd74824840
Add docstring checking with pydocstyle 2019-01-24 13:57:17 -07:00
Jason Carver
caf9050a19 Drop py3.5, add py3.7 2019-01-15 16:06:18 -08:00
Alexander Koshkin
d629a0c85e Fix examples/chat/chat.py. Extract test requirements to .travis.yaml file. 2019-01-09 22:01:46 +03:00
Alexander Koshkin
ce6ddb27a9 Migrate to new project structure. 2019-01-09 21:38:56 +03:00
Alexander Koshkin
880ae748d1 Delete requirements.txt file, add setup.py instead. 2019-01-09 20:57:41 +03:00
Jason Carver
af727b97f2
Merge pull request #8 from davesque/twine
Use twine for pypi uploading per packaging docs
2018-06-07 12:02:28 -07:00
David Sanders
d3537cf1ab
Update eth-utils version requirement 2018-06-07 12:27:07 -06:00
David Sanders
016f48d17d
Use twine for pypi uploading per packaging docs
See here:
https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives
2018-06-06 19:35:31 -06:00
David Sanders
0a83658b3e
Lint in setup.py 2018-06-04 16:37:52 -06:00
David Sanders
e7d0a8577b
Fix testing dependencies 2018-06-04 16:37:38 -06:00
Jason Carver
84ecb7effc require python 3.5 during setup (and reject py4) 2018-04-10 10:16:17 -07:00
Jason Carver
1695a3b326 bugfix: setuptools reference to pypy 2018-02-06 16:04:41 -08:00
Jason Carver
7bfa2ac5d4 add pypy3 as a supported environment, by default 2018-02-06 15:55:49 -08:00
Jason Carver
9a7d72a816 pytest default settings, plus pytest-watch 2018-01-30 15:38:42 -08:00
Jason Carver
0e57d8e262 when do you not want ipython in local dev? never 2018-01-30 15:18:59 -08:00
Jason Carver
ca670f43a4 start at devnum 0 so the first bump goes to 1 2018-01-24 16:35:36 -08:00
Jason Carver
4a8b7b06af shorten extra name for documentation install 2018-01-24 16:33:03 -08:00
Jason Carver
a7955a560e init 2018-01-24 16:00:28 -08:00