Skip to content

Commit

Permalink
Add Riverbank Computing as extra index for PyQt requirements
Browse files Browse the repository at this point in the history
Easier fix instead of 6c4be8e.
Seems to get picked up just fine, and shouldn't hurt when it's not needed, as we
don't use --pre. Thus, no development releases should be installed.
  • Loading branch information
The-Compiler committed Apr 30, 2024
1 parent c32d3b2 commit 6513d93
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions misc/requirements/requirements-pyqt-6.7.txt
Expand Up @@ -5,3 +5,4 @@ PyQt6-Qt6==6.7.0
PyQt6-sip==13.6.0
PyQt6-WebEngine==6.7.0
PyQt6-WebEngine-Qt6==6.7.0
--extra-index-url https://www.riverbankcomputing.com/pypi/simple/
3 changes: 3 additions & 0 deletions misc/requirements/requirements-pyqt-6.7.txt-raw
Expand Up @@ -2,3 +2,6 @@ PyQt6 >= 6.7, < 6.8
PyQt6-Qt6 >= 6.7, < 6.8
PyQt6-WebEngine >= 6.7, < 6.8
PyQt6-WebEngine-Qt6 >= 6.7, < 6.8

# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
#@ add: --extra-index-url https://www.riverbankcomputing.com/pypi/simple/
1 change: 1 addition & 0 deletions misc/requirements/requirements-pyqt-6.txt
Expand Up @@ -5,3 +5,4 @@ PyQt6-Qt6==6.7.0
PyQt6-sip==13.6.0
PyQt6-WebEngine==6.7.0
PyQt6-WebEngine-Qt6==6.7.0
--extra-index-url https://www.riverbankcomputing.com/pypi/simple/
3 changes: 3 additions & 0 deletions misc/requirements/requirements-pyqt-6.txt-raw
Expand Up @@ -2,3 +2,6 @@ PyQt6
PyQt6-Qt6
PyQt6-WebEngine
PyQt6-WebEngine-Qt6

# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
#@ add: --extra-index-url https://www.riverbankcomputing.com/pypi/simple/
1 change: 1 addition & 0 deletions misc/requirements/requirements-pyqt.txt
Expand Up @@ -5,3 +5,4 @@ PyQt6-Qt6==6.7.0
PyQt6-sip==13.6.0
PyQt6-WebEngine==6.7.0
PyQt6-WebEngine-Qt6==6.7.0
--extra-index-url https://www.riverbankcomputing.com/pypi/simple/
3 changes: 3 additions & 0 deletions misc/requirements/requirements-pyqt.txt-raw
Expand Up @@ -2,3 +2,6 @@ PyQt6
PyQt6-Qt6
PyQt6-WebEngine
PyQt6-WebEngine-Qt6

# WORKAROUND for https://www.riverbankcomputing.com/pipermail/pyqt/2024-April/045832.html
#@ add: --extra-index-url https://www.riverbankcomputing.com/pypi/simple/
2 changes: 1 addition & 1 deletion scripts/dev/misc_checks.py
Expand Up @@ -75,7 +75,7 @@ def check_changelog_urls(_args: argparse.Namespace = None) -> bool:
with open(outfile, 'r', encoding='utf-8') as f:
for line in f:
line = line.strip()
if line.startswith('#') or not line:
if line.startswith(('#', '--')) or not line:
continue
req, _version = recompile_requirements.parse_versioned_line(line)
if req.startswith('./'):
Expand Down

0 comments on commit 6513d93

Please sign in to comment.