Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyPI Release #16

Open
Tracked by #232
tdenewiler opened this issue Oct 4, 2023 · 1 comment
Open
Tracked by #232

PyPI Release #16

tdenewiler opened this issue Oct 4, 2023 · 1 comment

Comments

@tdenewiler
Copy link

Now that Python 3.12 is officially released I am seeing errors with yapsy. One example is

Traceback (most recent call last):
  File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/yapsy/PluginManager.py", line 132, in <module>
    import importlib.abc.Loader as imp
ModuleNotFoundError: No module named 'importlib.abc.Loader'; 'importlib.abc' is not a package

These types of issues seem to be addressed in #11.

Can we get a new release to PyPI so that pip install grabs a version that supports Python 3.12? The last release was 27 July 2019.

Thanks.

@tdenewiler
Copy link
Author

I was able to do more testing. I installed and ran the Docker image for python:3.12, git cloned my repository that depends on yapsy, did pip install -r requirements.txt which gave me Yapsy-1.12.2. I ran my tool and got the same error that I initially posted.

Then I did pip install -e "git+https://github.com/tibonihoo/yapsy.git#egg=yapsy&subdirectory=package" and got yapsy-2.0.0. I ran my tool and it was able to run successfully.

Before doing a release I would do additional testing with yapsy-2.0.0, but initial results are promising. If you did a release to PyPI and it broke my tools I would stick with Python < 3.12 and pin yapsy to 1.12.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant