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

Fixes annotation for QLineEdit to allow None as argument. #165

Closed
wants to merge 488 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
488 commits
Select commit Hold shift + click to select a range
6e78b72
Result of processing the grep results. Basis for processing flags.
bluebird75 Nov 11, 2021
e482758
Regenerate grep results
bluebird75 Nov 11, 2021
1cabba9
Fix and improve grep results analysis
bluebird75 Nov 11, 2021
b69eba6
Better handling of missing expected attributes in classes
bluebird75 Nov 11, 2021
bc1ce9a
Improved grep results
bluebird75 Nov 11, 2021
9484b71
Fix typo
bluebird75 Nov 11, 2021
d8116ea
QFlag operations for QOpenGLDebugMessage.Types, QOpenGLDebugMessage.T…
bluebird75 Nov 11, 2021
93b8ff7
QFlag operations for QLocalServer.SocketOptions, QLocalServer.SocketO…
bluebird75 Nov 12, 2021
6c64e76
QFlag operations for QGraphicsView.CacheMode, QGraphicsView.CacheMode…
bluebird75 Nov 12, 2021
e0f4ac1
QFlag operations for QUrl.FormattingOptions, QUrl.UrlFormattingOption…
bluebird75 Nov 12, 2021
b622b9f
Add qflag support for CheckIndexOption in QtCore
bluebird75 Nov 12, 2021
f60e5d1
README clarifications
bluebird75 Nov 12, 2021
8518722
Add result of our processing for history archiving
bluebird75 Nov 12, 2021
93b2fe0
Message when we are finished
bluebird75 Nov 12, 2021
d2b14c9
QFlag operations for QAbstractItemModel.CheckIndexOptions, QAbstractI…
bluebird75 Nov 12, 2021
1df6e54
Notify when everything is finished.
bluebird75 Nov 12, 2021
9169b50
Merge remote-tracking branch 'bluebird75/patch-2' into all-qflags-phil
bluebird75 Nov 12, 2021
cab1654
Merge branch 'all-qflags-phil' into all-qflags
bluebird75 Nov 12, 2021
50f769f
Add proper type: ignore[override] where needed
bluebird75 Nov 12, 2021
6223e88
Remove __or__ and __ror__ for enum class
bluebird75 Nov 13, 2021
b3cebd5
Remove __or__ and __ror__ where int base class already does the job.
bluebird75 Nov 13, 2021
5d2e242
Tell mypy to ignore unreachable code.
bluebird75 Nov 13, 2021
82b4a78
Int compatible enum do not need any changes.
bluebird75 Nov 13, 2021
79b9c36
Prevent mypy from reporting unreachable code (by design)
bluebird75 Nov 13, 2021
49c24d6
Regnerate test files to support Python 3.6 - 3.10
bluebird75 Nov 13, 2021
3bf959c
Regnerate test files to support Python 3.6 - 3.10
bluebird75 Nov 13, 2021
74be2ec
Rename
bluebird75 Nov 15, 2021
d0e0814
Merge remote-tracking branch 'bluebird75/patch-2' into run-ci-on-windows
bluebird75 Nov 15, 2021
92753d3
Update develop requirements to match production requirements
bluebird75 Nov 15, 2021
9b4da95
Add specific stub ignores for windows
bluebird75 Nov 15, 2021
2c93c76
RUN ci for this branch
bluebird75 Nov 15, 2021
9ce8bc2
More official stuff to ignore on windows
bluebird75 Nov 15, 2021
b766e45
do not complain about unused allowlist
bluebird75 Nov 15, 2021
5aa0d14
Ingore QtX11Extras on windows
bluebird75 Nov 15, 2021
68972d1
Pass the name of the OS to tox and to stubtest invocation
bluebird75 Nov 15, 2021
ebc5c12
Add per os allowlist
bluebird75 Nov 15, 2021
7f844cb
Better Windows allowlist
bluebird75 Nov 15, 2021
7ae3429
Trigger CI to detect status of QtNetworkAuth implementation
bluebird75 Nov 15, 2021
86bb122
Ignore properly all missing implementation on Windows
bluebird75 Nov 15, 2021
025c0e5
See if we can define conditional stubs
bluebird75 Nov 15, 2021
9dff939
Revert "See if we can define conditional stubs"
bluebird75 Nov 15, 2021
8269c9e
Enhance stub coverage on Windows
bluebird75 Nov 15, 2021
574a334
Remove non needed allowlist
bluebird75 Nov 15, 2021
c85a0f1
Fix CI on Linux
bluebird75 Nov 15, 2021
be29e4a
Add support for Python 3.10 on Windows and Linux + enable 3.6 on Windows
bluebird75 Nov 16, 2021
156f45c
Attempt fix for Python 3.10 handling by actions
bluebird75 Nov 16, 2021
d854f7c
Stick with Python 3.9 on Windows because it works
bluebird75 Nov 16, 2021
b45b3c6
Add all grep results
bluebird75 Nov 17, 2021
5fc7ec6
More module groups
bluebird75 Nov 17, 2021
fb4ea8a
Enable Python 3.10 on Windows with a later versions of requirements
bluebird75 Nov 17, 2021
b22b4a8
Group modules into where to look for qflags implementation
bluebird75 Nov 17, 2021
5f5a1e7
Stick to Python 3.9 because Python 3.10 wheels are not available for …
bluebird75 Nov 17, 2021
ed7bf08
QFlag operations for QMemoryBarrier.Operations, QMemoryBarrier.Operat…
bluebird75 Nov 17, 2021
161f328
Cache CST parsed modules
bluebird75 Nov 17, 2021
177d1d8
Add more module support
bluebird75 Nov 17, 2021
3834615
QFlag operations for QClearBuffers.BufferTypeFlags, QBuffer.BufferTyp…
bluebird75 Nov 19, 2021
ad91fc9
One additional behavior for enum/qflqgs
bluebird75 Nov 19, 2021
1797a97
More qflags supported
bluebird75 Nov 19, 2021
36688bf
Catch correct exception when evaluating behavior
bluebird75 Nov 19, 2021
ac39cfd
Remove obsolete files
bluebird75 Nov 19, 2021
0eae751
All qflag processing results
bluebird75 Nov 19, 2021
67c27b1
Make sure we have our name defined before evaluating it
bluebird75 Nov 19, 2021
0720aa5
QFlag operations for QChart.AnimationOptions, QChart.AnimationOption …
bluebird75 Nov 19, 2021
a4af725
QFlag operations for QChartView.RubberBands, QChartView.RubberBand in…
bluebird75 Nov 19, 2021
8792571
QFlag operations for QPolarChart.PolarOrientations, QPolarChart.Polar…
bluebird75 Nov 19, 2021
8359b9b
QFlag operations for QAbstractAxis.AxisTypes, QAbstractAxis.AxisType …
bluebird75 Nov 19, 2021
5eedc5d
Processing QtChart result
bluebird75 Nov 19, 2021
0060e4d
Full processing results
bluebird75 Nov 19, 2021
b02a6ba
Add qtchart and qtconnectivity group
bluebird75 Nov 19, 2021
1acfefc
QtChart processing results
bluebird75 Nov 19, 2021
78850bc
QFlag operations for QNearFieldManager.TargetAccessModes, QNearFieldM…
bluebird75 Nov 19, 2021
cf37617
QFlag operations for QNearFieldShareManager.ShareModes, QNearFieldSha…
bluebird75 Nov 19, 2021
c6ccd34
QFlag operations for QNearFieldTarget.AccessMethods, QNearFieldTarget…
bluebird75 Nov 19, 2021
cfa470b
Addtional way of declaring a QFlag class
bluebird75 Nov 19, 2021
ac13739
Remove redundant entries
bluebird75 Nov 19, 2021
015a253
Bluetooth flags to qdd
bluebird75 Nov 19, 2021
c16506c
QFlag operations for QBluetooth.SecurityFlags, QBluetooth.Security in…
bluebird75 Nov 19, 2021
dc01864
QFlag operations for QBluetooth.AttAccessConstraints, QBluetooth.AttA…
bluebird75 Nov 19, 2021
54bb96f
QFlag operations for QBluetoothDeviceInfo.ServiceClasses, QBluetoothD…
bluebird75 Nov 19, 2021
6458991
QFlag operations for QBluetoothDeviceInfo.Fields, QBluetoothDeviceInf…
bluebird75 Nov 19, 2021
fa2e3b6
QFlag operations for QBluetoothDeviceInfo.CoreConfigurations, QBlueto…
bluebird75 Nov 19, 2021
daa8c4d
QFlag operations for QLowEnergyCharacteristic.PropertyTypes, QLowEner…
bluebird75 Nov 19, 2021
46aa02f
QFlag operations for QLowEnergyService.ServiceTypes, QLowEnergyServic…
bluebird75 Nov 19, 2021
583d877
QFlag may inherit from sip.wrapper as well
bluebird75 Nov 19, 2021
7764ec5
Processing results
bluebird75 Nov 19, 2021
a291ef8
Add visualization module
bluebird75 Nov 19, 2021
bd64a60
QFlag operations for QAbstract3DGraph.SelectionFlags, QAbstract3DGrap…
bluebird75 Nov 19, 2021
a920426
QFlag operations for QAbstract3DGraph.OptimizationHints, QAbstract3DG…
bluebird75 Nov 19, 2021
ec31cda
QFlag operations for QSurface3DSeries.DrawFlags, QSurface3DSeries.Dra…
bluebird75 Nov 19, 2021
c0406fa
Add visualization module results
bluebird75 Nov 19, 2021
e39a2b5
Add qtquick group
bluebird75 Nov 19, 2021
d683f43
QFlag operations for QQuickItem.Flags, QQuickItem.Flag in module QtQuick
bluebird75 Nov 19, 2021
94d829d
QFlag operations for QSGMaterial.Flags, QSGMaterial.Flag in module Qt…
bluebird75 Nov 19, 2021
fb3321b
QFlag operations for QSGNode.Flags, QSGNode.Flag in module QtQuick
bluebird75 Nov 19, 2021
feeaba9
QFlag operations for QSGMaterialRhiShader.Flags, QSGMaterialRhiShader…
bluebird75 Nov 19, 2021
8170b18
QFlag operations for QQmlImageProviderBase.Flags, QQmlImageProviderBa…
bluebird75 Nov 19, 2021
e2d751a
QFlag operations for QJSEngine.Extensions, QJSEngine.Extension in mod…
bluebird75 Nov 19, 2021
8ff4ab0
QFlag operations for QQuickPaintedItem.PerformanceHints, QQuickPainte…
bluebird75 Nov 19, 2021
df1a6b8
QFlag operations for QQuickWindow.CreateTextureOptions, QQuickWindow.…
bluebird75 Nov 19, 2021
69d9276
QFlag operations for QSGEngine.CreateTextureOptions, QSGEngine.Create…
bluebird75 Nov 19, 2021
be70a6b
QFlag operations for QSGAbstractRenderer.ClearMode, QSGAbstractRender…
bluebird75 Nov 19, 2021
1fe95e9
QFlag operations for QSGAbstractRenderer.MatrixTransformFlags, QSGAbs…
bluebird75 Nov 19, 2021
741e487
QFlag operations for QSGMaterialRhiShader.GraphicsPipelineState.Color…
bluebird75 Nov 19, 2021
3512e9b
QFlag operations for QSGNode.DirtyState, QSGNode.DirtyStateBit in mod…
bluebird75 Nov 19, 2021
384dcdf
QFlag operations for QSGRendererInterface.ShaderCompilationTypes, QSG…
bluebird75 Nov 19, 2021
abb8481
QFlag operations for QSGRendererInterface.ShaderSourceTypes, QSGRende…
bluebird75 Nov 19, 2021
32d9a60
QFlag operations for QSGRenderNode.StateFlags, QSGRenderNode.StateFla…
bluebird75 Nov 19, 2021
c3ecf72
QFlag operations for QSGRenderNode.RenderingFlags, QSGRenderNode.Rend…
bluebird75 Nov 19, 2021
ec338d2
QFlag operations for QSGImageNode.TextureCoordinatesTransformMode, QS…
bluebird75 Nov 19, 2021
7698df3
QFlag operations for QSGSimpleTextureNode.TextureCoordinatesTransform…
bluebird75 Nov 19, 2021
4d3d85f
Add QML processing results
bluebird75 Nov 19, 2021
d1bf116
Remove non relevant grep results
bluebird75 Nov 19, 2021
516cd87
Add QtLocation qflags to process
bluebird75 Nov 19, 2021
d64c69e
QFlag operations for QLocation.VisibilityScope, QLocation.Visibility …
bluebird75 Nov 19, 2021
d6a8db2
QFlag operations for QGeoPositionInfoSource.PositioningMethods, QGeoP…
bluebird75 Nov 19, 2021
436cb1f
QFlag operations for QGeoAreaMonitorSource.AreaMonitorFeatures, QGeoA…
bluebird75 Nov 19, 2021
29ab157
QFlag operations for QGeoRouteRequest.TravelModes, QGeoRouteRequest.T…
bluebird75 Nov 19, 2021
250ad55
QFlag operations for QGeoRouteRequest.FeatureTypes, QGeoRouteRequest.…
bluebird75 Nov 19, 2021
81ac940
QFlag operations for QGeoRouteRequest.FeatureWeights, QGeoRouteReques…
bluebird75 Nov 19, 2021
bb4b78b
QFlag operations for QGeoRouteRequest.RouteOptimizations, QGeoRouteRe…
bluebird75 Nov 19, 2021
50d1f97
QFlag operations for QGeoRouteRequest.SegmentDetails, QGeoRouteReques…
bluebird75 Nov 19, 2021
141b206
QFlag operations for QGeoRouteRequest.ManeuverDetails, QGeoRouteReque…
bluebird75 Nov 19, 2021
c9d370e
QFlag operations for QGeoServiceProvider.RoutingFeatures, QGeoService…
bluebird75 Nov 19, 2021
17de6e8
QFlag operations for QGeoServiceProvider.GeocodingFeatures, QGeoServi…
bluebird75 Nov 19, 2021
06cdbee
QFlag operations for QGeoServiceProvider.MappingFeatures, QGeoService…
bluebird75 Nov 19, 2021
523aff7
QFlag operations for QGeoServiceProvider.PlacesFeatures, QGeoServiceP…
bluebird75 Nov 19, 2021
d8655eb
QFlag operations for QGeoServiceProvider.NavigationFeatures, QGeoServ…
bluebird75 Nov 19, 2021
84b66c6
Remove non relevant grep results
bluebird75 Nov 19, 2021
bf355ec
Qt location processing results
bluebird75 Nov 19, 2021
e3e5a3e
Add QtMultimedia to process
bluebird75 Nov 19, 2021
269571a
QFlag operations for QCamera.CaptureModes, QCamera.CaptureMode in mod…
bluebird75 Nov 19, 2021
d1903f5
QFlag operations for QCamera.LockTypes, QCamera.LockType in module Qt…
bluebird75 Nov 19, 2021
40cee3e
QFlag operations for QCameraExposure.FlashModes, QCameraExposure.Flas…
bluebird75 Nov 19, 2021
93e34b5
QFlag operations for QCameraFocus.FocusModes, QCameraFocus.FocusMode …
bluebird75 Nov 19, 2021
55338b2
QFlag operations for QCameraImageCapture.CaptureDestinations, QCamera…
bluebird75 Nov 19, 2021
220f019
QFlag operations for QMediaPlayer.Flags, QMediaPlayer.Flag in module …
bluebird75 Nov 19, 2021
52a219b
QFlag operations for QVideoFilterRunnable.RunFlags, QVideoFilterRunna…
bluebird75 Nov 19, 2021
2369981
Results of processing QtMultimedia
bluebird75 Nov 19, 2021
ccb1b6b
Remove non relevant grep results
bluebird75 Nov 19, 2021
e91966a
Prepare for QFlags of QtSerialPort
bluebird75 Nov 19, 2021
c7cdff1
QFlag operations for QSerialPort.Directions, QSerialPort.Direction in…
bluebird75 Nov 19, 2021
860361b
QFlag operations for QSerialPort.PinoutSignals, QSerialPort.PinoutSig…
bluebird75 Nov 19, 2021
45b4e85
Results of processing QtSerialPort
bluebird75 Nov 19, 2021
a3d328a
Remove duplicated methods
bluebird75 Nov 19, 2021
da37a60
More flags, manually extracted from .pyi
bluebird75 Nov 19, 2021
a42c1d9
QFlag operations for QWebEngineUrlScheme.Flags, QWebEngineUrlScheme.F…
bluebird75 Nov 19, 2021
c26af8a
QFlag operations for QWebEngineContextMenuData.MediaFlags, QWebEngine…
bluebird75 Nov 19, 2021
b2adbd2
QFlag operations for QWebEngineContextMenuData.EditFlags, QWebEngineC…
bluebird75 Nov 19, 2021
76f2ea1
QFlag operations for QWebEnginePage.FindFlags, QWebEnginePage.FindFla…
bluebird75 Nov 19, 2021
b1e7f2d
QFlag operations for QDesignerFormWindowInterface.Feature, QDesignerF…
bluebird75 Nov 19, 2021
6722fda
Result of latest QFlags added
bluebird75 Nov 19, 2021
c867406
Enable CI on this branch
bluebird75 Nov 19, 2021
c338898
CI fix
bluebird75 Nov 19, 2021
2aa1e41
Do not run this CI on Windows
bluebird75 Nov 19, 2021
0e6b780
Make mypy happy
bluebird75 Nov 19, 2021
4a369ef
type: ignore comments are needed here
bluebird75 Nov 19, 2021
ec16ba2
Remove tests_require
altendky Nov 28, 2021
146018d
drop requirements files and pin to the supported 5.15.3
altendky Nov 28, 2021
16e1de8
pip freeze --all in tox
altendky Nov 28, 2021
c8c577d
Merge pull request #173 from altendky/pin_to_latest_supported_version
altendky Nov 28, 2021
68966f8
Merge branch 'master' into merge_upstream_5.15.4
altendky Nov 28, 2021
0ce2379
update tox.ini to 5.15.4
altendky Nov 28, 2021
d2aacf6
Merge pull request #149 from altendky/merge_upstream_5.15.4
altendky Nov 28, 2021
70c1d05
5.15.5
altendky Nov 29, 2021
39c4f4e
Correct PyQtNetworkAuth handling
altendky Nov 29, 2021
aa0a157
Merge pull request #174 from altendky/upstream-5.15.4-network_auth_fix
altendky Nov 29, 2021
3e3c796
Merge branch 'upstream' into upstream-5.15.5
altendky Nov 29, 2021
69e0f1d
Merge branch 'upstream' into merge_upstream_5.15.4-network_auth_fix
altendky Nov 29, 2021
269bac0
Merge pull request #175 from altendky/merge_upstream_5.15.4-network_a…
altendky Nov 29, 2021
38ee312
Merge pull request #176 from altendky/upstream-5.15.5
altendky Nov 29, 2021
7af82b4
Merge branch 'upstream' into merge_upstream_5.15.5
altendky Nov 29, 2021
05142de
remove unused ignore
altendky Nov 29, 2021
ba1a628
changelog
altendky Nov 29, 2021
0d6eebe
5.15.6
altendky Nov 29, 2021
9a0820b
Merge pull request #177 from altendky/merge_upstream_5.15.5
altendky Nov 29, 2021
1126a3c
Merge pull request #178 from altendky/upstream-5.15.6
altendky Nov 29, 2021
780854d
Merge branch 'upstream' into merge_upstream_5.15.6
altendky Nov 29, 2021
7b39ec3
5.15.6
altendky Nov 29, 2021
1e95b81
Merge pull request #179 from altendky/merge_upstream_5.15.6
altendky Nov 29, 2021
e3ab992
Merge branch 'master' into remove_tests_require
altendky Nov 29, 2021
78f4dc1
Merge pull request #172 from python-qt-tools/remove_tests_require
bluebird75 Nov 29, 2021
ad672b2
Merge branch 'master' into macos
altendky Nov 29, 2021
9e6572c
apply comments from the review
bluebird75 Nov 30, 2021
bccbf3f
Use matrix to run windows, and exclude windows 10
bluebird75 Dec 2, 2021
e55e6f3
Merge remote-tracking branch 'pyqt5-stubs/master' into run-ci-on-windows
bluebird75 Dec 2, 2021
2c32680
Oops, trigger installation of dependent linux package
bluebird75 Dec 2, 2021
0f98aad
Define OS for tox into environement list
bluebird75 Dec 2, 2021
93878c3
rename for new tox names
bluebird75 Dec 2, 2021
1a25b06
Update .github/workflows/ci.yml
bluebird75 Dec 4, 2021
58d9135
Merge pull request #170 from bluebird75/run-ci-on-windows
bluebird75 Dec 4, 2021
fc57303
Merge branch 'master' into macos
altendky Dec 5, 2021
4385b05
update
altendky Dec 5, 2021
fed63af
Make some Windows specific hints platform sensitive
altendky Dec 5, 2021
a81290f
slight reorder for consistency
altendky Dec 5, 2021
5f2b179
add mac version bits
altendky Dec 5, 2021
aeee34e
oops
altendky Dec 5, 2021
30c9ddd
some ignores for macos
altendky Dec 5, 2021
9b47c56
macVersion is a function
altendky Dec 5, 2021
352369f
and MacVersion
altendky Dec 5, 2021
c591b0e
Merge branch 'master' into master
altendky Dec 5, 2021
85395ec
Merge pull request #156 from PowerSnail/master
altendky Dec 5, 2021
ee7d92d
Merge branch 'master' into handle_some_windows_linux_specific
altendky Dec 5, 2021
8a5dfa6
Merge pull request #181 from altendky/handle_some_windows_linux_specific
bluebird75 Dec 6, 2021
4e38eeb
Merge branch 'master' into all-qflags
bluebird75 Dec 7, 2021
5146d68
Update tests/test_stubs.py
bluebird75 Dec 15, 2021
e048028
Use triple quotes for docstrings
bluebird75 Dec 15, 2021
c086de2
Update tests/test_stubs.py
bluebird75 Dec 15, 2021
f93442b
Update tests/test_stubs.py
bluebird75 Dec 15, 2021
3d24115
Update tests/test_stubs.py
bluebird75 Dec 15, 2021
f53eb62
Use os.fspath instead of str()
bluebird75 Dec 15, 2021
7a41588
Typo
bluebird75 Dec 15, 2021
8234819
Improve style: use """ instead of ''', better use of Path, ...
bluebird75 Dec 15, 2021
52f70a9
Merge remote-tracking branch 'bluebird75/all-qflags' into all-qflags
bluebird75 Dec 15, 2021
4db67e6
Merge pull request #153 from bluebird75/all-qflags
bluebird75 Dec 15, 2021
fae93c8
Merge branch 'all-qflags' into more-qflags
bluebird75 Dec 15, 2021
20cd408
Add tests for QSize + support division
bluebird75 Nov 28, 2021
4b10835
CI should be exactly like on pyqt5-stubs
bluebird75 Dec 15, 2021
fd41a33
Merge branch 'master' into master
bluebird75 Dec 22, 2021
e3dad02
Add PYQT_CONFIGURATION Dict detected by mypy 0.930 and missed by prev…
bluebird75 Dec 24, 2021
a1c7bf2
Fix typo
bluebird75 Dec 24, 2021
b04042c
Add changelog entry for pull request
bluebird75 Dec 27, 2021
808fb6d
Merge branch 'master' into more-qflags
bluebird75 Dec 27, 2021
a33dc77
Merge pull request #184 from bluebird75/fix-ci-mypy-930
bluebird75 Dec 27, 2021
5f0b7a1
Merge branch 'master' into master
bluebird75 Dec 27, 2021
cd611fb
Merge branch 'master' into better-qsize-tests
bluebird75 Dec 27, 2021
aca6cdf
Remove unneedod quotes around float
bluebird75 Dec 27, 2021
ae4b6b3
Add all operations for QSize handling
bluebird75 Dec 27, 2021
ad6a365
Merge pull request #162 from TilmanK/master
bluebird75 Dec 27, 2021
b9765d9
Merge branch 'master' into more-qflags
bluebird75 Dec 27, 2021
5a34f17
Code beautifying
bluebird75 Dec 27, 2021
4fbc43e
Merge pull request #171 from bluebird75/more-qflags
bluebird75 Dec 27, 2021
da704ce
Merge branch 'master' into better-qsize-tests
bluebird75 Dec 27, 2021
f0ef221
Merge branch 'master' into macos
altendky Dec 27, 2021
53d017d
more macos constants
altendky Dec 28, 2021
19942ff
maybe
altendky Dec 28, 2021
7c11053
Update CHANGELOG.md
bluebird75 Dec 29, 2021
cb3d717
Merge pull request #124 from python-qt-tools/macos
bluebird75 Dec 29, 2021
064d27e
Merge branch 'master' into better-qsize-tests
bluebird75 Dec 29, 2021
e4839c4
Merge pull request #183 from bluebird75/better-qsize-tests
bluebird75 Dec 29, 2021
cd0c744
Fix annotations for methods with QTableWidgetItem in QTableWidget
TilmanK Jan 4, 2022
553417e
Merge remote-tracking branch 'origin/master'
TilmanK Jan 4, 2022
96060d7
Fixes QListWiget and QTreeWidget
TilmanK Jan 5, 2022
e9fa77d
Added CHANGELOG.md entry
TilmanK Jan 5, 2022
52ed479
Merge pull request #189 from TilmanK/master
bluebird75 Jan 6, 2022
db515e7
Fix as suggested by @bluebird75
TilmanK Jan 7, 2022
36240cb
Fixes annotation for QLineEdit to allow None as argument.
Sep 2, 2021
18fc876
Added changelog entry
Sep 2, 2021
03e3640
Fixes missing import.
Sep 2, 2021
65f7b19
Fix as suggested by @bluebird75
TilmanK Jan 7, 2022
b41a17f
Merge remote-tracking branch 'origin/qlineedit_fix' into qlineedit_fix
TilmanK Jan 7, 2022
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
23 changes: 12 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ jobs:
os:
- name: Linux
runs-on: ubuntu-latest
matrix: linux
# https://github.com/python-qt-tools/PyQt5-stubs/issues/122
# - name: Windows
# runs-on: windows-latest
# matrix: windows
# https://github.com/python-qt-tools/PyQt5-stubs/issues/122
# - name: macOS
# runs-on: macos-latest
# matrix: macos
tox: linux
- name: macOS
runs-on: macos-latest
tox: macos
- name: Windows
runs-on: windows-latest
tox: windows
python:
- name: CPython 3.6
tox: py36
Expand All @@ -46,6 +44,9 @@ jobs:
- name: CPython 3.9
tox: py39
action: 3.9
- name: CPython 3.10
tox: py310
action: '3.10'
steps:
- uses: actions/checkout@v2
- name: Set up ${{ matrix.python.name }}
Expand All @@ -55,7 +56,7 @@ jobs:
architecture: x64
- uses: twisted/[email protected]
- name: Install Linux Qt5 dependencies
if: matrix.os.matrix == 'linux'
if: matrix.os.name == 'Linux'
run: |
sudo apt-get update --yes
sudo apt-get install --yes libgl1
Expand All @@ -67,7 +68,7 @@ jobs:
pip install tox
- name: Test
run: |
tox -v -e ${{ matrix.python.tox }}
tox -v -e ${{ matrix.python.tox }}-${{ matrix.os.tox }}

all:
name: All
Expand Down
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [unreleased]

### Added
* [#179](https://github.com/python-qt-tools/PyQt5-stubs/pull/179) update to PyQt5 5.15.6
* [#176](https://github.com/python-qt-tools/PyQt5-stubs/pull/176) update to PyQt5 5.15.5
* [#175](https://github.com/python-qt-tools/PyQt5-stubs/pull/175) catch up PyQtNetworkAuth with the 5.15.4 release
* [#149](https://github.com/python-qt-tools/PyQt5-stubs/pull/149) update to PyQt5 5.15.4
* [#138](https://github.com/python-qt-tools/PyQt5-stubs/pull/138) update to PyQt5 5.15.3
* [#145](https://github.com/python-qt-tools/PyQt5-stubs/pull/145) Support all implemented arithmetic operations between Qt.WindowType and Qt.WindowFlags and int
* [#144](https://github.com/python-qt-tools/PyQt5-stubs/pull/144) add `QTreeWidgetItem.__lt__()` to allow sorting of items in a QTreeWidget
* [#143](https://github.com/python-qt-tools/PyQt5-stubs/pull/143) make `bytes(QByteArray())` valid by incorrectly adding `.__bytes__()` until a proper solution is developed upstream
* [#152](https://github.com/python-qt-tools/PyQt5-stubs/pull/152) add `.__or__()` for `QDialogButtonBox.StandardButton` and `QDialogButtonBox.StandardButtons`
* [#156](https://github.com/python-qt-tools/PyQt5-stubs/pull/156) add operators to `QSize` and `QSizeF`
* [#153](https://github.com/python-qt-tools/PyQt5-stubs/pull/153) Support all implemented arithmetic operations for QFlags
based classes in modules QtCore, QtWidgets, QtGui, QtNetwork, QtDBus, QtOpenGL, QtPrintsupport, QtSql, QtTest, QtXml
* [#162](https://github.com/python-qt-tools/PyQt5-stubs/pull/162) fixes all method not declared as signals
* [#184](https://github.com/python-qt-tools/PyQt5-stubs/pull/184) Fix missing module variable
detected by latest mypy 0.930
* [#183](https://github.com/python-qt-tools/PyQt5-stubs/pull/183) Add missing operations on QSize
* [#189](https://github.com/python-qt-tools/PyQt5-stubs/pull/189) Fix QListWidget, QTreeWidget and QTableWidget so that their respective items are now optional in many places when used as argument or return value
* [#165](https://github.com/python-qt-tools/PyQt5-stubs/pull/165) allow `None` as argument for `QLineEdit.setText()`

## 5.15.2.0

Expand Down
59 changes: 47 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@
# https://hub.docker.com/_/archlinux?tab=tags&page=1&ordering=last_updated
# BUILD_DATE is a path from:
# https://archive.archlinux.org/repos/
ARG ARCH_VERSION="base-20210221.0.15908"
ARG BUILD_DATE="2021/02/25"

ARG SIP_VERSION="6.0.2"
# Also the major.minor of PyQt5-sip
ARG SIP_ABI_VERSION="12.8"
ARG PYQT_VERSION="5.15.3"
ARG PYQT_3D_VERSION="5.15.3"
ARG PYQT_CHART_VERSION="5.15.3"
ARG PYQT_DATA_VISUALIZATION_VERSION="5.15.3"
ARG PYQT_PURCHASING_VERSION="5.15.3"
ARG PYQT_WEB_ENGINE_VERSION="5.15.3"
ARG ARCH_VERSION="base-20211121.0.39613"
ARG BUILD_DATE="2021/11/29"

ARG SIP_VERSION="6.4.0"
# Also the major of PyQt5-sip
ARG SIP_ABI_VERSION="12"
ARG PYQT_VERSION="5.15.6"
ARG PYQT_3D_VERSION="5.15.5"
ARG PYQT_CHART_VERSION="5.15.5"
ARG PYQT_DATA_VISUALIZATION_VERSION="5.15.5"
ARG PYQT_PURCHASING_VERSION="5.15.5"
ARG PYQT_WEB_ENGINE_VERSION="5.15.5"
ARG PYQT_NETWORK_AUTH_VERSION="5.15.5"

ARG MAKEFLAGS=""

Expand Down Expand Up @@ -301,6 +302,39 @@ RUN sip-install \
WORKDIR /output/
RUN find /upstream/ -name \*.pyi -exec cp {} . \;

################################################################################
# PyQtNetworkAuth
################################################################################

FROM build-dep AS pyqt-network-auth

# Reuse arguments from previous build scope
ARG MAKEFLAGS
ARG PYQT_NETWORK_AUTH_VERSION

# Download source tar
RUN wget --no-verbose \
--output-document upstream.tar.gz \
https://pypi.io/packages/source/p/pyqtnetworkauth/PyQtNetworkAuth-${PYQT_NETWORK_AUTH_VERSION}.tar.gz
RUN mkdir /upstream/ && \
tar -xf \
upstream.tar.gz \
--directory /upstream/ \
--strip-components 1

# Build PyQtNetworkAuth with stubs
# TODO: Find way to build only stubs
WORKDIR /upstream/
RUN sip-install \
--qmake /usr/bin/qmake-qt5 \
--pep484-pyi \
--build-dir ./build \
--verbose

# Copy all .pyi files to output dir
WORKDIR /output/
RUN find /upstream/ -name \*.pyi -exec cp {} . \;

################################################################################
# Output
################################################################################
Expand All @@ -316,6 +350,7 @@ COPY --from=pyqt-chart /output/* ./
COPY --from=pyqt-data-visualization /output/* ./
COPY --from=pyqt-purchasing /output/* ./
COPY --from=pyqt-web-engine /output/* ./
COPY --from=pyqt-network-auth /output/* ./

# Required to run the image (which we need to do to get the files)
CMD /bin/true
Loading