GithubHelp home page GithubHelp logo

macos Unsupported spec Error about pyinstaller HOT 13 CLOSED

gboie avatar gboie commented on June 11, 2024 2
macos Unsupported spec Error

from pyinstaller.

Comments (13)

sayyid5416 avatar sayyid5416 commented on June 11, 2024

I'll look into this. Can you provide all the logs in proper format or any minimal reproducible example?

from pyinstaller.

AnnoyingRain5 avatar AnnoyingRain5 commented on June 11, 2024

I just had the same issue, here are my logs @sayyid5416
logs_13.zip

from pyinstaller.

AnnoyingRain5 avatar AnnoyingRain5 commented on June 11, 2024

Fails under MacOS-latest but works under the macos-13 beta image.

from pyinstaller.

sayyid5416 avatar sayyid5416 commented on June 11, 2024

@AnnoyingRain5 Can you provide the link of the workflow where it failed instead of providing the zip file? It will help diagnosing the issue faster.

from pyinstaller.

AnnoyingRain5 avatar AnnoyingRain5 commented on June 11, 2024

@sayyid5416

workflow yaml file

Workflow run

I believe this could be due to an outdated version of python being shipped with MacOS, I have run into similar issues with this in the past.

from pyinstaller.

sayyid5416 avatar sayyid5416 commented on June 11, 2024

@AnnoyingRain5 It says SyntaxError, but there is no syntax error in checks.py.

I believe this could be due to an outdated version of python being shipped with MacOS

Can you try with lower python versions like 3.10 or 3.9?

from pyinstaller.

AnnoyingRain5 avatar AnnoyingRain5 commented on June 11, 2024

Python versions below 3.10 do not support f-strings, the python version shipped with that version of macOS is below 3.10 AFAIK.

from pyinstaller.

sayyid5416 avatar sayyid5416 commented on June 11, 2024

@AnnoyingRain5 If I can understand it properly, this issue is not specific to this pyinstaller action That's why I'm closing this issue now.

Also f-strings were added in version 3.6.

from pyinstaller.

AnnoyingRain5 avatar AnnoyingRain5 commented on June 11, 2024

This issue would be fixed if your script installed the latest version of python before attempting to run checks.py

from pyinstaller.

sayyid5416 avatar sayyid5416 commented on June 11, 2024

@AnnoyingRain5 Can you run some tests with test branch. I've done changes you asked for.

from pyinstaller.

AnnoyingRain5 avatar AnnoyingRain5 commented on June 11, 2024

Works great, thanks!

https://github.com/AnnoyingRain5/Relink-Client/actions/runs/5010618603

from pyinstaller.

sayyid5416 avatar sayyid5416 commented on June 11, 2024

@AnnoyingRain5 It would be great if you could test with few more different types of configurations on different machines like windows, Ubuntu and MacOS

from pyinstaller.

AnnoyingRain5 avatar AnnoyingRain5 commented on June 11, 2024

Also f-strings were added in version 3.6.

Oops, I was thinking of match statements, but... wouldn't that mean that macos-latest has a version older than 3.6? Wow.

@AnnoyingRain5 It would be great if you could test with few more different types of configurations on different machines like windows, Ubuntu and MacOS

I'll do some better tests later today, thanks!

from pyinstaller.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.