GithubHelp home page GithubHelp logo

Comments (6)

jyksnw avatar jyksnw commented on June 30, 2024 2

Thanks @Maltiec that is super helpful. It looks like the type hinting on that method is causing the issues. I will get that corrected and a new release pushed out this week.

from install-jdk.

jyksnw avatar jyksnw commented on June 30, 2024 2

I just released 1.0.4 which resolves this issue. I am also going to open a new issue to set up something like nox along with some unit/sanity tests to test against versions 3.6+ and hopefully capture these failures before they hit release.

from install-jdk.

jyksnw avatar jyksnw commented on June 30, 2024

Hi @hx2A, I will need to look into this and get back to you. The library itself should be compatible with 3.6 and newer but I have had to upgrade the version support to 3.8.1 for some of the development dependencies. Do you you have any additional details on the error?

from install-jdk.

hx2A avatar hx2A commented on June 30, 2024

Hi @jyksnw , this originated in a discussion thread in py5generator, as reported by @Maltiec. @Maltiec, can you provide additional information so we can fix this?

from install-jdk.

Maltiec avatar Maltiec commented on June 30, 2024

(py5coding_test) evgeniy@DigitalTrinity:~$ python --version
Python 3.8.16

(py5coding_test) evgeniy@DigitalTrinity:~$ pip install install-jdk
Collecting install-jdk
Downloading install_jdk-1.0.2-py3-none-any.whl (15 kB)
Installing collected packages: install-jdk
Successfully installed install-jdk-1.0.2

(py5coding_test) evgeniy@DigitalTrinity:~$ python -c "import jdk"
Traceback (most recent call last):
File "", line 1, in
File "/home/evgeniy/anaconda3/envs/py5coding_test/lib/python3.8/site-packages/jdk/init.py", line 10, in
from jdk.client import load_client
File "/home/evgeniy/anaconda3/envs/py5coding_test/lib/python3.8/site-packages/jdk/client/init.py", line 1, in
from jdk.client.adoptium import AdoptiumClient
File "/home/evgeniy/anaconda3/envs/py5coding_test/lib/python3.8/site-packages/jdk/client/adoptium.py", line 3, in
from jdk.enums import Architecture
File "/home/evgeniy/anaconda3/envs/py5coding_test/lib/python3.8/site-packages/jdk/enums.py", line 6, in
class BaseEnum(str, Enum):
File "/home/evgeniy/anaconda3/envs/py5coding_test/lib/python3.8/site-packages/jdk/enums.py", line 7, in BaseEnum
def contains(self: type[Enum], obj: object) -> bool:
TypeError: 'type' object is not subscriptable

from install-jdk.

hx2A avatar hx2A commented on June 30, 2024

Thank you, and that sounds like a great plan.

from install-jdk.

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.