* Fixed macOS arp when MAC has one character sections in
specific cases (Fixes issue #92)
- Update to 0.9.4:
* `arping` (POSIX) or `SendARP` (Windows) will now *always* be used instead
* Added ability to override the detected platform via `--override-platform`
Issue deprecation message as a warning in addition to a log message
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=18
- Update to 0.9.4:
* Support BusyBox's ``arping``
* Improve how ARP is handled. If ``ArpFile`` method succeeds, use it
instead of ``ArpingHost``
* Speed up the first call to ``ArpingHost``
* Fix FORCE_METHOD not being respected for IPv4 macs
* Fix `ArpFile` method being used for IPv6
* Deprecate Python 3.6 support
* This release is a *complete rewrite of getmac from the ground up*. The
public API of `getmac` is **unchanged** as part of this rewrite.
* Fully support Python 3.9
* Tentatively support Python 3.10 and 3.11
* `arping` (POSIX) or `SendARP` (Windows) will now *always* be used instead
of sending a UDP packet when looking for the MAC of a IPv4 host, if
they're available and operable (otherwise, UDP + ARP table check will be
used like before).
* Added ability to override the detected platform via `--override-platform`
argument (CLI) or `getmac.getmac.OVERRIDE_PLATFORM` variable (Python).
This will force methods for that platform to be used, regardless of the
actual platform.
* Overhauled `ifconfig` parsing. It should now be far more reliable and
accurate across all platforms.
* Fixed bug with `/proc/net/route` parsing
* Removed man pages from distribution (`getmac.1`/`getmac2.1`). They were
severely out of date and unused.
- Drop patches fix-failing-darwin-test.patch and support-python3.9.patch
- Add patch cope-with-no-ip6.patch
OBS-URL: https://build.opensuse.org/request/show/1156190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=7
* Support BusyBox's ``arping``
* Improve how ARP is handled. If ``ArpFile`` method succeeds, use it
instead of ``ArpingHost``
* Speed up the first call to ``ArpingHost``
* Fix FORCE_METHOD not being respected for IPv4 macs
* Fix `ArpFile` method being used for IPv6
* Deprecate Python 3.6 support
* This release is a *complete rewrite of getmac from the ground up*. The
public API of `getmac` is **unchanged** as part of this rewrite.
* Fully support Python 3.9
* Tentatively support Python 3.10 and 3.11
* `arping` (POSIX) or `SendARP` (Windows) will now *always* be used instead
of sending a UDP packet when looking for the MAC of a IPv4 host, if
they're available and operable (otherwise, UDP + ARP table check will be
used like before).
* Added ability to override the detected platform via `--override-platform`
argument (CLI) or `getmac.getmac.OVERRIDE_PLATFORM` variable (Python).
This will force methods for that platform to be used, regardless of the
actual platform.
* Overhauled `ifconfig` parsing. It should now be far more reliable and
accurate across all platforms.
* Fixed bug with `/proc/net/route` parsing
* Removed man pages from distribution (`getmac.1`/`getmac2.1`). They were
severely out of date and unused.
- Drop patches fix-failing-darwin-test.patch and support-python3.9.patch
- Add patch cope-with-no-ip6.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=16
- 0.8.3 (12/10/2021)
Announcement: Compatibility with Python versions older than 3.6 (2.7, 3.4, and 3.5) is deprecated and will be removed in getmac 1.0.0.
If you are stuck on an unsupported Python, considor loosely pinning the version of this package in your dependency list, e.g. getmac<1.
Changed
Added support for Thomas Habets' version of arping in addition to the existing iputils one (contributed by Ville Skyttä (@scop) in #52 and #54)
Added support for docker in network bridge mode (contributed by Tomasz Duda (@tomaszduda23) in #57)
Add CHANGELOG URL to PyPI metadata (contributed by Ville Skyttä (@scop) in #58)
Fixed code quality test suite errors (includes changes by Daniel Flanagan (@FlantasticDan) in #67)
Improved Android support (contributed by @emadmahdi in #71)
Minor code quality fixes (2 years of neglecting master branch)
Add Code of Conduct for project contributors
Add SECURITY.md for reporting security issues (e.g. vulnerabilities)
Deprecate Python 3.4 and 3.5
Issue deprecation message as a warning in addition to a log message
OBS-URL: https://build.opensuse.org/request/show/1006777
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-getmac?expand=0&rev=14
- Skip test_cli_main as it fails for some reason on OBS
- Fix all files having executable bit
- update to 0.8.2
* Added warning about Python 2 compatibility being dropped in 1.0.0
* Officially support Python 3.8
* Documented a known issue with looking up IP of a local interface on Linux/WSL (See the "Known Issues" section in the README)
* Added remote host lookup using `arping` as last resort
OBS-URL: https://build.opensuse.org/request/show/794606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-getmac?expand=0&rev=3