Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix loader building with Gradle #312

Merged
merged 4 commits into from
Jun 14, 2022

Conversation

utzcoz
Copy link
Contributor

@utzcoz utzcoz commented May 30, 2022

The ru.vyarus.use-python will download MarkupSafe 2.1.1 on my laptopn
with Python 3.8. But MarkupSafe removed soft_unicode from 2.1.0, used by
jinja2:2.10.3, and it will cause importing error when running ./gradlew build under src/loader directory. Instead of updating jinja2, this PR
try to fix MarkupSafe version for loader to fix building problem.

The release note of MarkupSafe is here:
https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0.

This PR also a GitHub workflow to check OpenXR Loader building with Gradle.

@utzcoz
Copy link
Contributor Author

utzcoz commented May 30, 2022

Hi @rpavlik , could you help to review this PR? Thanks.

@utzcoz utzcoz changed the title Fix loader building with gradle Fix loader building with Gradle May 30, 2022
@utzcoz
Copy link
Contributor Author

utzcoz commented May 31, 2022

@rpavlik What about this PR? If it needs a changelog fragment too, I can add a new commit for it.

@rpavlik
Copy link
Contributor

rpavlik commented Jun 8, 2022

Haven't been in the office to look at any of these in any real detail, but yeah everything should have a changelog fragment

@rpavlik
Copy link
Contributor

rpavlik commented Jun 13, 2022

Looks good, just needs a changelog fragment.

@rpavlik rpavlik closed this Jun 13, 2022
@rpavlik rpavlik reopened this Jun 13, 2022
utzcoz added 4 commits June 14, 2022 21:30
The ru.vyarus.use-python will download MarkupSafe 2.1.1 on my laptopn
with Python 3.8. But MarkupSafe removed soft_unicode from 2.1.0, used by
jinja2:2.10.3, and it will cause importing error when running `./gradlew
build` under src/loader directory. Instead of updating jinja2, this CL
try to fix MarkupSafe version for loader to fix building problem.

The release note of MarkupSafe is here:
https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0.

Signed-off-by: utzcoz <utzcoz@outlook.com>
Signed-off-by: utzcoz <utzcoz@outlook.com>
Signed-off-by: utzcoz <utzcoz@outlook.com>
Signed-off-by: utzcoz <utzcoz@outlook.com>
@utzcoz utzcoz force-pushed the fix-loader-building-with-gradle branch from c998042 to c201601 Compare June 14, 2022 13:32
@utzcoz
Copy link
Contributor Author

utzcoz commented Jun 14, 2022

Hi @rpavlik, sorry for delaying. I have rebased and added changelog for this PR.

@rpavlik rpavlik merged commit ef83e6f into KhronosGroup:main Jun 14, 2022
@rpavlik
Copy link
Contributor

rpavlik commented Jun 14, 2022

thanks very much for the fix!

@utzcoz utzcoz deleted the fix-loader-building-with-gradle branch June 15, 2022 00:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants