GithubHelp home page GithubHelp logo

Python 3.11 compatibility about gamera-4 HOT 8 CLOSED

hsnr-gamera avatar hsnr-gamera commented on September 15, 2024
Python 3.11 compatibility

from gamera-4.

Comments (8)

FriedrichFroebel avatar FriedrichFroebel commented on September 15, 2024

If someone wants to test it or have a look at the generated wheels: https://github.com/FriedrichFroebel/gamera-4/actions/workflows/wheels.yml. If the downloads are missing (retention days have been reached), just drop me a comment and I will re-generate them. By default, wheels for Python 3.10 and Python 3.11 are provided as assets.

from gamera-4.

cdalitz avatar cdalitz commented on September 15, 2024

Dear Friedrich, thanks for the contributions which I have just merged into the main branch. I would like to add your name to the ACKNOWLEDGEMENTS file, but do not know whether your name is correctly written with "oe" or with an umlaut. Would you mind letting me know? Thanks, Christoph

from gamera-4.

FriedrichFroebel avatar FriedrichFroebel commented on September 15, 2024

@cdalitz Just to clarify: FriedrichFröbel is just the nick name I use on GitHub (and at some other places) - I prefer to not disclose my real name here. If you want to add me to the ACKNOWLEDGEMENTS, just use FriedrichFröbel or FriedrichFroebel, where I prefer the first one (the second one just avoids the umlauts to simplify stuff for non-German sites/users).

from gamera-4.

cdalitz avatar cdalitz commented on September 15, 2024

Done. Maybe we will have one day more contributors with celebrities as nicknames, which makes the "hall of fame" very illustruos ;-)

from gamera-4.

FriedrichFroebel avatar FriedrichFroebel commented on September 15, 2024

To come back to this issue: I had some look at this issue again, but it still remains unclear to me what actually causes this.

What I tested: Built Python 3.11.0rc2 on an Ubuntu 22.04 machine and tested both the CI-generated wheel and a local package build. When running

import gamera

print(gamera.__version__)
print(dir(gamera))

from gamera import core

there, everything will run fine - except for the last import, where we will get the aforementioned stack trace. For now, I did not manage to get something helpful out of GDB which would help here. From what I have read, this error could be caused by any build or linking issue.

from gamera-4.

FriedrichFroebel avatar FriedrichFroebel commented on September 15, 2024

While there still is an issue with building from #61, it seems like it fixes Python 3.11 support as well (at least with my custom Python 3.11.0rc2 build previously used locally as well and the above code).

Build error:

building 'gamera.plugins._fourier_features' extension
[...]
cc1plus: fatal error: src/geostructs/delaunaytree.cpp: Datei oder Verzeichnis nicht gefunden
compilation terminated.

from gamera-4.

cdalitz avatar cdalitz commented on September 15, 2024

This should be fixed with the latest commit. I have only tested it with python 3.5. Can you please test it with python 3.11, too? Thanks.

from gamera-4.

FriedrichFroebel avatar FriedrichFroebel commented on September 15, 2024

As mentioned in the above comment, Python 3.11 seems to work now. This is backed through the gamera-4 CI using Python 3.11 as well, too.

from gamera-4.

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.