Code Monkey home page Code Monkey logo

Comments (4)

amol- avatar amol- commented on July 18, 2024

Linetable does not apply any python version requirement (linetable setup.py).
It should not prevent Kajiki to be installed on versions < 3.11 and kajiki will only use linetable when python is >= 3.11

kajiki/kajiki/template.py

Lines 393 to 394 in 0ba4979

if version_info >= (3, 11):
ltable = linetable.parse_linetable(code.co_linetable, code.co_firstlineno)

That should also be confirmed by the fact that kajiki installs and passes unit tests on all verified Python versions -> https://github.com/jackrosenthal/kajiki/actions/runs/3543268336

So what problem are you exactly facing?

from kajiki.

ondrejj avatar ondrejj commented on July 18, 2024

I can't build linetable for RHEL 9 (EPEL9). Unit tests fails. I also don't see any reason to install linetable for python<=3.10, because it's not used in kajiki. But unable to build current version of kajiki without linetable also on python 3.9.

Here is scratch build of linetable for EPEL9:
https://kojipkgs.fedoraproject.org//work/tasks/8979/98248979/build.log

May be linetable needs to be updated to be python < 3.11 compatible.

I built kajiki 0.9.2 without linetable with this patch:
https://src.fedoraproject.org/rpms/python-kajiki/blob/epel9/f/kajiki-no-linetable.diff

With this path kajiki should work with various versions of python.

from kajiki.

amol- avatar amol- commented on July 18, 2024

linetable 0.0.3 has been released, this installs and works on Python3.9

from kajiki.

ondrejj avatar ondrejj commented on July 18, 2024

No release on github yet. Please make a release. Thank you.

from kajiki.

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.