File tree Expand file tree Collapse file tree 5 files changed +307
-4
lines changed Expand file tree Collapse file tree 5 files changed +307
-4
lines changed Original file line number Diff line number Diff line change 4040 run-test : true
4141 run-build : false
4242
43+ release-artifacts :
44+ runs-on : ubuntu-latest
45+ needs :
46+ - [build-package, cross-test]
47+ permissions :
48+ - content : write
49+ steps :
50+ - name : Retrieve release distributions
51+ uses : actions/download-artifact@v4
52+ with :
53+ name : release-dists
54+ path : dist/
55+ - name : Upload Python Distributions to Release
56+ uses : softprops/action-gh-release@v1
57+ if : startsWith(github.ref, 'refs/tags/')
58+ with :
59+ files : dist/*
60+
61+
62+ env :
63+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
64+
4365 pypi-publish :
4466 runs-on : ubuntu-latest
4567 needs :
Original file line number Diff line number Diff line change 4141 types : [python]
4242 args : ["run", "pytest"]
4343 always_run : true
44+ pass_filenames : false
Original file line number Diff line number Diff line change 11[project ]
22name = " chordnet"
3- version = " 0.1 .0"
3+ version = " 0.2 .0"
44license = " MIT"
55license-files = [" LICENSE" ]
66description = " Implementation of the chord peer-to-peer networking protocol, introduced by Stoica et al."
@@ -16,7 +16,7 @@ classifiers = [
1616 # 4 - Beta
1717 # 5 - Production/Stable
1818 # 7 - Inactive
19- " Development Status :: 1 - Planning " ,
19+ " Development Status :: 2 - Pre-Alpha " ,
2020
2121 # Indicate who your project is intended for
2222 " Intended Audience :: Developers" ,
@@ -58,6 +58,7 @@ explicit = true
5858
5959[dependency-groups ]
6060dev = [
61+ " bpython>=0.25" ,
6162 " mypy>=1.17.1" ,
6263 " pre-commit>=4.3.0" ,
6364 " pytest>=8.4.1" ,
@@ -68,7 +69,7 @@ dev = [
6869minversion = " 6.0"
6970addopts = " -ra -q"
7071pythonpath = [
71- " src"
72+ " src" ,
7273]
7374testpaths = [
7475 " tests" ,
Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ def _listen_for_connections(self) -> None:
129129 ).start ()
130130 except Exception as e :
131131 if self ._running :
132+ print (f"Error accepting connection: { e } \n " )
132133 sys .stderr .write (f"Error accepting connection: { e } \n " )
133134 sys .stderr .flush ()
134135
You can’t perform that action at this time.
0 commit comments