-
Notifications
You must be signed in to change notification settings - Fork 664
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
Version: 3.41.5 is failing with error ModuleNotFoundError: No module named 'bs4' #1295
Comments
Same for me! Our Pipelines failed this morning because of this. |
I added [tool.poetry.dependencies]
atlassian-python-api = "^3.39.0, !=3.41.5" # https://github.com/atlassian-api/atlassian-python-api/issues/1295 |
Same for me! |
Our pipelines are also broken. Please add it and deploy a new release. Improvement suggestion: Use https://github.com/tweag/FawltyDeps |
Hello, sorry for that release, I have not known issue with bs4. |
@FCamborda thanks for the https://github.com/tweag/FawltyDeps |
Hey @gonchik, this did not fix it completely. Installs via PyPi currently lead to incomplete installations, as Therefore pip does not install package venv/lib/python3.11/site-packages/atlassian/confluence.py:10: in <module>
from beautifulsoup4 import BeautifulSoup
ModuleNotFoundError: No module named 'beautifulsoup4' Please add it as a dependency and release a hotfix. Edit: lxml is also missing in |
I am facing the same issue as @moonrail . Please provide a workaround. |
The same issue appears to be in 3.41.6. with python 3.10, which one of our build jobs just picked up |
The problem isn't just about installing the dependency, but also about importing it, as @gsemet already mentioned in #1296. On my installation of Fedora 39 (corporate build), Python 3.12.1, I install BeautifulSoup as (venv) [mtichavs@t14csb middleware-cve-mapping (linking-jiras *)]$ python
Python 3.12.1 (main, Dec 8 2023, 00:00:00) [GCC 13.2.1 20231205 (Red Hat 13.2.1-6)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from atlassian import Jira
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/mtichavs/middleware-cve-mapping/venv/lib/python3.12/site-packages/atlassian/__init__.py", line 5, in <module>
from .confluence import Confluence
File "/home/mtichavs/middleware-cve-mapping/venv/lib/python3.12/site-packages/atlassian/confluence.py", line 10, in <module>
from beautifulsoup4 import BeautifulSoup
ModuleNotFoundError: No module named 'beautifulsoup4'
>>> from beautifulsoup4 import BeautifulSoup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'beautifulsoup4'
>>> from bs4 import BeautifulSoup
>>> Package versions (from
|
Yes the new version is still broken. Recommending blocking any further version until definitely fixed. [tool.poetry.dependencies]
atlassian-python-api = "^3.39.0, <3.41.5" # https://github.com/atlassian-api/atlassian-python-api/issues/1295 |
what's missing now is
|
I cannot understand how there can be automatic tests and such basic issues go through undetected. In my opinion at least this should be done to prevent this issue from being repeated:
|
About |
Hi! I see I am going to upload to do it. |
for me the same error, failing our pipelines due to this:
|
Merged all changes, in 30 min I will release it |
Hi! I am really sorry for that mistake. I will be happy to see more pull requests. Cheers, |
Our pipelines are not broken anymore. Thanks a lot for reacting to this @gonchik ! |
Thank you @gonchik |
Thanks for the fix and quick resolution, that's appreciated 👍 Note that there is a side effect here (extra dependency) #1301 |
https://pypi.org/project/atlassian-python-api/3.41.5/
The text was updated successfully, but these errors were encountered: