-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's only used on Windows, so only require it there.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ Jinja2==2.10 | |
markupsafe==1.1.1 | ||
doc2dash==2.3.0 | ||
beautifulsoup4 | ||
attrdict3 | ||
attrdict3 ; sys_platform == 'win32' |
2e9169e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@swt2c I think this change should be reverted. I am with Fedora 36, python 3.10.6 with virtualenv, and attrdict3 is needed to install.
output:
2e9169e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HelioGuilherme66, actually this change would fix the error you saw with wxPython 4.2.0 on Linux. In wxPython 4.2.0, build.py imports attrdict on all platforms, but doesn't actually use it except on Windows. This change makes it so that it is only imported on Windows.
2e9169e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@swt2c OK, I understand the fix, but wasn't this already merged and in PyPi archive tar.gz?
2e9169e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No.