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

PyObjC 10: Drop MAC_OS_X_VERSION* constants #547

Closed
ronaldoussoren opened this issue Apr 15, 2023 · 1 comment
Closed

PyObjC 10: Drop MAC_OS_X_VERSION* constants #547

ronaldoussoren opened this issue Apr 15, 2023 · 1 comment
Milestone

Comments

@ronaldoussoren
Copy link
Owner

Those aren't needed in general and maintaining a current list is busy work.

Check for APIs where these constants might be used before dropping this, possibly adding/updating APIs to enable using str-valued arguments (e.g. "12.3" instead of MAC_OS_X_VERSION_12_3).

@ronaldoussoren ronaldoussoren added this to the PyObjC 10 milestone Apr 15, 2023
@ronaldoussoren
Copy link
Owner Author

Turns out the constants were (nominally) used for objc.options.deprecation_warnings. I'm changing that API to avoid this.

ronaldoussoren added a commit that referenced this issue Jun 7, 2023
This also changes the API for ``objc.options.deprecation_warnings``
to use string values instead of integers.

Closes #547
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

No branches or pull requests

1 participant