GithubHelp home page GithubHelp logo

Comments (4)

qcapen avatar qcapen commented on June 24, 2024 1

I will see if I can get the Windows MC builds to work properly, although it may take me a couple of weeks

from mpf-mc.

toomanybrians avatar toomanybrians commented on June 24, 2024

I added the .c files back and hardcoded Cython to 0.29.21 (which should not matter since the .c files are there now, so I think Cython doesn't even run).

The build is working for Python 3.8 and 3.9 across all three platforms. (Here's the latest run showing this.) As I said before, I think this makes sense because Cython 0.29.21 only has wheels up through 3.9 so I assume it doesn't support 3.10 or newer. (Even though Cython isn't running here, I assume something in the .c files it generates isn't compatible with Python 3.10+.)

So, we have MPF MC 0.57 technically running now. Yay! But just Python 3.8 and 3.9, and on my local machine (x86 mac) I do not actually have audio. (Based on the mc_demo.) The MC runs fine, no crashing or errors, just no sound.

So it seems the game plan should be something like:

  • Get a newer version of Cython to generate newer .c files
  • Get the wheel building process to actually compile those
  • Run a test and make sure sound is really happening

Again I'm probably done with this unless someone has a suggestion of what to try next.

from mpf-mc.

toomanybrians avatar toomanybrians commented on June 24, 2024

I got Cython building for Python 3.10 and 3.11. The way I did it was on my x86 Mac. I manually installed the build-system requires modules and then manually ran python3.9 setup.py build_ext --inplace to generate the .c files. This worked fine for 0.29.21, so I updated Cython to 0.29.36 (which also supports Python 3.10 and 3.11), deleted the .c files, ran it again, and it worked fine. I committed those .c files and all the builds worked too. (that was dev 4)

(I had forgotten that even though the setup is pyproject.toml now, Cython still requires a setup.py for its stuff.)

The audio still does not seem to work. I'm getting a bunch of failing tests so I'll go through those, maybe that will fix it. I'm going to keep this issue open for now.

from mpf-mc.

toomanybrians avatar toomanybrians commented on June 24, 2024

I'm going to close this since it seems to be working. Audio is maybe not working across all platforms? I'll start a new issue to track that. It seems to work fine for some, and not others, so it might be related to whether the prereqs are successfully installing and/or other versions of products installed.

from mpf-mc.

Related Issues (20)

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.