Skip to content

Commit

Permalink
requirements: Work around limitations for macOS-specific deps
Browse files Browse the repository at this point in the history
Also see #3526
  • Loading branch information
The-Compiler committed Sep 19, 2022
1 parent 47ef2ca commit ecd7565
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
11 changes: 7 additions & 4 deletions misc/requirements/requirements-qutebrowser.txt-raw
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ Jinja2
PyYAML

## Only used on macOS to make borderless windows resizable
pyobjc-core
pyobjc-framework-Cocoa
## our recompile_requirements.py can't really deal with
## platform-specific dependencies unfortunately...
# pyobjc-core
# pyobjc-framework-Cocoa
#@ add: # Unpinned due to recompile_requirements.py limitations
#@ add: pyobjc-core ; sys_platform=="darwin"
#@ add: pyobjc-framework-Cocoa ; sys_platform=="darwin"

## stdlib backports
importlib-resources
Expand All @@ -20,5 +25,3 @@ typing_extensions # from importlib-metadata
#@ markers: importlib-resources python_version=="3.7.*" or python_version=="3.8.*"
#@ markers: importlib-metadata python_version=="3.7.*"
#@ markers: typing_extensions python_version<"3.8"
#@ markers: pyobjc-core sys_platform=="darwin"
#@ markers: pyobjc-framework-Cocoa sys_platform=="darwin"
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ importlib-resources==5.9.0 ; python_version=="3.7.*" or python_version=="3.8.*"
Jinja2==3.1.2
MarkupSafe==2.1.1
Pygments==2.13.0
pyobjc-core==8.5 ; sys_platform=="darwin"
pyobjc-framework-Cocoa==8.5 ; sys_platform=="darwin"
PyYAML==6.0
typing_extensions==4.3.0 ; python_version<"3.8"
zipp==3.8.1
# Unpinned due to recompile_requirements.py limitations
pyobjc-core ; sys_platform=="darwin"
pyobjc-framework-Cocoa ; sys_platform=="darwin"

0 comments on commit ecd7565

Please sign in to comment.