Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
111 changes: 0 additions & 111 deletions .github/workflows/full.yml

This file was deleted.

92 changes: 24 additions & 68 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
name: Main CI short
name: Main CI

on:
pull_request:
branches:
- master
- 'release/**'
branches: [ master ]
workflow_dispatch:

permissions:
contents: read

jobs:
linter:
runs-on: Fedora
strategy:
matrix:
python: [python3.14]
runs-on: code
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: make nox session=linter-${{ matrix.python }}
- run: make nox session=linter
repo:
runs-on: Linux
runs-on: Python3.8
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
Expand All @@ -32,17 +27,20 @@ jobs:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: make nox session=unit
lab:
runs-on: Linux
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: make nox session=lab
docs:
runs-on: Linux
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: make nox session=docs
neutron:
runs-on: Fedora
strategy:
matrix:
python: [python3.9, python3.13]
runs-on: Python3.8
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
Expand All @@ -52,70 +50,28 @@ jobs:
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: sudo make nox session=integration
process:
runs-on: Linux
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: make nox session=process
limits:
runs-on: Linux
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: sudo make nox session=limits
- run: make nox session=integration
minimal:
runs-on: Fedora
strategy:
matrix:
python: [python3.9, python3.14]
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: sudo make nox session=minimal-${{ matrix.python }}
ci-self:
runs-on: Fedora
strategy:
matrix:
python: [python3.9, python3.14]
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: make nox session=ci-self-${{ matrix.python }}
fedora:
runs-on: Fedora
strategy:
matrix:
python: [python3.10, python3.14]
runs-on: Linux
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: sudo make nox session=linux-${{ matrix.python }}
ubuntu:
runs-on: Ubuntu
strategy:
matrix:
python: [python3.10, python3.12]
- run: sudo make nox session=minimal
linux-fedora-38:
runs-on: linux-fedora-38
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: sudo make nox session=linux-${{ matrix.python }}
fedora-core:
runs-on: Fedora
strategy:
matrix:
python: [python3.9, python3.14]
- run: sudo make nox session=linux
linux-ubuntu-22:
runs-on: linux-ubuntu-22
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: sudo make nox session=core-${{ matrix.python }}
ubuntu-core:
runs-on: Ubuntu
strategy:
matrix:
python: [python3.10, python3.12]
- run: sudo make nox session=linux
openbsd:
runs-on: OpenBSD
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: sudo make nox session=core-${{ matrix.python }}
- run: /home/github/openbsd_runner.sh
7 changes: 2 additions & 5 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ permissions:

jobs:
build:
runs-on: Fedora
strategy:
matrix:
python: [python3.9, python3.14]
runs-on: code
steps:
- run: sudo chown -R $USER:$USER $GITHUB_WORKSPACE
- uses: actions/checkout@v4
- run: make nox session=linter-${{ matrix.python }}
- run: make nox session=linter
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ benchmark.log
venv
.venv
.nox*
tests/*.db
tests/*.json
14 changes: 0 additions & 14 deletions .mypy-check-paths

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
files: '^(noxfile.py|pyroute2|pr2modules|util|examples|docs/conf.py|examples/pyroute2-cli|tests)'
files: '^(noxfile.py|pyroute2|pr2modules|util|examlpes/ndb|docs/conf.py|examples/pyroute2-cli|tests)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down
66 changes: 0 additions & 66 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,72 +1,6 @@
Changelog
=========

* 0.9.4
* iwutil: fix get_interfaces_dict <https://github.com/svinota/pyroute2/issues/1380>
* 0.9.3
* packaging: use only pyproject files
* packaging: update pyroute2-minimal modules list
* fixtures: split out ndb fixture
* ndb: use AsyncIPRoute as RTNL source
* ndb: deprecate and remove NDB cli
* async versions for:
* acpi events
* conntrack
* devlink
* diag
* dquot
* ethtool
* event
* generic
* ipvs
* iwutil
* l2tp
* mptcp
* nl80211
* taskstats
* thermal events
* wireguard
* iproute: rt_files management <https://github.com/svinota/pyroute2/pull/1360>
* examples: update kernel module example
* 0.9.2
* iproute: basic Darwin support <https://github.com/svinota/pyroute2/pull/1328>
* nftables: asynchronous API <https://github.com/svinota/pyroute2/pull/1327>
* plan9: Inode class context manager API
* plan9: support call on read
* code: provide again .epid <https://github.com/svinota/pyroute2/pull/1337>
* 0.9.1
* nftables: fix comment size
* 0.9.1rc2
* nftables: fix work with the new core, add basic masq and comment support
* nlsocket: fix batch requests
* dhcp client: add InterfaceNotFound exception
* ethtool: use byref instead of cpointer
* 0.9.1rc1
* core: rewritten using asyncio, and the async API is now first class
* core: provide compatibility synchronous API classes
* telemetry: a basic internal implementation using statsd protocol
* dhcp: a huge upgrade, all the protocol module reimplemented using asyncio
* 9p: a basic client / server / fs implementation (no 9p2000.L yet)
* fixtures: added public pytest fixtures
* NetNS: obsoleted, all the functionality merged into the core
* proxy: deprecated and removed, see NetlinkRequest
* netns: provide unified socket creation function, netns.create_socket()
* process: separate class to manage external processes

.. warning::

0.8.1 is the final minor thread-based version of the library. All updates to
the synchronous core will follow as 0.8.x. The asynchronous core will follow
as 0.9.x and up.

* 0.8.1
* ndb: fix route replace <https://github.com/svinota/pyroute2/pull/1179>
* ndb: fix af_bridge_fdb indexes <https://github.com/svinota/pyroute2/pull/1215>
* rtnl: probe API <https://github.com/svinota/pyroute2/pull/1175>
* tc: htb rate64 <https://github.com/svinota/pyroute2/pull/1182>
* ipvs: basic support <https://github.com/svinota/pyroute2/pull/1187>
* decoder: support pcap format <https://github.com/svinota/pyroute2/pull/1191>
* ethtool: get/set channels <https://github.com/svinota/pyroute2/pull/1192>
* 0.7.12
* cli: move readline import to the script <https://github.com/svinota/pyroute2/pull/1165>
* ci: update tools versions <https://github.com/svinota/pyroute2/pull/1167>
Expand Down
Loading
Loading