Commit Graph

70 Commits

Author SHA1 Message Date
Lesserkuma
d42b7e74a7 4.6 2026-01-27 12:32:39 +01:00
Lesserkuma
c694ca8b1e 4.5 2025-12-06 16:15:54 +01:00
Lesserkuma
b7a4988a6b 4.4 2025-05-23 15:46:53 +02:00
Lesserkuma
c7f1688551 4.3 2024-11-07 22:44:12 +01:00
Lesserkuma
201d76301d 4.2 2024-08-04 20:56:40 +02:00
Lesserkuma
3f71efac47 4.1 2024-07-14 17:34:12 +02:00
Lesserkuma
c8cd8ed340 4.0.1 2024-06-30 12:14:50 +02:00
Lesserkuma
e3b55e37d8 4.0 2024-06-30 01:14:58 +02:00
Lesserkuma
8ba45ad140 3.37 2024-03-01 19:38:49 +01:00
Lesserkuma
83c4b66ebf 3.36 2024-01-15 15:30:06 +01:00
Lesserkuma
7c09455681 3.35 2023-11-25 01:34:45 +01:00
Lesserkuma
c12b1de4dd 3.34 2023-09-26 11:37:12 +02:00
Lesserkuma
cff844d67b 3.33 2023-09-25 12:19:31 +02:00
Lesserkuma
64c4429f14 3.32 2023-07-25 17:27:29 +02:00
Lesserkuma
2951fdc7ce 3.31 2023-06-18 14:33:41 +02:00
Lesserkuma
972bf8fd33 3.30 2023-06-06 16:58:15 +02:00
Lesserkuma
97d4a3a00b 3.29 2023-05-14 14:16:19 +02:00
Lesserkuma
c94e76d8cb 3.28 2023-05-05 12:51:56 +02:00
Lesserkuma
e694b8927c 3.27 2023-04-26 18:57:51 +02:00
Lesserkuma
2cf0e1fb09 3.27 2023-04-26 11:53:23 +02:00
James Ide
25076c3824
Require PySide2>=5.14 during installation, avoid incompatible PySide2 at runtime
These changes help prevent users from installing incompatible versions of PySide2. If they already have an incompatible version installed, we also don't want to use it at runtime.

A notable feature of this change is that running `pip install 'FlashGBX[qt5]'` should now fail with Python 3.11. Newer, required versions of PySide2 don't support Python 3.11, so pip installs an old, incompatible version. It is better to fail early when running pip than when running FlashGBX.

Finding the minimum version
---
FlashGBX requires PySide2 5.14.0 or newer. This is now expressed in setup.py. Additionally, if an older version of PySide2 is installed, the pyside.py helper script will check its version and avoid using it if it's too old.

I tested manually installing 5.13.2, 5.14.0, 5.15.0, and the latest, 5.15.2.1. With 5.13.2, `python -m FlashGBX` prints:
```
NOTE: GUI mode couldn’t be launched, but the application can be run in CLI mode.
      Optional command line switches are explained above.

Traceback (most recent call last):
  File "~/.venv/lib/python3.11/site-packages/FlashGBX/FlashGBX.py", line 187, in main
    app = FlashGBX_GUI.FlashGBX_GUI(args)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "~/.venv/lib/python3.11/site-packages/FlashGBX/FlashGBX_GUI.py", line 44, in __init__
    self.setWindowFlags(self.windowFlags() | QtCore.Qt.MSWindowsFixedSizeDialogHint)
TypeError: 'PySide2.QtCore.Qt.WindowType' object cannot be interpreted as an integer
```

FlashGBX launches successfully with newer versions of PySide2.

Testing
---
Installed PySide2==5.13.2 and PySide6==6.5.0 with pip. Launched FlashGBX to verify that although an incompatible version of PySide2 was available, FlashGBX's new version check made it use PySide6 and launched successfully.
2023-04-25 19:48:40 -07:00
Lesserkuma
47a334a143 3.26 2023-04-18 13:26:18 +02:00
Lesserkuma
c475e722c4 3.25 2023-04-14 19:48:16 +02:00
Lesserkuma
305e343290 3.24 2023-04-09 02:26:40 +02:00
Lesserkuma
6597449fad 3.23.1 2023-04-06 23:37:01 +02:00
Lesserkuma
98b388f297 3.23 2023-04-06 13:17:18 +02:00
Lesserkuma
f556702f1c 3.22 2023-02-09 22:14:23 +01:00
Lesserkuma
288dbf8216 3.21 2023-01-16 22:38:23 +01:00
Lesserkuma
9c8714fc38 3.20 2022-11-30 14:14:36 +01:00
Lesserkuma
8b7d51f894 3.19 2022-10-24 16:26:19 +02:00
Lesserkuma
167dd0a3d7 3.18 2022-08-18 15:09:22 +02:00
Lesserkuma
ced09c6457 3.17 2022-08-01 14:31:03 +02:00
Lesserkuma
79605b9b16 3.16.1 2022-07-26 22:49:57 +02:00
Lesserkuma
6a76a388ca 3.16 2022-07-26 18:50:26 +02:00
Lesserkuma
14d401a3f9 3.15 2022-07-05 16:41:32 +02:00
Lesserkuma
9b44a9959b 3.14 2022-06-11 02:01:46 +02:00
Lesserkuma
c7faf277b4 3.13 2022-05-30 12:00:56 +02:00
Lesserkuma
2dffc534ca 3.12 2022-05-27 11:06:35 +02:00
Lesserkuma
4aca77d911 3.11 2022-05-25 16:47:39 +02:00
Lesserkuma
f9da20f7c5 3.10 2022-05-17 12:07:16 +02:00
Lesserkuma
681cfcd1de 3.9 2022-04-29 12:25:54 +02:00
Lesserkuma
50b4601d72 3.8 2022-04-21 11:39:01 +02:00
Lesserkuma
0deedd5956 3.7 2022-03-30 21:27:13 +02:00
Lesserkuma
fc699e084b 3.6 2022-03-09 20:15:48 +01:00
Lesserkuma
fd7f20d546 3.5 2022-02-14 19:33:16 +01:00
Lesserkuma
eb79f39b54 3.4 2022-02-04 18:40:47 +01:00
Lesserkuma
6c27d6c929 3.3 2022-01-10 14:36:55 +01:00
Lesserkuma
d2441e3c08 3.2 2021-12-18 20:12:28 +01:00
Lesserkuma
b897209fa6 3.1 2021-12-01 18:55:25 +01:00
Lesserkuma
d2abd30f92 3.0 2021-11-15 17:53:35 +01:00