-
Notifications
You must be signed in to change notification settings - Fork 85
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
Small issue with pypandoc and common_setup (hit while installing pytest-profiling) #87
Comments
Hmm... I reversed the installation order (
|
It also appears that the availability of |
We have the similar isssue https://github.com/autowarefoundation/autoware/discussions/286. |
Hi there. I'm the maintainer of PyPandoc, which seems to be the root error in ops post. In the recent release of PyPandoc (version 1.8), the convert function was removed after a year of being deprecated. The solution here, is to either switch to pypandoc.convert_file or pypandoc.convert_text, depending |
Si on n'installe pas une version de pypandoc spécifique avant l'installation de pandoc-latex-environment, il installe la dernière version e.g https://github.com/chdemko/pandoc-latex-environment/blob/189abc88118e99d71594d771f3c2a29f7ea635bf/setup.py#L110 La dernière version la 1.8 plante le workflow man-group/pytest-plugins#87 (comment) car la méthode convert dépréciée depuis 1 an a été supprimée et remplacée.
python setup.py build Creating README.rst Traceback (most recent call last): File "/home/appsmith/asv/ports/repo/pypreprocessor/setup.py", line 22, in <module> long_description = pypandoc.convert('README.md', 'rst') AttributeError: module 'pypandoc' has no attribute 'convert' man-group/pytest-plugins#87 Hi there. I'm the maintainer of PyPandoc, which seems to be the root error in ops post. In the recent release of PyPandoc (version 1.8), the convert function was removed after a year of being deprecated. The solution here, is to either switch to pypandoc.convert_file or pypandoc.convert_text, depending
* Update ci.yml Si on n'installe pas une version de pypandoc spécifique avant l'installation de pandoc-latex-environment, il installe la dernière version e.g https://github.com/chdemko/pandoc-latex-environment/blob/189abc88118e99d71594d771f3c2a29f7ea635bf/setup.py#L110 La dernière version la 1.8 plante le workflow man-group/pytest-plugins#87 (comment) car la méthode convert dépréciée depuis 1 an a été supprimée et remplacée. * Pin emoji~=1.6.3 Co-authored-by: Alexandre Bulté <alexandre.bulte@data.gouv.fr> Co-authored-by: Alexandre Bulté <alexandre@bulte.net>
This fixes an issue that breaks the build when using `pypandoc` 1.8 and above in which `convert` has been removed; see man-group/pytest-plugins#87 (comment)
This fixes an issue that breaks the build when using `pypandoc` 1.8 and above in which `convert` has been removed; see man-group/pytest-plugins#87 (comment)
breaking change in pypandoc 1.8 (man-group/pytest-plugins#87 (comment)).
Looks like setuptools-markdown is deprecated in favor of a built-in setuptools functionality. Worse is that setuptools_markdown isn't compatible with a recent versions of a pypandoc library. Let's just drop it. See also man-group/pytest-plugins#87. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Looks like setuptools-markdown is deprecated in favor of a built-in setuptools functionality. Worse is that setuptools_markdown isn't compatible with a recent versions of a pypandoc library. Let's just drop it. See also man-group/pytest-plugins#87. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Looks like setuptools-markdown is deprecated in favor of a built-in setuptools functionality. Worse is that setuptools_markdown isn't compatible with a recent versions of a pypandoc library. Let's just drop it. See also man-group/pytest-plugins#87. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
Looks like setuptools-markdown is deprecated in favor of a built-in setuptools functionality. Worse is that setuptools_markdown isn't compatible with a recent versions of a pypandoc library. Let's just drop it. See also man-group/pytest-plugins#87. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
If the
pypandoc
module is installed butpandoc
is not thenimport pypandoc
will succeed but thepypandoc
module will not have aconvert
attribute when imported, leading to anAttributeError
being raised, whichcommon_setup
does not currently catch.The workaround for us is to install
pandoc
before doing ourpip
installs so that theconvert
attribute exists when it needs to.It would be nice if
common_setup
could catch theAttributeError
, so that the installation order wouldn't matter.The text was updated successfully, but these errors were encountered: