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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ I hope people find this project useful but I am not getting paid for it. If you

# Install prerequisites

The `requirements.txt` file contains the required dependency versioning for
the PySNMP dependency. It can be installed with:

```
pip install -r requirements.txt
```

## On Debian-based distributions (e.g. Debian/Mint/Ubuntu)

```
Expand Down
10 changes: 10 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# oh-brother uses the `pysnmp.entity.rfc3413.oneliner` module, which was
# removed in v6.2 (see https://github.com/lextudio/pysnmp/compare/v6.1.4..v6.2).
# So v6.1.4 is the highest version of PySNMP that we can currently use.
#
# Additionally, Python 3.12 completely removes the `asyncore` module from
# the standard library, so PySNMP versions older than 6.x do not work with
# it.

pysnmp >= 4, <= 6.1.4 ; python_version < "3.12"
pysnmp >= 6, <= 6.1.4 ; python_version >= "3.12"