-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/1.3.0 #109
Release/1.3.0 #109
Conversation
* origin/master: Add support for pcap_set_buffer_size Updated readme.rst with one more example
Thanks for taking the time to make a new release! Given that now Python 3.10 is the most recent release, it would make sense to already include it when doing a new release. Maybe it's enough to just add the respective metadata, and it will work. |
The version bumps in the What does impact it, is the version of cython used to build the That said, if you have that version of python available to do some testing that would be fantastic. |
I would love to try but I am on macOS Big Sur and I'm getting hit by #104. Will report back once I have access to a Linux machine. |
|
Thanks to everyone who tested this release.
I took a look at the diff and it seems good to me. We might even want to do use ctypes From inspecting the If you could file a PR with this improvement we can include it in the 1.3.0 release. |
…to ctype_find_library().
…yml and tox.ini.
I've created a fork, https://github.com/mwfong-csl/pypcap/tree/issue-104, that incorporates @hellais's suggestions. However, because my Mac isn't running Big Sur, could someone please test? Once that's done, I'll issue a PR. |
This is what I get when installing your fork under macOS 12.5.1 with libpcap installed from Homebrew:
I have also tried this with the following suggestions from Homebrew:
|
I suspect we are going to have to change the logic in how we lookup the headers too in the setup.py to get it work as expected since it's assuming that the path prefix for where it found the header matches the location of the library (which is important because we should not be using a different header compared to the library we link to). I think fixing it to work with macOS 12.x is going to require a bit more debugging and unfortunately I don't at the moment have a macOS 12.x machine at hand to look into it. I think what I'm going to do is cut the next release and as soon as we have something working for macOS 12 we can make a follow up release which includes a fix for that too. |
Branch for the upcoming 1.3.0 release.
Fixes:
Adds:
pcap_set_buffer_size
viabuffer_size
option