Skip to content
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

python-zeroconf 0.75.0 strict=False for _nmos-registration._tcp #829

Merged
merged 2 commits into from
Aug 21, 2023

Conversation

garethsb
Copy link
Contributor

Resolve #828.

Could have just put strict=False on all the register_service calls that advertise the Registration API, but figured might as well pass False only when we believe that's necessary: for _nmos-registration._tcp and not for _nmos-register._tcp.

Copy link
Contributor

@jonathan-r-thorpe jonathan-r-thorpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Libraries like python-zeroconf are starting to depend on more recent Python features
@garethsb
Copy link
Contributor Author

Quick test with new build, looks like it's working...

docker pull amwa/nmos-testing:zeroconf-strict-false-b10ff71

@jonathan-r-thorpe
Copy link
Contributor

I have pulled the docker image and verified that it is working; I have run the IS-05-01 tests, in particular test_41 which uses SDPoker, and this ran successfully. So LGTM

@garethsb
Copy link
Contributor Author

garethsb commented Aug 21, 2023

Jonathan also now tested IS-04-01 with v1.2 (strictly invalid _nmos-registration._tcp) and v1.3 (_nmos-register._tcp).
Thanks, @jonathan-r-thorpe !

in particular test_41 which uses SDPoker

Unfortunately there was a build error when I tried to bump node 14.x all the way to node 18.x, so I reverted that change back to node 16.x. I'll make another PR for that after we merge this one.

@garethsb garethsb merged commit 16157f5 into master Aug 21, 2023
2 checks passed
@garethsb garethsb deleted the zeroconf-strict-false branch August 21, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: 'functools._lru_cache_wrapper' object has no attribute '__kwdefaults__'
2 participants