Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

(in development)
================
* Make the PySide6 version compatibility constraint optional through the `pyside6` extra.
* `QModelIndex.constInternalPointer()` should be `Any`
* `QDBusConnection.internalPointer()` and `QDBusConnection.constInternalPointer()` should be `Any`
* `QInputDialog.getText()`, `getInt()`, `getFloat()`, `getMultiLineText()`, `getItem()` accept `None`as parent argument
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,18 @@ As a derived work from PySide6, the stubs are delivered under the LGPL v2.1 . Se

# Installation

Install from pypi:
Install the stubs with pip:

$ pip install PySide6-stubs

To have the dependency resolver enforce the declared PySide6 version
compatibility constraints, select the `pyside6` extra:

$ pip install "PySide6-stubs[pyside6]"

Selecting this extra may also cause pip to install or change PySide6 as a side
effect of satisfying those constraints.


If you want to install the stable development version from the Git repository:

Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ package_dir =
shiboken6-stubs = shiboken6-stubs

python_requires = >=3.7
install_requires =
PySide6>=6.0

[options.package_data]
* = *.pyi
Expand All @@ -37,6 +35,8 @@ exclude =


[options.extras_require]
pyside6 =
PySide6>=6.0
dev =
pytest
mypy>=1.0
Loading