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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
MNT: Update expat 2.2.9 #10038
MNT: Update expat 2.2.9 #10038
Conversation
Travis CI and mpldev failures caused by scientific-python/pytest-doctestplus#94 |
This comment has been minimized.
This comment has been minimized.
I had the same issue ;), you need to revert some changes in expat_config.h: |
--with-getrandom | ||
--without-getrandom | ||
--with-sys-getrandom | ||
--without-sys-getrandom |
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.
Using these new options with ./configure would simplify the update process.
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.
Which one is the correct option? 馃槅
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.
I think both --without-getrandom
and --without-sys-getrandom
, you can check the diff on expat_config.h.
Other changes: | ||
#299 #302 Windows: Replace LoadLibrary hack to access | ||
unofficial API function SystemFunction036 (RtlGenRandom) | ||
by using official API function rand_s (needs WinXP+) |
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.
This is also interesting since I had to include loadlibrary.c for windows:
ef5b44e
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.
Hmm. Does that mean I can remove what you added to setup_package.py
?
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.
Yes I think so.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@pllim - I leave the rebase to you here. |
@saimn , tests passed. Are you okay with this? Thanks for reviewing! |
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.
Looks good, at least to my knowledge.
Description
This pull request is to update bundled expat to 2.2.9. It is used in
astropy.utils.xml
for parsing of VO table.@saimn , since you updated it the last time in #8343, can you please have a look to make sure I didn't mess anything up? 馃檱鈥嶁檧