Skip to content

Commit 3490790

Browse files
authored
core: Merge pull request #1337 from svinota/1336-attr-epid
core: expose epid as an attribute Bug-Url: #1337
2 parents d981e08 + d75d653 commit 3490790

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/pull_request.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ jobs:
3737
- uses: actions/checkout@v4
3838
- run: make nox session=docs
3939
neutron:
40-
runs-on: Linux
40+
runs-on: Fedora
41+
strategy:
42+
matrix:
43+
python: [python3.9, python3.13]
4144
steps:
4245
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
4346
- uses: actions/checkout@v4

noxfile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ def windows(session, config):
399399
def neutron(session, config):
400400
'''Run Neutron integration tests.'''
401401
setup_venv_dev(session)
402+
session.install('eventlet')
402403
session.run(*options('test_neutron', config))
403404

404405

pyroute2/netlink/core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ def __exit__(self, exc_type, exc_value, traceback):
696696

697697
def __getattr__(self, key):
698698
if key in (
699+
'epid',
699700
'pid',
700701
'spec',
701702
'status',

pyroute2/netlink/rtnl/iprsocket.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,6 @@ def __init__(
373373
def addr_pool(self):
374374
return self.asyncore.addr_pool
375375

376-
@property
377-
def epid(self):
378-
return self.asyncore.epid
379-
380376
@property
381377
def socket(self):
382378
return self.asyncore.socket

requirements.dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
build
22
twine
33
flake8
4-
eventlet
54
netaddr
65
pytest
76
pytest-asyncio

0 commit comments

Comments
 (0)