Skip to content

gh-85302: Add support for BTPROTO_SCO on FreeBSD #131981

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

Merged
merged 5 commits into from
Apr 11, 2025

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Apr 1, 2025

BTPROTO_SCO has been supported on FreeBSD since 2008.


📚 Documentation preview 📚: https://cpython-previews--131981.org.readthedocs.build/

BTPROTO_SCO has been supported on FreeBSD since 2008.
@serhiy-storchaka
Copy link
Member Author

!buildbot FreeBSD

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 2debf1e 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F131981%2Fmerge

The command will test the builders whose names match following regular expression: FreeBSD

The builders matched are:

  • AMD64 FreeBSD Refleaks PR
  • AMD64 FreeBSD15 PR
  • AMD64 FreeBSD14 PR
  • AMD64 FreeBSD PR

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

With this change, socket.BTPROTO_SCO constant does not exist on FreeBSD which makes the whole change useless.

The problem is that on my FreeBSD 14.1 VM, the constant is not defined anywhere.grep finds nothing:

$ grep BTPROTO_SCO /usr/include/ -R

Are you sure that FreeBSD supports BTPROTO_SCO?

@serhiy-storchaka
Copy link
Member Author

Indeed, it is defined as BLUETOOTH_PROTO_SCO. I'll fix this, but first we need to add tests. See #132023.

@serhiy-storchaka
Copy link
Member Author

!buildbot FreeBSD

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 2debf1e 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F131981%2Fmerge

The command will test the builders whose names match following regular expression: FreeBSD

The builders matched are:

  • AMD64 FreeBSD Refleaks PR
  • AMD64 FreeBSD15 PR
  • AMD64 FreeBSD14 PR
  • AMD64 FreeBSD PR

@vstinner
Copy link
Member

vstinner commented Apr 4, 2025

You need to update your PR to use BLUETOOTH_PROTO_SCO constant, no?

@serhiy-storchaka
Copy link
Member Author

Did I forget to push my changes? Thanks for noticing.

@serhiy-storchaka
Copy link
Member Author

!buildbot FreeBSD

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit a62570a 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F131981%2Fmerge

The command will test the builders whose names match following regular expression: FreeBSD

The builders matched are:

  • AMD64 FreeBSD Refleaks PR
  • AMD64 FreeBSD15 PR
  • AMD64 FreeBSD14 PR
  • AMD64 FreeBSD PR

@python-cla-bot
Copy link

python-cla-bot bot commented Apr 6, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@serhiy-storchaka serhiy-storchaka merged commit e5f8b2c into python:main Apr 11, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants