Skip to content

Pacman python installation#23

Merged
jtanx merged 2 commits intojtanx:masterfrom
iorsh:python_fix
Mar 18, 2025
Merged

Pacman python installation#23
jtanx merged 2 commits intojtanx:masterfrom
iorsh:python_fix

Conversation

@iorsh
Copy link
Copy Markdown
Contributor

@iorsh iorsh commented Jan 18, 2025

This is a hack intended to overcome issues with Python3 installation via pacman. There is probably some instability in GitHub MSYS2 environment, as I can't see a reasonable explanation for these changes.

  • python3 is an alias for python, and package e.g. mingw-w64-i686-python3-pip should point to mingw-w64-i686-python-pip. For some reason it doesn't.
  • We are forcing pacman database refresh with -yy, but it shouldn't be necessary in a freshly installed MSYS2 environment.

@iorsh
Copy link
Copy Markdown
Contributor Author

iorsh commented Jan 21, 2025

@jtanx, could you please review?

Comment thread ffbuild.sh
WORK=$BASE/work/$MINGVER/
PMTEST="$BASE/.pacman-$MINGVER-installed"
PYINST=python3
PYINST=python
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/fontforge/fontforge/actions/runs/12917757007/job/36024837540?pr=5531

That build complains about mingw-w64-x86_64-python-pip? Is this really needed after applying Syy?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I tried with "python3", and it didn't work. Note the errors in Run FontForgeBulds initialisation:

error: target not found: mingw-w64-x86_64-python3-pip
error: target not found: mingw-w64-x86_64-python3-setuptools

@iorsh
Copy link
Copy Markdown
Contributor Author

iorsh commented Mar 11, 2025

@jtanx, do you have any comments?

@jtanx jtanx merged commit 1ee1ed8 into jtanx:master Mar 18, 2025
@iorsh iorsh deleted the python_fix branch March 18, 2025 11:49
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