Comments (6)
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.
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.
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.
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.
(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.
Thank you, and that sounds like a great plan.
from install-jdk.
Related Issues (20)
- Check installed version HOT 2
- Add "OpenJDK" to PyPi description for SEO HOT 2
- Cannot access Adoptium on Mac M2 HOT 3
- [Errno 13] Permission denied: ASSEMBLY_EXCEPTION'
- Reconciling with cjdk and/or jvm-index HOT 2
- Pass to adoptium HOT 6
- Guidance to add `aarch64` support HOT 5
- [FEATURE] Add Support for Azul Zulu Builds HOT 1
- [FEATURE] Microsoft Build of OpenJDK HOT 3
- [DEVELOPMENT] Move to using Poetry for dependancy and build HOT 1
- [DEVELOPMENT] Setup GitHub Actions for Automation of Testing, Building, and Releasing HOT 1
- Rerunning jdk.install on already installed version throws an error
- test.pypi.org project name HOT 2
- Put java dir path in "PATH" environment variable HOT 3
- macOS Install Fails because of 404 error
- TypeError: str.join() HOT 1
- Allow developer to specify installation path
- Setup Nox and PyTest HOT 6
- cgi is deprecated and slated for removal in Python 3.13 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from install-jdk.