- Update to 6.12.0
* Support was added for C++11 enum base types. At the moment this
is limited to base types no larger than ints. Prior to this
support, all enums were assumed to be int which breaks on
big-endian systems. Resolves#75
* Fixed a regression in v6.11.0 affecting class names as template
arguments. Resolves#77
- Release v6.11.1
* The PEP 517 build_wheel() hook has been fixed after it
regressed in v6.11.0. Resolves#73
* The handling of calls where self is passed as an argument in
ABI v13 was fixed. Resolves#74
- Release 6.11.0
* Added the /Movable/ mapped type annotation. When the /Movable/
annotation is specified for a mapped type, values of that type
are wrapped in calls to std::move() when passing them as
arguments to a C++ callable. In addition the /Transfer/
argument annotation is automatically applied. Resolves#60
* Support for template arguments in super-classes. It is now
possible to invoke a class template as a super-class in a class
template. Resolves#12
* Determining the version of the limited API to use. The version
of the limited API to use is now taken from the requires-python
field of the metadata in a project's pyproject.toml file. If
this is not specified then (as with previous versions of SIP)
the version of the oldest supported version of Python is used.
Resolves#58
* %Docstring support for namespaces. The %Docstring directive can
now be specified for C++ namespaces. Resolves#11
* Support for operator~() in the global scope. operator~() can
now be specified in the global scope. Resolves#9
* Use consistent timestamps when creating wheel files. The value
of the environment variable SOURCE_DATE_EPOCH, if defined, will
be used as the timestamp for all files included in a wheel.
This ensures wheel building is repeatable. Pull request #70
* Bindings support for PEP 639. The project section of
pyproject.toml files may now use license to specify a valid
SPDX license expression. license-files, if specified, is a list
of glob patterns describing the files containing licensing
information. The old style of license is deprecated. The
metadata format of the generated PKG-INFO file of an sdist will
normally be v2.4. If the deprecated form of license is used in
pyproject.toml then it will be v2.2. License files will be
installed in the licenses sub-directory of the generated
.dist-info directory of a wheel. packaging v24.2 is now
required. Resolves#69
* Normalised wheel names. The names of wheel files (both those
generated by sip-wheel and indirectly from the sdists created
by sip-module) now conform to current PyPA standards. Resolves
#68
* pyproject.toml now conforms to PEP 639 The licensing
information in SIP's pyproject.toml now conforms to PEP 639.
This means that the minimum setuptools version is v77.
## Bug fixes
* The handling of unknown %Timeline tags in %If directives has
been fixed. An unknown tag is assumed to refer to a later
version than all the known tags. Therefore (unknown -) will
always be false, and (- unknown) will always be true.
* Generated code will not contain digraphs. This usually affects
C++ extensions being built with the default setuptools builder.
* Long deprecation messages are now handled correctly. Pull
request #67
- Update to 6.10.0
* Introspection of the sip module ABI version
* SIP_ABI_VERSION has been added as a module attribute of the sip
module. This is an integer that represents the ABI version that
the module implements as a 3 part hexadecimal number.
* This has been implemented in ABIs v12.17 and v13.10. Resolves
#62
* sip-module support for older ABI versions. The ability of
sip-module to generate sdists for older ABI versions has been
restored. The oldest that can be generated are v12.9 and v13.1
which are the oldest non-deprecated versions. The documentation
now contains brief histories of these versions. Resolves#61
* Default ABI version. The default minor ABI version to use is
now the latest minor version for a particular major version
(rather than 0 as it was previously). Resolves#63
* Specify the ABI version on the command line. The --abi-version
command line option has been added to sip-build, sip-install
and sip-wheel to specify the ABI version of the sip module to
generate code for. Resolves#64
* Added the %MinimumABIVersion directive. The %MinimumABIVersion
directive is used to specify the minimum sip module ABI to
target in order to ensure that all calls to the public API from
handwritten code are available. A consequence of this change is
that passing string values to the /Deprecated/ annotation no
longer requires an ABI version that supports them to be
targeted. If the targeted ABI version does not support them
they are simply ignored. Resolves#65
* Escaping special characters in string annotations. The value of
a string annotation uses the ; and : characters to allow
platform- and feature-specific values to be defined. These
special characters can now be escaped using a leading \\. This
capability has now been documented. Resolves#59
## Bug fixes
* The license designator in setup.py for the latest versions of
the sip module are now correctly specified as BSD-2-Clause.
* The code generation has been fixed for classes created by
instantiating mapped type templates using a typedef with the
/NoTypeName/ annotation. Resolves#66
OBS-URL: https://build.opensuse.org/request/show/1284341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip6?expand=0&rev=22
* Support was added for C++11 enum base types. At the moment this
is limited to base types no larger than ints. Prior to this
support, all enums were assumed to be int which breaks on
big-endian systems. Resolves#75
* Fixed a regression in v6.11.0 affecting class names as template
arguments. Resolves#77
- Release v6.11.1
* The PEP 517 build_wheel() hook has been fixed after it
regressed in v6.11.0. Resolves#73
* The handling of calls where self is passed as an argument in
ABI v13 was fixed. Resolves#74
- Release 6.11.0
* Added the /Movable/ mapped type annotation. When the /Movable/
annotation is specified for a mapped type, values of that type
are wrapped in calls to std::move() when passing them as
arguments to a C++ callable. In addition the /Transfer/
argument annotation is automatically applied. Resolves#60
* Support for template arguments in super-classes. It is now
possible to invoke a class template as a super-class in a class
template. Resolves#12
* Determining the version of the limited API to use. The version
of the limited API to use is now taken from the requires-python
field of the metadata in a project's pyproject.toml file. If
this is not specified then (as with previous versions of SIP)
the version of the oldest supported version of Python is used.
Resolves#58
* %Docstring support for namespaces. The %Docstring directive can
now be specified for C++ namespaces. Resolves#11
* Support for operator~() in the global scope. operator~() can
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=48
* Introspection of the sip module ABI version
* SIP_ABI_VERSION has been added as a module attribute of the sip
module. This is an integer that represents the ABI version that
the module implements as a 3 part hexadecimal number.
* This has been implemented in ABIs v12.17 and v13.10. Resolves
#62
* sip-module support for older ABI versions. The ability of
sip-module to generate sdists for older ABI versions has been
restored. The oldest that can be generated are v12.9 and v13.1
which are the oldest non-deprecated versions. The documentation
now contains brief histories of these versions. Resolves#61
* Default ABI version. The default minor ABI version to use is
now the latest minor version for a particular major version
(rather than 0 as it was previously). Resolves#63
* Specify the ABI version on the command line. The --abi-version
command line option has been added to sip-build, sip-install
and sip-wheel to specify the ABI version of the sip module to
generate code for. Resolves#64
* Added the %MinimumABIVersion directive. The %MinimumABIVersion
directive is used to specify the minimum sip module ABI to
target in order to ensure that all calls to the public API from
handwritten code are available. A consequence of this change is
that passing string values to the /Deprecated/ annotation no
longer requires an ABI version that supports them to be
targeted. If the targeted ABI version does not support them
they are simply ignored. Resolves#65
* Escaping special characters in string annotations. The value of
a string annotation uses the ; and : characters to allow
platform- and feature-specific values to be defined. These
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=47
* sip-sdist creates PEP 625 compatible file names. The sdists
created by sip-sdist are now compatible with PEP 625 in that
they have lower case names. This ensures that they will still
be able to be uploaded to PyPI. Resolves#23
* Update the minimum version of setuptools. The minimum version
of setuptools used by SIP and by the generated sip module
sdists has been set to v69.5. This is the oldest version that
supports PEP 625. Resolves#55
* sip module sdist Requires-Python is incorrect. The minimum
Python version in the generated sip module metadata is now set
to v3.9. Resolves#56
- Release v6.9.0
* Removal of support for Python v3.8. Generated bindings now
require Python v3.9 or later.
* Type hints now conform to PEP 585.
* The latest sip module ABI versions are v12.16 and v13.9.
Resolves#37
* Added support for the deprecated() decorator in .pyi files.
.pyi files now use the deprecated() decorator when the
/Deprecated/ annotation is specified. The /Deprecated/
annotation may now specify an optional string which will be
appended to the default deprecation warning. Resolves#8
* PyQt-specific support for registering QFlags types. Calls to
qMetaTypeId() for all QFlags mapped types are now automatically
generated for PyQt using ABI v13. Resolves#43
## Bug fixes
* The handling of the SIP versions timeline was fixed. (Resolves
#47)
* Annotations are now only validated if they are known to be
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=45
- Update to 6.8.2
* Added the --deprecations-are-errors command line option to all
build tools.
* All generated files are UTF-8 encoded.
- Release 6.8.1
- Bug fixes.
- Release 6.8.0
* Python v3.7 is no longer supported.
* The latest version of ABI v13 is v13.7.0.
* The latest version of ABI v12 is v12.14.0.
* Added support for specifying the project metadata using the
'[project]' section of pyproject.toml as defined in PEP 621.
The use of the '[tool.sip.metadata]' is now deprecated.
* The conversion to a pure Python implementation is now complete.
- Drop support-python3.6.patch
* python-foo prefixed packages for SLE15 with python3.6 should be
handled by an SLE internal maintenance request to python3-foo
OBS-URL: https://build.opensuse.org/request/show/1141600
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=39
- Update to 6.7.12
* The latest version of ABI v13 is v13.6.0.
* The latest version of ABI v12 is v12.13.0.
* Added sipPyTypeDictRef() to the v12 and v13 ABIs.
sipPyTypeDict() is now deprecated and must not be used with
Python v3.12 and later.
* Classes will automatically support being iterated over if they
implement '__getitem__()' or 'operator[]' and have a method
annotated with '__len__'.
* Bug fixes.
OBS-URL: https://build.opensuse.org/request/show/1117882
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=37
- Update to 6.7.9
* The latest version of ABI v13 is v13.5.1.
* The latest version of ABI v12 is v12.12.1.
* Bug fixes.
- Release v6.7.8 4th April 2023
* The latest version of ABI v13 is v13.5.0.
* The latest version of ABI v12 is v12.12.0.
* The 'wheel-includes' value of the 'tool.sip.project' section of
pyproject.toml now supports the use of absolute file patterns.
* Replaced the use of the 'toml' package with the standard library 'tomllib'
package for Python v3.11 and later, and the 'tomli' package for earlier
versions of Python.
* Bug fixes.
OBS-URL: https://build.opensuse.org/request/show/1083092
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip6?expand=0&rev=14
* This is a minor bug-fix release that fixes a problem with
extract filenames that contain Windows drive letters.
- Version 6.7.4 is a minor big fix release that fixes the typo
affecting type hints for properties.
- Drop sip-hg2860-fixprop.patch
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=21
- Update to 6.7.2
* Bug fixes
* Refactored the structure to create the outputs module.
* The Python .api generation now produces the same results as the
old C++ code
* Established a pattern for class-based object formatters.
* Fixed a regression in instantiating class templates.
- Update to version 6.7.1
* Bug fixes
- Drop sip-6.7.0-zipstrict.patch
- Update to version 6.7.0
* Added the /NoAssignmentOperator/, /NoCopyCtor/ and
/NoDefaultCtor/ mapped type annotations.
* Added the --generator-version command line option to
sip-distinfo.
* Added the 'generator_version' argument to
Project.get_sip_distinfo_command_line().
* The resolver/transform stage has been replaced with a pure
Python implementation.
* Bug fixes.
- Add sip-6.7.0-zipstrict.patch
* https://www.riverbankcomputing.com/pipermail/pyqt/2022-October/044927.html
OBS-URL: https://build.opensuse.org/request/show/1010240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip6?expand=0&rev=9
* Bug fixes
* Refactored the structure to create the outputs module.
* The Python .api generation now produces the same results as the
old C++ code
* Established a pattern for class-based object formatters.
* Fixed a regression in instantiating class templates.
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=15
- Update to version 6.6.2
* Enums created with ABI v13 now handle unexpected values by
creating corresponding pseudo-members.
* Any config settings passed by a PEP 571 frontend are now used.
* The 'array' type is now accessible from the sip module.
* 'array' can now create one dimensional arrays of wrapped types
that can be modified in situ.
* Arguments using the /Array/ (and /ArraySize/) annotations will
now accept 'array' objects of the corresponding type.
* The latest version of ABI v13 is v13.4.0.
* The latest version of ABI v12 is v12.11.0.
* Bug fixes.
- Update to version 6.6.1
* Python v3.6 is no longer supported.
* The .sip file parser (created using flex and bison) has been
replaced with a pure Python implementation using PLY.
* The latest version of ABI v13 is v13.3.1.
* The latest version of ABI v12 is v12.10.1.
OBS-URL: https://build.opensuse.org/request/show/984595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sip6?expand=0&rev=8
- Update to version 6.6.2
* Enums created with ABI v13 now handle unexpected values by
creating corresponding pseudo-members.
* Any config settings passed by a PEP 571 frontend are now used.
* The 'array' type is now accessible from the sip module.
* 'array' can now create one dimensional arrays of wrapped types
that can be modified in situ.
* Arguments using the /Array/ (and /ArraySize/) annotations will
now accept 'array' objects of the corresponding type.
* The latest version of ABI v13 is v13.4.0.
* The latest version of ABI v12 is v12.11.0.
* Bug fixes.
OBS-URL: https://build.opensuse.org/request/show/984160
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=10