pyobjc-framework-SystemConfiguration 11.1__tar.gz → 12.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Lib/SystemConfiguration/_metadata.py +3 -3
  2. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/PKG-INFO +6 -5
  3. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/SOURCES.txt +2 -13
  4. pyobjc_framework_systemconfiguration-12.2.1/Lib/pyobjc_framework_SystemConfiguration.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_systemconfiguration-12.2.1/Lib/pyobjc_framework_SystemConfiguration.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Modules/_manual.m +18 -21
  7. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Modules/pyobjc-api.h +6 -3
  8. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Modules/pyobjc-compat.h +56 -98
  9. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PKG-INFO +6 -5
  10. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scnetwork.py +1 -1
  11. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/metadata/SystemConfiguration.fwinfo +53 -51
  12. pyobjc_framework_systemconfiguration-11.1/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_systemconfiguration-12.2.1/metadata/raw/arm64-26.5.fwinfo +1352 -71
  13. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_systemconfiguration-12.2.1/metadata/raw/x86_64-26.5.fwinfo +1352 -71
  14. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/pyobjc_setup.py +5 -4
  15. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/setup.py +1 -1
  16. pyobjc_framework_systemconfiguration-11.1/Lib/pyobjc_framework_SystemConfiguration.egg-info/pyobjc-build-info.txt +0 -3
  17. pyobjc_framework_systemconfiguration-11.1/Lib/pyobjc_framework_SystemConfiguration.egg-info/requires.txt +0 -2
  18. pyobjc_framework_systemconfiguration-11.1/metadata/raw/arm64-12.3.fwinfo +0 -4031
  19. pyobjc_framework_systemconfiguration-11.1/metadata/raw/arm64-13.3.fwinfo +0 -4057
  20. pyobjc_framework_systemconfiguration-11.1/metadata/raw/arm64-14.5.fwinfo +0 -4057
  21. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-10.10.fwinfo +0 -3796
  22. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-10.16.fwinfo +0 -4017
  23. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-10.6.fwinfo +0 -3768
  24. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-10.7.fwinfo +0 -3774
  25. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-10.8.fwinfo +0 -3831
  26. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-12.3.fwinfo +0 -4031
  27. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-13.3.fwinfo +0 -4057
  28. pyobjc_framework_systemconfiguration-11.1/metadata/raw/x86_64-14.5.fwinfo +0 -4057
  29. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Examples/CallbackDemo/ReadMe.txt +0 -0
  30. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Examples/CallbackDemo/callbacks.py +0 -0
  31. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Examples/CallbackDemo/interneton.py +0 -0
  32. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Examples/CallbackDemo/netcon.py +0 -0
  33. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/LICENSE.txt +0 -0
  34. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Lib/SystemConfiguration/__init__.py +0 -0
  35. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/dependency_links.txt +0 -0
  36. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/not-zip-safe +0 -0
  37. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/Lib/pyobjc_framework_SystemConfiguration.egg-info/top_level.txt +0 -0
  38. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/MANIFEST.in +0 -0
  39. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/__init__.py +0 -0
  40. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_captivenetwork.py +0 -0
  41. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_dhcpclientpreferences.py +0 -0
  42. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scdynamicstore.py +0 -0
  43. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scdynamicstorecopydhcpinfo.py +0 -0
  44. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scdynamicstorecopyspecific.py +0 -0
  45. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scdynamicstorekey.py +0 -0
  46. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scnetworkconfiguration.py +0 -0
  47. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scnetworkconnection.py +0 -0
  48. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scnetworkreachability.py +0 -0
  49. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scpreferences.py +0 -0
  50. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scpreferencespath.py +0 -0
  51. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scpreferencessetspecific.py +0 -0
  52. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_scschemadefinitions.py +0 -0
  53. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/PyObjCTest/test_systemconfiguration.py +0 -0
  54. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/README.txt +0 -0
  55. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/metadata/metadata.ini +0 -0
  56. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/pyproject.toml +0 -0
  57. {pyobjc_framework_systemconfiguration-11.1 → pyobjc_framework_systemconfiguration-12.2.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Tue Jun 11 10:21:10 2024
3
+ # Last update: Fri May 29 08:43:45 2026
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -30,7 +30,7 @@ else:
30
30
 
31
31
 
32
32
  misc = {}
33
- constants = """$kCFErrorDomainSystemConfiguration$kCNNetworkInfoKeyBSSID$kCNNetworkInfoKeySSID$kCNNetworkInfoKeySSIDData$kSCBondStatusDeviceAggregationStatus$kSCBondStatusDeviceCollecting$kSCBondStatusDeviceDistributing$kSCCompAnyRegex$kSCCompGlobal$kSCCompHostNames$kSCCompInterface$kSCCompNetwork$kSCCompService$kSCCompSystem$kSCCompUsers$kSCDynamicStoreDomainFile$kSCDynamicStoreDomainPlugin$kSCDynamicStoreDomainPrefs$kSCDynamicStoreDomainSetup$kSCDynamicStoreDomainState$kSCDynamicStorePropNetInterfaces$kSCDynamicStorePropNetPrimaryInterface$kSCDynamicStorePropNetPrimaryService$kSCDynamicStorePropNetServiceIDs$kSCDynamicStorePropSetupCurrentSet$kSCDynamicStorePropSetupLastUpdated$kSCDynamicStoreUseSessionKeys$kSCEntNet6to4$kSCEntNetAirPort$kSCEntNetAppleTalk$kSCEntNetDHCP$kSCEntNetDNS$kSCEntNetEthernet$kSCEntNetFireWire$kSCEntNetIPSec$kSCEntNetIPv4$kSCEntNetIPv6$kSCEntNetInterface$kSCEntNetL2TP$kSCEntNetLink$kSCEntNetModem$kSCEntNetNetInfo$kSCEntNetPPP$kSCEntNetPPPSerial$kSCEntNetPPPoE$kSCEntNetPPTP$kSCEntNetProxies$kSCEntNetSMB$kSCEntUsersConsoleUser$kSCNetworkInterfaceIPv4@=^{__SCNetworkInterface=}$kSCNetworkInterfaceType6to4$kSCNetworkInterfaceTypeBluetooth$kSCNetworkInterfaceTypeBond$kSCNetworkInterfaceTypeEthernet$kSCNetworkInterfaceTypeFireWire$kSCNetworkInterfaceTypeIEEE80211$kSCNetworkInterfaceTypeIPSec$kSCNetworkInterfaceTypeIPv4$kSCNetworkInterfaceTypeIrDA$kSCNetworkInterfaceTypeL2TP$kSCNetworkInterfaceTypeModem$kSCNetworkInterfaceTypePPP$kSCNetworkInterfaceTypePPTP$kSCNetworkInterfaceTypeSerial$kSCNetworkInterfaceTypeVLAN$kSCNetworkInterfaceTypeWWAN$kSCNetworkProtocolTypeAppleTalk$kSCNetworkProtocolTypeDNS$kSCNetworkProtocolTypeIPv4$kSCNetworkProtocolTypeIPv6$kSCNetworkProtocolTypeProxies$kSCNetworkProtocolTypeSMB$kSCPrefCurrentSet$kSCPrefNetworkServices$kSCPrefSets$kSCPrefSystem$kSCPropInterfaceName$kSCPropMACAddress$kSCPropNet6to4Relay$kSCPropNetAirPortAllowNetCreation$kSCPropNetAirPortAuthPassword$kSCPropNetAirPortAuthPasswordEncryption$kSCPropNetAirPortJoinMode$kSCPropNetAirPortPowerEnabled$kSCPropNetAirPortPreferredNetwork$kSCPropNetAirPortSavePasswords$kSCPropNetAppleTalkComputerName$kSCPropNetAppleTalkComputerNameEncoding$kSCPropNetAppleTalkConfigMethod$kSCPropNetAppleTalkDefaultZone$kSCPropNetAppleTalkNetworkID$kSCPropNetAppleTalkNetworkRange$kSCPropNetAppleTalkNodeID$kSCPropNetAppleTalkSeedNetworkRange$kSCPropNetAppleTalkSeedZones$kSCPropNetDNSDomainName$kSCPropNetDNSOptions$kSCPropNetDNSSearchDomains$kSCPropNetDNSSearchOrder$kSCPropNetDNSServerAddresses$kSCPropNetDNSServerPort$kSCPropNetDNSServerTimeout$kSCPropNetDNSSortList$kSCPropNetDNSSupplementalMatchDomains$kSCPropNetDNSSupplementalMatchOrders$kSCPropNetEthernetMTU$kSCPropNetEthernetMediaOptions$kSCPropNetEthernetMediaSubType$kSCPropNetIPSecAuthenticationMethod$kSCPropNetIPSecConnectTime$kSCPropNetIPSecLocalCertificate$kSCPropNetIPSecLocalIdentifier$kSCPropNetIPSecLocalIdentifierType$kSCPropNetIPSecRemoteAddress$kSCPropNetIPSecSharedSecret$kSCPropNetIPSecSharedSecretEncryption$kSCPropNetIPSecStatus$kSCPropNetIPSecXAuthEnabled$kSCPropNetIPSecXAuthName$kSCPropNetIPSecXAuthPassword$kSCPropNetIPSecXAuthPasswordEncryption$kSCPropNetIPv4Addresses$kSCPropNetIPv4BroadcastAddresses$kSCPropNetIPv4ConfigMethod$kSCPropNetIPv4DHCPClientID$kSCPropNetIPv4DestAddresses$kSCPropNetIPv4Router$kSCPropNetIPv4SubnetMasks$kSCPropNetIPv6Addresses$kSCPropNetIPv6ConfigMethod$kSCPropNetIPv6DestAddresses$kSCPropNetIPv6Flags$kSCPropNetIPv6PrefixLength$kSCPropNetIPv6Router$kSCPropNetInterfaceDeviceName$kSCPropNetInterfaceHardware$kSCPropNetInterfaceSubType$kSCPropNetInterfaceSupportsModemOnHold$kSCPropNetInterfaceType$kSCPropNetInterfaces$kSCPropNetL2TPIPSecSharedSecret$kSCPropNetL2TPIPSecSharedSecretEncryption$kSCPropNetL2TPTransport$kSCPropNetLinkActive$kSCPropNetLinkDetaching$kSCPropNetLocalHostName$kSCPropNetModemAccessPointName$kSCPropNetModemConnectSpeed$kSCPropNetModemConnectionPersonality$kSCPropNetModemConnectionScript$kSCPropNetModemDataCompression$kSCPropNetModemDeviceContextID$kSCPropNetModemDeviceModel$kSCPropNetModemDeviceVendor$kSCPropNetModemDialMode$kSCPropNetModemErrorCorrection$kSCPropNetModemHoldCallWaitingAudibleAlert$kSCPropNetModemHoldDisconnectOnAnswer$kSCPropNetModemHoldEnabled$kSCPropNetModemHoldReminder$kSCPropNetModemHoldReminderTime$kSCPropNetModemNote$kSCPropNetModemPulseDial$kSCPropNetModemSpeaker$kSCPropNetModemSpeed$kSCPropNetNetInfoBindingMethods$kSCPropNetNetInfoBroadcastServerTag$kSCPropNetNetInfoServerAddresses$kSCPropNetNetInfoServerTags$kSCPropNetOverridePrimary$kSCPropNetPPPACSPEnabled$kSCPropNetPPPAuthEAPPlugins$kSCPropNetPPPAuthName$kSCPropNetPPPAuthPassword$kSCPropNetPPPAuthPasswordEncryption$kSCPropNetPPPAuthPrompt$kSCPropNetPPPAuthProtocol$kSCPropNetPPPCCPEnabled$kSCPropNetPPPCCPMPPE128Enabled$kSCPropNetPPPCCPMPPE40Enabled$kSCPropNetPPPCommAlternateRemoteAddress$kSCPropNetPPPCommConnectDelay$kSCPropNetPPPCommDisplayTerminalWindow$kSCPropNetPPPCommRedialCount$kSCPropNetPPPCommRedialEnabled$kSCPropNetPPPCommRedialInterval$kSCPropNetPPPCommRemoteAddress$kSCPropNetPPPCommTerminalScript$kSCPropNetPPPCommUseTerminalScript$kSCPropNetPPPConnectTime$kSCPropNetPPPDeviceLastCause$kSCPropNetPPPDialOnDemand$kSCPropNetPPPDisconnectOnFastUserSwitch$kSCPropNetPPPDisconnectOnIdle$kSCPropNetPPPDisconnectOnIdleTimer$kSCPropNetPPPDisconnectOnLogout$kSCPropNetPPPDisconnectOnSleep$kSCPropNetPPPDisconnectTime$kSCPropNetPPPIPCPCompressionVJ$kSCPropNetPPPIPCPUsePeerDNS$kSCPropNetPPPIdleReminder$kSCPropNetPPPIdleReminderTimer$kSCPropNetPPPLCPCompressionACField$kSCPropNetPPPLCPCompressionPField$kSCPropNetPPPLCPEchoEnabled$kSCPropNetPPPLCPEchoFailure$kSCPropNetPPPLCPEchoInterval$kSCPropNetPPPLCPMRU$kSCPropNetPPPLCPMTU$kSCPropNetPPPLCPReceiveACCM$kSCPropNetPPPLCPTransmitACCM$kSCPropNetPPPLastCause$kSCPropNetPPPLogfile$kSCPropNetPPPOverridePrimary$kSCPropNetPPPPlugins$kSCPropNetPPPRetryConnectTime$kSCPropNetPPPSessionTimer$kSCPropNetPPPStatus$kSCPropNetPPPUseSessionTimer$kSCPropNetPPPVerboseLogging$kSCPropNetProxiesExceptionsList$kSCPropNetProxiesExcludeSimpleHostnames$kSCPropNetProxiesFTPEnable$kSCPropNetProxiesFTPPassive$kSCPropNetProxiesFTPPort$kSCPropNetProxiesFTPProxy$kSCPropNetProxiesFTPUser$kSCPropNetProxiesGopherEnable$kSCPropNetProxiesGopherPort$kSCPropNetProxiesGopherProxy$kSCPropNetProxiesGopherUser$kSCPropNetProxiesHTTPEnable$kSCPropNetProxiesHTTPPort$kSCPropNetProxiesHTTPProxy$kSCPropNetProxiesHTTPSEnable$kSCPropNetProxiesHTTPSPort$kSCPropNetProxiesHTTPSProxy$kSCPropNetProxiesHTTPSUser$kSCPropNetProxiesHTTPUser$kSCPropNetProxiesProxyAutoConfigEnable$kSCPropNetProxiesProxyAutoConfigJavaScript$kSCPropNetProxiesProxyAutoConfigURLString$kSCPropNetProxiesProxyAutoDiscoveryEnable$kSCPropNetProxiesRTSPEnable$kSCPropNetProxiesRTSPPort$kSCPropNetProxiesRTSPProxy$kSCPropNetProxiesRTSPUser$kSCPropNetProxiesSOCKSEnable$kSCPropNetProxiesSOCKSPort$kSCPropNetProxiesSOCKSProxy$kSCPropNetProxiesSOCKSUser$kSCPropNetSMBNetBIOSName$kSCPropNetSMBNetBIOSNodeType$kSCPropNetSMBNetBIOSScope$kSCPropNetSMBWINSAddresses$kSCPropNetSMBWorkgroup$kSCPropNetServiceOrder$kSCPropSystemComputerName$kSCPropSystemComputerNameEncoding$kSCPropUserDefinedName$kSCPropUsersConsoleUserGID$kSCPropUsersConsoleUserName$kSCPropUsersConsoleUserUID$kSCPropVersion$kSCResvInactive$kSCResvLink$kSCValNetAirPortAuthPasswordEncryptionKeychain$kSCValNetAirPortJoinModeAutomatic$kSCValNetAirPortJoinModePreferred$kSCValNetAirPortJoinModeRanked$kSCValNetAirPortJoinModeRecent$kSCValNetAirPortJoinModeStrongest$kSCValNetAppleTalkConfigMethodNode$kSCValNetAppleTalkConfigMethodRouter$kSCValNetAppleTalkConfigMethodSeedRouter$kSCValNetIPSecAuthenticationMethodCertificate$kSCValNetIPSecAuthenticationMethodHybrid$kSCValNetIPSecAuthenticationMethodSharedSecret$kSCValNetIPSecLocalIdentifierTypeKeyID$kSCValNetIPSecSharedSecretEncryptionKeychain$kSCValNetIPSecXAuthPasswordEncryptionKeychain$kSCValNetIPSecXAuthPasswordEncryptionPrompt$kSCValNetIPv4ConfigMethodAutomatic$kSCValNetIPv4ConfigMethodBOOTP$kSCValNetIPv4ConfigMethodDHCP$kSCValNetIPv4ConfigMethodINFORM$kSCValNetIPv4ConfigMethodLinkLocal$kSCValNetIPv4ConfigMethodManual$kSCValNetIPv4ConfigMethodPPP$kSCValNetIPv6ConfigMethod6to4$kSCValNetIPv6ConfigMethodAutomatic$kSCValNetIPv6ConfigMethodLinkLocal$kSCValNetIPv6ConfigMethodManual$kSCValNetIPv6ConfigMethodRouterAdvertisement$kSCValNetInterfaceSubTypeL2TP$kSCValNetInterfaceSubTypePPPSerial$kSCValNetInterfaceSubTypePPPoE$kSCValNetInterfaceSubTypePPTP$kSCValNetInterfaceType6to4$kSCValNetInterfaceTypeEthernet$kSCValNetInterfaceTypeFireWire$kSCValNetInterfaceTypeIPSec$kSCValNetInterfaceTypePPP$kSCValNetL2TPIPSecSharedSecretEncryptionKeychain$kSCValNetL2TPTransportIP$kSCValNetL2TPTransportIPSec$kSCValNetModemDialModeIgnoreDialTone$kSCValNetModemDialModeManual$kSCValNetModemDialModeWaitForDialTone$kSCValNetNetInfoBindingMethodsBroadcast$kSCValNetNetInfoBindingMethodsDHCP$kSCValNetNetInfoBindingMethodsManual$kSCValNetNetInfoDefaultServerTag$kSCValNetPPPAuthPasswordEncryptionKeychain$kSCValNetPPPAuthPasswordEncryptionToken$kSCValNetPPPAuthPromptAfter$kSCValNetPPPAuthPromptBefore$kSCValNetPPPAuthProtocolCHAP$kSCValNetPPPAuthProtocolEAP$kSCValNetPPPAuthProtocolMSCHAP1$kSCValNetPPPAuthProtocolMSCHAP2$kSCValNetPPPAuthProtocolPAP$kSCValNetSMBNetBIOSNodeTypeBroadcast$kSCValNetSMBNetBIOSNodeTypeHybrid$kSCValNetSMBNetBIOSNodeTypeMixed$kSCValNetSMBNetBIOSNodeTypePeer$"""
33
+ constants = """$kCFErrorDomainSystemConfiguration$kCNNetworkInfoKeyBSSID$kCNNetworkInfoKeySSID$kCNNetworkInfoKeySSIDData$kSCBondStatusDeviceAggregationStatus$kSCBondStatusDeviceCollecting$kSCBondStatusDeviceDistributing$kSCCompAnyRegex$kSCCompGlobal$kSCCompHostNames$kSCCompInterface$kSCCompNetwork$kSCCompService$kSCCompSystem$kSCCompUsers$kSCDynamicStoreDomainFile$kSCDynamicStoreDomainPlugin$kSCDynamicStoreDomainPrefs$kSCDynamicStoreDomainSetup$kSCDynamicStoreDomainState$kSCDynamicStorePropNetInterfaces$kSCDynamicStorePropNetPrimaryInterface$kSCDynamicStorePropNetPrimaryService$kSCDynamicStorePropNetServiceIDs$kSCDynamicStorePropSetupCurrentSet$kSCDynamicStorePropSetupLastUpdated$kSCDynamicStoreUseSessionKeys$kSCEntNet6to4$kSCEntNetAirPort$kSCEntNetAppleTalk$kSCEntNetDHCP$kSCEntNetDNS$kSCEntNetEthernet$kSCEntNetFireWire$kSCEntNetIPSec$kSCEntNetIPv4$kSCEntNetIPv6$kSCEntNetInterface$kSCEntNetL2TP$kSCEntNetLink$kSCEntNetModem$kSCEntNetNetInfo$kSCEntNetPPP$kSCEntNetPPPSerial$kSCEntNetPPPoE$kSCEntNetPPTP$kSCEntNetProxies$kSCEntNetSMB$kSCEntUsersConsoleUser$kSCNetworkInterfaceIPv4@=^{__SCNetworkInterface=}$kSCNetworkInterfaceType6to4$kSCNetworkInterfaceTypeBluetooth$kSCNetworkInterfaceTypeBond$kSCNetworkInterfaceTypeEthernet$kSCNetworkInterfaceTypeFireWire$kSCNetworkInterfaceTypeIEEE80211$kSCNetworkInterfaceTypeIPSec$kSCNetworkInterfaceTypeIPv4$kSCNetworkInterfaceTypeIrDA$kSCNetworkInterfaceTypeL2TP$kSCNetworkInterfaceTypeModem$kSCNetworkInterfaceTypePPP$kSCNetworkInterfaceTypePPTP$kSCNetworkInterfaceTypeSerial$kSCNetworkInterfaceTypeVLAN$kSCNetworkInterfaceTypeWWAN$kSCNetworkProtocolTypeDNS$kSCNetworkProtocolTypeIPv4$kSCNetworkProtocolTypeIPv6$kSCNetworkProtocolTypeProxies$kSCNetworkProtocolTypeSMB$kSCPrefCurrentSet$kSCPrefNetworkServices$kSCPrefSets$kSCPrefSystem$kSCPropInterfaceName$kSCPropMACAddress$kSCPropNet6to4Relay$kSCPropNetAirPortAllowNetCreation$kSCPropNetAirPortAuthPassword$kSCPropNetAirPortAuthPasswordEncryption$kSCPropNetAirPortJoinMode$kSCPropNetAirPortPowerEnabled$kSCPropNetAirPortPreferredNetwork$kSCPropNetAirPortSavePasswords$kSCPropNetDNSDomainName$kSCPropNetDNSOptions$kSCPropNetDNSSearchDomains$kSCPropNetDNSSearchOrder$kSCPropNetDNSServerAddresses$kSCPropNetDNSServerPort$kSCPropNetDNSServerTimeout$kSCPropNetDNSSortList$kSCPropNetDNSSupplementalMatchDomains$kSCPropNetDNSSupplementalMatchOrders$kSCPropNetEthernetMTU$kSCPropNetEthernetMediaOptions$kSCPropNetEthernetMediaSubType$kSCPropNetIPSecAuthenticationMethod$kSCPropNetIPSecConnectTime$kSCPropNetIPSecLocalCertificate$kSCPropNetIPSecLocalIdentifier$kSCPropNetIPSecLocalIdentifierType$kSCPropNetIPSecRemoteAddress$kSCPropNetIPSecSharedSecret$kSCPropNetIPSecSharedSecretEncryption$kSCPropNetIPSecStatus$kSCPropNetIPSecXAuthEnabled$kSCPropNetIPSecXAuthName$kSCPropNetIPSecXAuthPassword$kSCPropNetIPSecXAuthPasswordEncryption$kSCPropNetIPv4Addresses$kSCPropNetIPv4BroadcastAddresses$kSCPropNetIPv4ConfigMethod$kSCPropNetIPv4DHCPClientID$kSCPropNetIPv4DestAddresses$kSCPropNetIPv4Router$kSCPropNetIPv4SubnetMasks$kSCPropNetIPv6Addresses$kSCPropNetIPv6ConfigMethod$kSCPropNetIPv6DestAddresses$kSCPropNetIPv6Flags$kSCPropNetIPv6PrefixLength$kSCPropNetIPv6Router$kSCPropNetInterfaceDeviceName$kSCPropNetInterfaceHardware$kSCPropNetInterfaceSubType$kSCPropNetInterfaceSupportsModemOnHold$kSCPropNetInterfaceType$kSCPropNetInterfaces$kSCPropNetL2TPIPSecSharedSecret$kSCPropNetL2TPIPSecSharedSecretEncryption$kSCPropNetL2TPTransport$kSCPropNetLinkActive$kSCPropNetLinkDetaching$kSCPropNetLocalHostName$kSCPropNetModemAccessPointName$kSCPropNetModemConnectSpeed$kSCPropNetModemConnectionPersonality$kSCPropNetModemConnectionScript$kSCPropNetModemDataCompression$kSCPropNetModemDeviceContextID$kSCPropNetModemDeviceModel$kSCPropNetModemDeviceVendor$kSCPropNetModemDialMode$kSCPropNetModemErrorCorrection$kSCPropNetModemHoldCallWaitingAudibleAlert$kSCPropNetModemHoldDisconnectOnAnswer$kSCPropNetModemHoldEnabled$kSCPropNetModemHoldReminder$kSCPropNetModemHoldReminderTime$kSCPropNetModemNote$kSCPropNetModemPulseDial$kSCPropNetModemSpeaker$kSCPropNetModemSpeed$kSCPropNetOverridePrimary$kSCPropNetPPPACSPEnabled$kSCPropNetPPPAuthEAPPlugins$kSCPropNetPPPAuthName$kSCPropNetPPPAuthPassword$kSCPropNetPPPAuthPasswordEncryption$kSCPropNetPPPAuthPrompt$kSCPropNetPPPAuthProtocol$kSCPropNetPPPCCPEnabled$kSCPropNetPPPCCPMPPE128Enabled$kSCPropNetPPPCCPMPPE40Enabled$kSCPropNetPPPCommAlternateRemoteAddress$kSCPropNetPPPCommConnectDelay$kSCPropNetPPPCommDisplayTerminalWindow$kSCPropNetPPPCommRedialCount$kSCPropNetPPPCommRedialEnabled$kSCPropNetPPPCommRedialInterval$kSCPropNetPPPCommRemoteAddress$kSCPropNetPPPCommTerminalScript$kSCPropNetPPPCommUseTerminalScript$kSCPropNetPPPConnectTime$kSCPropNetPPPDeviceLastCause$kSCPropNetPPPDialOnDemand$kSCPropNetPPPDisconnectOnFastUserSwitch$kSCPropNetPPPDisconnectOnIdle$kSCPropNetPPPDisconnectOnIdleTimer$kSCPropNetPPPDisconnectOnLogout$kSCPropNetPPPDisconnectOnSleep$kSCPropNetPPPDisconnectTime$kSCPropNetPPPIPCPCompressionVJ$kSCPropNetPPPIPCPUsePeerDNS$kSCPropNetPPPIdleReminder$kSCPropNetPPPIdleReminderTimer$kSCPropNetPPPLCPCompressionACField$kSCPropNetPPPLCPCompressionPField$kSCPropNetPPPLCPEchoEnabled$kSCPropNetPPPLCPEchoFailure$kSCPropNetPPPLCPEchoInterval$kSCPropNetPPPLCPMRU$kSCPropNetPPPLCPMTU$kSCPropNetPPPLCPReceiveACCM$kSCPropNetPPPLCPTransmitACCM$kSCPropNetPPPLastCause$kSCPropNetPPPLogfile$kSCPropNetPPPOverridePrimary$kSCPropNetPPPPlugins$kSCPropNetPPPRetryConnectTime$kSCPropNetPPPSessionTimer$kSCPropNetPPPStatus$kSCPropNetPPPUseSessionTimer$kSCPropNetPPPVerboseLogging$kSCPropNetProxiesExceptionsList$kSCPropNetProxiesExcludeSimpleHostnames$kSCPropNetProxiesFTPEnable$kSCPropNetProxiesFTPPassive$kSCPropNetProxiesFTPPort$kSCPropNetProxiesFTPProxy$kSCPropNetProxiesFTPUser$kSCPropNetProxiesGopherEnable$kSCPropNetProxiesGopherPort$kSCPropNetProxiesGopherProxy$kSCPropNetProxiesGopherUser$kSCPropNetProxiesHTTPEnable$kSCPropNetProxiesHTTPPort$kSCPropNetProxiesHTTPProxy$kSCPropNetProxiesHTTPSEnable$kSCPropNetProxiesHTTPSPort$kSCPropNetProxiesHTTPSProxy$kSCPropNetProxiesHTTPSUser$kSCPropNetProxiesHTTPUser$kSCPropNetProxiesProxyAutoConfigEnable$kSCPropNetProxiesProxyAutoConfigJavaScript$kSCPropNetProxiesProxyAutoConfigURLString$kSCPropNetProxiesProxyAutoDiscoveryEnable$kSCPropNetProxiesRTSPEnable$kSCPropNetProxiesRTSPPort$kSCPropNetProxiesRTSPProxy$kSCPropNetProxiesRTSPUser$kSCPropNetProxiesSOCKSEnable$kSCPropNetProxiesSOCKSPort$kSCPropNetProxiesSOCKSProxy$kSCPropNetProxiesSOCKSUser$kSCPropNetSMBNetBIOSName$kSCPropNetSMBNetBIOSNodeType$kSCPropNetSMBNetBIOSScope$kSCPropNetSMBWINSAddresses$kSCPropNetSMBWorkgroup$kSCPropNetServiceOrder$kSCPropSystemComputerName$kSCPropSystemComputerNameEncoding$kSCPropUserDefinedName$kSCPropUsersConsoleUserGID$kSCPropUsersConsoleUserName$kSCPropUsersConsoleUserUID$kSCPropVersion$kSCResvInactive$kSCResvLink$kSCValNetAirPortAuthPasswordEncryptionKeychain$kSCValNetAirPortJoinModeAutomatic$kSCValNetAirPortJoinModePreferred$kSCValNetAirPortJoinModeRanked$kSCValNetAirPortJoinModeRecent$kSCValNetAirPortJoinModeStrongest$kSCValNetIPSecAuthenticationMethodCertificate$kSCValNetIPSecAuthenticationMethodHybrid$kSCValNetIPSecAuthenticationMethodSharedSecret$kSCValNetIPSecLocalIdentifierTypeKeyID$kSCValNetIPSecSharedSecretEncryptionKeychain$kSCValNetIPSecXAuthPasswordEncryptionKeychain$kSCValNetIPSecXAuthPasswordEncryptionPrompt$kSCValNetIPv4ConfigMethodAutomatic$kSCValNetIPv4ConfigMethodBOOTP$kSCValNetIPv4ConfigMethodDHCP$kSCValNetIPv4ConfigMethodINFORM$kSCValNetIPv4ConfigMethodLinkLocal$kSCValNetIPv4ConfigMethodManual$kSCValNetIPv4ConfigMethodPPP$kSCValNetIPv6ConfigMethod6to4$kSCValNetIPv6ConfigMethodAutomatic$kSCValNetIPv6ConfigMethodLinkLocal$kSCValNetIPv6ConfigMethodManual$kSCValNetIPv6ConfigMethodRouterAdvertisement$kSCValNetInterfaceSubTypeL2TP$kSCValNetInterfaceSubTypePPPSerial$kSCValNetInterfaceSubTypePPPoE$kSCValNetInterfaceSubTypePPTP$kSCValNetInterfaceType6to4$kSCValNetInterfaceTypeEthernet$kSCValNetInterfaceTypeFireWire$kSCValNetInterfaceTypeIPSec$kSCValNetInterfaceTypePPP$kSCValNetL2TPIPSecSharedSecretEncryptionKeychain$kSCValNetL2TPTransportIP$kSCValNetL2TPTransportIPSec$kSCValNetModemDialModeIgnoreDialTone$kSCValNetModemDialModeManual$kSCValNetModemDialModeWaitForDialTone$kSCValNetPPPAuthPasswordEncryptionKeychain$kSCValNetPPPAuthPasswordEncryptionToken$kSCValNetPPPAuthPromptAfter$kSCValNetPPPAuthPromptBefore$kSCValNetPPPAuthProtocolCHAP$kSCValNetPPPAuthProtocolEAP$kSCValNetPPPAuthProtocolMSCHAP1$kSCValNetPPPAuthProtocolMSCHAP2$kSCValNetPPPAuthProtocolPAP$kSCValNetSMBNetBIOSNodeTypeBroadcast$kSCValNetSMBNetBIOSNodeTypeHybrid$kSCValNetSMBNetBIOSNodeTypeMixed$kSCValNetSMBNetBIOSNodeTypePeer$"""
34
34
  enums = """$kSCBondStatusLinkInvalid@1$kSCBondStatusNoPartner@2$kSCBondStatusNotInActiveGroup@3$kSCBondStatusOK@0$kSCBondStatusUnknown@999$kSCNetworkConnectionConnected@2$kSCNetworkConnectionConnecting@1$kSCNetworkConnectionDisconnected@0$kSCNetworkConnectionDisconnecting@3$kSCNetworkConnectionInvalid@-1$kSCNetworkConnectionPPPAuthenticating@5$kSCNetworkConnectionPPPConnected@8$kSCNetworkConnectionPPPConnectingLink@2$kSCNetworkConnectionPPPDialOnTraffic@3$kSCNetworkConnectionPPPDisconnected@0$kSCNetworkConnectionPPPDisconnectingLink@10$kSCNetworkConnectionPPPHoldingLinkOff@11$kSCNetworkConnectionPPPInitializing@1$kSCNetworkConnectionPPPNegotiatingLink@4$kSCNetworkConnectionPPPNegotiatingNetwork@7$kSCNetworkConnectionPPPSuspended@12$kSCNetworkConnectionPPPTerminating@9$kSCNetworkConnectionPPPWaitingForCallBack@6$kSCNetworkConnectionPPPWaitingForRedial@13$kSCNetworkFlagsConnectionAutomatic@8$kSCNetworkFlagsConnectionRequired@4$kSCNetworkFlagsInterventionRequired@16$kSCNetworkFlagsIsDirect@131072$kSCNetworkFlagsIsLocalAddress@65536$kSCNetworkFlagsReachable@2$kSCNetworkFlagsTransientConnection@1$kSCNetworkReachabilityFlagsConnectionAutomatic@8$kSCNetworkReachabilityFlagsConnectionOnDemand@32$kSCNetworkReachabilityFlagsConnectionOnTraffic@8$kSCNetworkReachabilityFlagsConnectionRequired@4$kSCNetworkReachabilityFlagsInterventionRequired@16$kSCNetworkReachabilityFlagsIsDirect@131072$kSCNetworkReachabilityFlagsIsLocalAddress@65536$kSCNetworkReachabilityFlagsIsWWAN@262144$kSCNetworkReachabilityFlagsReachable@2$kSCNetworkReachabilityFlagsTransientConnection@1$kSCPreferencesNotificationApply@2$kSCPreferencesNotificationCommit@1$kSCStatusAccessError@1003$kSCStatusConnectionIgnore@5002$kSCStatusConnectionNoService@5001$kSCStatusFailed@1001$kSCStatusInvalidArgument@1002$kSCStatusKeyExists@1005$kSCStatusLocked@1006$kSCStatusMaxLink@3006$kSCStatusNeedLock@1007$kSCStatusNoConfigFile@3003$kSCStatusNoKey@1004$kSCStatusNoLink@3004$kSCStatusNoPrefsSession@3001$kSCStatusNoStoreServer@2002$kSCStatusNoStoreSession@2001$kSCStatusNotifierActive@2003$kSCStatusOK@0$kSCStatusPrefsBusy@3002$kSCStatusReachabilityUnknown@4001$kSCStatusStale@3005$"""
35
35
  misc.update(
36
36
  {
@@ -531,7 +531,7 @@ functions = {
531
531
  "DHCPClientPreferencesSetApplicationOptions": (
532
532
  b"Z^{__CFString=}^Cq",
533
533
  "",
534
- {"arguments": {1: {"c_array_length_in_arg": 2, "type_modifier": "n"}}},
534
+ {"arguments": {1: {"type_modifier": "n", "c_array_length_in_arg": 2}}},
535
535
  ),
536
536
  "SCDynamicStoreKeyCreateNetworkGlobalEntity": (
537
537
  b"^{__CFString=}^{__CFAllocator=}^{__CFString=}^{__CFString=}",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SystemConfiguration
3
- Version: 11.1
3
+ Version: 12.2.1
4
4
  Summary: Wrappers for the framework SystemConfiguration on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,22 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
24
23
  Classifier: Programming Language :: Python :: 3.13
25
24
  Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
27
28
  Classifier: Programming Language :: Objective C
28
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
30
  Classifier: Topic :: Software Development :: User Interfaces
30
- Requires-Python: >=3.9
31
+ Requires-Python: >=3.10
31
32
  Description-Content-Type: text/x-rst; charset=UTF-8
32
33
  License-File: LICENSE.txt
33
- Requires-Dist: pyobjc-core>=11.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.1
34
+ Requires-Dist: pyobjc-core>=12.2.1
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
35
36
  Dynamic: author
36
37
  Dynamic: author-email
37
38
  Dynamic: classifier
@@ -43,16 +43,5 @@ PyObjCTest/test_scschemadefinitions.py
43
43
  PyObjCTest/test_systemconfiguration.py
44
44
  metadata/SystemConfiguration.fwinfo
45
45
  metadata/metadata.ini
46
- metadata/raw/arm64-12.3.fwinfo
47
- metadata/raw/arm64-13.3.fwinfo
48
- metadata/raw/arm64-14.5.fwinfo
49
- metadata/raw/arm64-15.0.fwinfo
50
- metadata/raw/x86_64-10.10.fwinfo
51
- metadata/raw/x86_64-10.16.fwinfo
52
- metadata/raw/x86_64-10.6.fwinfo
53
- metadata/raw/x86_64-10.7.fwinfo
54
- metadata/raw/x86_64-10.8.fwinfo
55
- metadata/raw/x86_64-12.3.fwinfo
56
- metadata/raw/x86_64-13.3.fwinfo
57
- metadata/raw/x86_64-14.5.fwinfo
58
- metadata/raw/x86_64-15.0.fwinfo
46
+ metadata/raw/arm64-26.5.fwinfo
47
+ metadata/raw/x86_64-26.5.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 26.5 (25F71)
2
+ Apple clang version 21.0.0 (clang-2100.1.1.101)
3
+ SDK: macOS 26.5
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=12.2.1
2
+ pyobjc-framework-Cocoa>=12.2.1
@@ -501,7 +501,8 @@ static PyMethodDef mod_methods[] = {
501
501
  {0, 0, 0, 0} /* sentinel */
502
502
  };
503
503
 
504
- static int mod_exec_module(PyObject* m)
504
+ static int
505
+ mod_exec_module(PyObject* m)
505
506
  {
506
507
  if (PyObjC_ImportAPI(m) < 0) {
507
508
  return -1;
@@ -511,48 +512,44 @@ static int mod_exec_module(PyObject* m)
511
512
  }
512
513
 
513
514
  static struct PyModuleDef_Slot mod_slots[] = {
514
- {
515
- .slot = Py_mod_exec,
516
- .value = (void*)mod_exec_module
517
- },
515
+ {.slot = Py_mod_exec, .value = (void*)mod_exec_module},
518
516
  #if PY_VERSION_HEX >= 0x030c0000
519
517
  {
520
518
  /* This extension does not use the CPython API other than initializing
521
519
  * the module, hence is safe with subinterpreters and per-interpreter
522
520
  * GILs
523
521
  */
524
- .slot = Py_mod_multiple_interpreters,
522
+ .slot = Py_mod_multiple_interpreters,
525
523
  .value = Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTED,
526
524
  },
527
525
  #endif
528
526
  #if PY_VERSION_HEX >= 0x030d0000
529
527
  {
530
528
  /* The code in this extension should be safe to use without the GIL */
531
- .slot = Py_mod_gil,
529
+ .slot = Py_mod_gil,
532
530
  .value = Py_MOD_GIL_NOT_USED,
533
531
  },
534
532
  #endif
535
- { /* Sentinel */
536
- .slot = 0,
537
- .value = 0
538
- }
539
- };
533
+ {/* Sentinel */
534
+ .slot = 0,
535
+ .value = 0}};
540
536
 
541
537
  static struct PyModuleDef mod_module = {
542
- .m_base = PyModuleDef_HEAD_INIT,
543
- .m_name = "_manual",
544
- .m_doc = NULL,
545
- .m_size = 0,
546
- .m_methods = mod_methods,
547
- .m_slots = mod_slots,
538
+ .m_base = PyModuleDef_HEAD_INIT,
539
+ .m_name = "_manual",
540
+ .m_doc = NULL,
541
+ .m_size = 0,
542
+ .m_methods = mod_methods,
543
+ .m_slots = mod_slots,
548
544
  .m_traverse = NULL,
549
- .m_clear = NULL,
550
- .m_free = NULL,
545
+ .m_clear = NULL,
546
+ .m_free = NULL,
551
547
  };
552
548
 
553
549
  PyObject* PyInit__manual(void);
554
550
 
555
- PyObject* __attribute__((__visibility__("default"))) PyInit__manual(void)
551
+ PyObject* __attribute__((__visibility__("default")))
552
+ PyInit__manual(void)
556
553
  {
557
554
  return PyModuleDef_Init(&mod_module);
558
555
  }
@@ -53,8 +53,9 @@ NS_ASSUME_NONNULL_BEGIN
53
53
  /*
54
54
  * Only add items to the end of this list!
55
55
  */
56
+
56
57
  typedef int(RegisterMethodMappingFunctionType)(
57
- Class, SEL,
58
+ Class _Nullable, SEL,
58
59
  PyObject* _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull,
59
60
  PyObject* _Nonnull const* _Nonnull, size_t),
60
61
  IMP _Nullable (*_Nonnull)(PyObject* _Nonnull, PyObject* _Nonnull));
@@ -83,7 +84,8 @@ struct pyobjc_api {
83
84
  PyObject* _Nullable (*_Nonnull unsupported_method_caller)(
84
85
  PyObject* _Nonnull, PyObject* _Nonnull, PyObject* _Nonnull const* _Nonnull,
85
86
  size_t);
86
- void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state) __attribute__((__noreturn__));
87
+ void (*_Nonnull err_python_to_objc_gil)(PyGILState_STATE* _Nonnull state)
88
+ __attribute__((__noreturn__));
87
89
  int (*_Nonnull simplify_sig)(const char* signature, char* buf, size_t buflen);
88
90
  void (*_Nonnull free_c_array)(int, Py_buffer*);
89
91
  int (*_Nonnull py_to_c_array)(BOOL, BOOL, const char* _Nonnull, PyObject* _Nonnull,
@@ -113,7 +115,8 @@ struct pyobjc_api {
113
115
  int (*_Nonnull checknokwnames)(PyObject* _Nonnull callable,
114
116
  PyObject* _Nullable kwnames);
115
117
 
116
- PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*, const char*);
118
+ PyObject* _Nullable (*_Nonnull createopaquepointertype)(const char*, const char*,
119
+ const char*);
117
120
  };
118
121
 
119
122
  #ifndef PYOBJC_BUILD
@@ -22,12 +22,14 @@ NS_ASSUME_NONNULL_BEGIN
22
22
  * Start of compiler definitions
23
23
  *
24
24
  */
25
+ #if 0
25
26
  #ifndef __has_feature
26
27
  #define __has_feature(x) 0
27
28
  #endif
28
29
  #ifndef __has_extension
29
30
  #define __has_extension(x) __has_feature(x)
30
31
  #endif
32
+ #endif
31
33
 
32
34
  #if __has_extension(c_static_assert)
33
35
  #define STATIC_ASSERT(test, message) _Static_assert(test, message)
@@ -55,46 +57,10 @@ NS_ASSUME_NONNULL_BEGIN
55
57
  /*
56
58
  *
57
59
  * Start of compiler support helpers
58
- *
59
- * XXX: Are these needed?
60
60
  */
61
61
 
62
- #ifdef __GNUC__
63
62
  #define unlikely(x) __builtin_expect(!!(x), 0)
64
63
  #define likely(x) __builtin_expect(!!(x), 1)
65
- #else
66
- #define likely(x) x
67
- #define likely(x) x
68
- #endif
69
-
70
- /* On some versions of GCC <limits.h> defines LONG_LONG_MAX but not LLONG_MAX, compensate.
71
- */
72
- #ifndef LLONG_MIN
73
- #ifdef LONG_LONG_MIN
74
- #define LLONG_MIN LONG_LONG_MIN
75
- #define LLONG_MAX LONG_LONG_MAX
76
- #define ULLONG_MAX ULONG_LONG_MAX
77
- #endif
78
- #endif
79
-
80
- /*
81
- *
82
- * End of compiler support helpers
83
- *
84
- * XXX: These two are no longer needed, all supported platforms
85
- * are 64-bit
86
- */
87
-
88
- #if __LP64__
89
- #define Py_ARG_NSInteger "l"
90
- #define Py_ARG_NSUInteger "k"
91
- #else
92
- #define Py_ARG_NSInteger "i"
93
- #define Py_ARG_NSUInteger "I"
94
- #endif
95
-
96
- #define PyObjC__STR(x) #x
97
- #define PyObjC_STR(x) PyObjC__STR(x)
98
64
 
99
65
  /*
100
66
  *
@@ -123,34 +89,6 @@ NS_ASSUME_NONNULL_BEGIN
123
89
  } while (0)
124
90
  #endif
125
91
 
126
- #if PY_VERSION_HEX < 0x03090000
127
-
128
- /* For use on Python 3.8 and earlier. PyObjC doesn't use the
129
- * "flag" bit internally.
130
- */
131
-
132
- #ifndef PY_VECTORCALL_ARGUMENTS_OFFSET
133
- #define PY_VECTORCALL_ARGUMENTS_OFFSET ((size_t)1 << (8 * sizeof(size_t) - 1))
134
- #endif
135
-
136
- #define PyVectorcall_NARGS(nargsf) ((nargsf) & ~PY_VECTORCALL_ARGUMENTS_OFFSET)
137
-
138
- #ifdef OBJC_VERSION
139
- /* Don't use PyObject prefixed symbols in our binaries */
140
- #define PyObject_Vectorcall PyObjC_Vectorcall
141
- #define PyObject_VectorcallMethod PyObjC_VectorcallMethod
142
-
143
- extern PyObject* _Nullable PyObject_Vectorcall(PyObject* callable,
144
- PyObject* _Nonnull const* _Nonnull args,
145
- size_t nargsf,
146
- PyObject* _Nullable kwnames);
147
- extern PyObject* _Nullable PyObject_VectorcallMethod(
148
- PyObject* name, PyObject* _Nonnull const* _Nonnull args, size_t nargsf,
149
- PyObject* _Nullable kwnames);
150
- #endif
151
-
152
- #endif /* Python < 3.9 */
153
-
154
92
  /* Use CLINIC_SEP between the prototype and
155
93
  * description in doc strings, to get clean
156
94
  * docstrings.
@@ -159,20 +97,6 @@ extern PyObject* _Nullable PyObject_VectorcallMethod(
159
97
 
160
98
  extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
161
99
 
162
- /*
163
- * A micro optimization: when using Python 3.3 or later it
164
- * is possible to access a 'char*' with an ASCII representation
165
- * of a unicode object without first converting it to a bytes
166
- * string (if the string can be encoded as ASCII in the first
167
- * place.
168
- *
169
- * This slightly reduces the object allocation rate during
170
- * attribute access.
171
- *
172
- * XXX: Use PyUnicode_AsUTF8 instead.
173
- */
174
- extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
175
-
176
100
  #ifdef __clang__
177
101
 
178
102
  #ifndef Py_LIMITED_API
@@ -198,7 +122,10 @@ _PyObjCTuple_SetItem(PyObject* tuple, Py_ssize_t idx, PyObject* _Nullable value)
198
122
  static inline PyObject*
199
123
  _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
200
124
  {
201
- return PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
125
+ /* The protocol for tuples is that they are full initialized
126
+ * before handing them over to other code.
127
+ */
128
+ return (PyObject* _Nonnull)PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
202
129
  }
203
130
  #undef PyTuple_GET_ITEM
204
131
  #define PyTuple_GET_ITEM(a, b) _PyObjCTuple_GetItem(a, b)
@@ -242,13 +169,15 @@ _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
242
169
 
243
170
  #if PY_VERSION_HEX < 0x030a0000
244
171
 
245
- static inline PyObject* Py_NewRef(PyObject* o)
172
+ static inline PyObject*
173
+ Py_NewRef(PyObject* o)
246
174
  {
247
175
  Py_INCREF(o);
248
176
  return o;
249
177
  }
250
178
 
251
- static inline PyObject* Py_XNewRef(PyObject* o)
179
+ static inline PyObject*
180
+ Py_XNewRef(PyObject* o)
252
181
  {
253
182
  Py_XINCREF(o);
254
183
  return o;
@@ -257,11 +186,16 @@ static inline PyObject* Py_XNewRef(PyObject* o)
257
186
  #endif /* PY_VERSION_HEX < 0x030a0000 */
258
187
 
259
188
  #if PY_VERSION_HEX < 0x030d0000
260
- #define Py_BEGIN_CRITICAL_SECTION(value) { (void)(value);
189
+ #define Py_BEGIN_CRITICAL_SECTION(value) \
190
+ { \
191
+ (void)(value);
261
192
  #define Py_END_CRITICAL_SECTION() }
262
193
  #define Py_EXIT_CRITICAL_SECTION() ((void)0)
263
194
 
264
- #define Py_BEGIN_CRITICAL_SECTION2(value1, value2) { (void)(value1); (void)(value2);
195
+ #define Py_BEGIN_CRITICAL_SECTION2(value1, value2) \
196
+ { \
197
+ (void)(value1); \
198
+ (void)(value2);
265
199
  #define Py_END_CRITICAL_SECTION2() }
266
200
  #define Py_EXIT_CRITICAL_SECTION2() ((void)0)
267
201
 
@@ -282,7 +216,8 @@ static inline PyObject* Py_XNewRef(PyObject* o)
282
216
  #endif
283
217
 
284
218
  #if PY_VERSION_HEX < 0x030d0000
285
- static inline int PyDict_GetItemRef(PyObject *p, PyObject *key, PyObject * _Nonnull* _Nullable result)
219
+ static inline int
220
+ PyDict_GetItemRef(PyObject* p, PyObject* key, PyObject* _Nonnull* _Nullable result)
286
221
  {
287
222
  *result = PyDict_GetItemWithError(p, key);
288
223
  if (*result == NULL) {
@@ -303,10 +238,28 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
303
238
  Py_XINCREF(result);
304
239
  return result;
305
240
  }
241
+
242
+ static inline int
243
+ PyDict_SetDefaultRef(PyObject* p, PyObject* key, PyObject* default_value,
244
+ PyObject* _Nonnull* _Nullable result)
245
+ {
246
+ *result = PyDict_SetDefault(p, key, default_value);
247
+ if (*result == NULL) {
248
+ return -1;
249
+ }
250
+ Py_INCREF(*result);
251
+
252
+ /* This does not follow the spec, should return 1 when the key was already
253
+ * in the dict. That part of the API is not used in PyObjC though.
254
+ */
255
+ return 0;
256
+ }
257
+
306
258
  #endif
307
259
 
308
260
  #if PY_VERSION_HEX < 0x030c0000
309
- static inline PyObject* PyType_GetDict(PyTypeObject* type)
261
+ static inline PyObject*
262
+ PyType_GetDict(PyTypeObject* type)
310
263
  {
311
264
  PyObject* result = type->tp_dict;
312
265
  Py_INCREF(result);
@@ -319,12 +272,13 @@ static inline PyObject* PyType_GetDict(PyTypeObject* type)
319
272
  * These are available in 3.14 and above, the definitions below
320
273
  * mirror the private implementation in 3.13.
321
274
  */
322
- static inline int PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
275
+ static inline int
276
+ PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
323
277
  {
324
278
  #ifdef Py_GIL_DISABLED
325
- return (_Py_IsOwnedByCurrentThread(ob) &&
326
- _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
327
- _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
279
+ return (_Py_IsOwnedByCurrentThread(ob)
280
+ && _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1
281
+ && _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
328
282
  #else
329
283
  return Py_REFCNT(ob) == 1;
330
284
  #endif
@@ -340,8 +294,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
340
294
  // Nothing to do if it's in WEAKREFS, QUEUED, or MERGED states.
341
295
  return;
342
296
  }
343
- if (_Py_atomic_compare_exchange_ssize(
344
- &op->ob_ref_shared, &shared, shared | _Py_REF_MAYBE_WEAKREF)) {
297
+ if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
298
+ shared | _Py_REF_MAYBE_WEAKREF)) {
345
299
  return;
346
300
  }
347
301
  }
@@ -350,7 +304,8 @@ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
350
304
 
351
305
  #ifdef Py_GIL_DISABLED
352
306
  static inline int
353
- _Py_TryIncrefFast(PyObject *op) {
307
+ _Py_TryIncrefFast(PyObject* op)
308
+ {
354
309
  uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
355
310
  local += 1;
356
311
  if (local == 0) {
@@ -369,7 +324,7 @@ _Py_TryIncrefFast(PyObject *op) {
369
324
  }
370
325
 
371
326
  static inline int
372
- _Py_TryIncRefShared(PyObject *op)
327
+ _Py_TryIncRefShared(PyObject* op)
373
328
  {
374
329
  Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
375
330
  for (;;) {
@@ -379,10 +334,8 @@ _Py_TryIncRefShared(PyObject *op)
379
334
  return 0;
380
335
  }
381
336
 
382
- if (_Py_atomic_compare_exchange_ssize(
383
- &op->ob_ref_shared,
384
- &shared,
385
- shared + (1 << _Py_REF_SHARED_SHIFT))) {
337
+ if (_Py_atomic_compare_exchange_ssize(&op->ob_ref_shared, &shared,
338
+ shared + (1 << _Py_REF_SHARED_SHIFT))) {
386
339
  #ifdef Py_REF_DEBUG
387
340
  _Py_IncRefTotal(_PyThreadState_GET());
388
341
  #endif
@@ -394,7 +347,7 @@ _Py_TryIncRefShared(PyObject *op)
394
347
  #endif
395
348
 
396
349
  static inline int
397
- PyUnstable_TryIncRef(PyObject *op __attribute__((__unused__)))
350
+ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
398
351
  {
399
352
  #ifdef Py_GIL_DISABLED
400
353
  return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
@@ -408,6 +361,11 @@ PyUnstable_TryIncRef(PyObject *op __attribute__((__unused__)))
408
361
  }
409
362
  #endif
410
363
 
364
+ #if PY_VERSION_HEX < 0x030f00a7
365
+ #define PyAnyDict_CheckExact PyDict_CheckExact
366
+ #define PyAnyDict_Check PyDict_Check
367
+ #endif
368
+
411
369
  NS_ASSUME_NONNULL_END
412
370
 
413
371
  #endif /* PyObjC_COMPAT_H */
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SystemConfiguration
3
- Version: 11.1
3
+ Version: 12.2.1
4
4
  Summary: Wrappers for the framework SystemConfiguration on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,22 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
24
23
  Classifier: Programming Language :: Python :: 3.13
25
24
  Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
27
28
  Classifier: Programming Language :: Objective C
28
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
29
30
  Classifier: Topic :: Software Development :: User Interfaces
30
- Requires-Python: >=3.9
31
+ Requires-Python: >=3.10
31
32
  Description-Content-Type: text/x-rst; charset=UTF-8
32
33
  License-File: LICENSE.txt
33
- Requires-Dist: pyobjc-core>=11.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.1
34
+ Requires-Dist: pyobjc-core>=12.2.1
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
35
36
  Dynamic: author
36
37
  Dynamic: author-email
37
38
  Dynamic: classifier
@@ -42,7 +42,7 @@ class TestSCNetwork(TestCase):
42
42
  self.assertIsInstance(b, bool)
43
43
  self.assertIsInstance(flags, int)
44
44
  self.assertEqual(b, True)
45
- self.assertEqual(flags, SystemConfiguration.kSCNetworkFlagsReachable)
45
+ self.assertTrue(flags & SystemConfiguration.kSCNetworkFlagsReachable)
46
46
 
47
47
  @skipUnless(resolver_available(), "No DNS resolver available")
48
48
  def testFunctions(self):