Giter Site home page Giter Site logo

Pandoc 3x support about pypandoc HOT 1 CLOSED

JessicaTegner avatar JessicaTegner commented on June 17, 2024 1
Pandoc 3x support

from pypandoc.

Comments (1)

JessicaTegner avatar JessicaTegner commented on June 17, 2024

With the release of Pandoc 3x, some test cases are breaking

Notably:

# test case to get installed pandoc version, should be easy to fix
FAIL: test_get_pandoc_version (__main__.TestPypandoc.test_get_pandoc_version)                                           
----------------------------------------------------------------------                                                  
Traceback (most recent call last):                                                                                      
  File "C:\Users\jessi\Desktop\GitHub\pypandoc\tests.py", line 161, in test_get_pandoc_version                          
    self.assertTrue(major in [0, 1, 2])                                                                                 
AssertionError: False is not true                                                                                       

# and this one, which has something to do with lua.
ERROR: test_convert_with_custom_writer (__main__.TestPypandoc.test_convert_with_custom_writer)                          
----------------------------------------------------------------------                                                  
Traceback (most recent call last):                                                                                      
  File "C:\Users\jessi\Desktop\GitHub\pypandoc\tests.py", line 255, in test_convert_with_custom_writer                  
    received = pypandoc.convert_file(file_name, lua_file_name)                                                          
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                          
  File "C:\Users\jessi\Desktop\GitHub\pypandoc\pypandoc\__init__.py", line 170, in convert_file                         
    return _convert_input(discovered_source_files, format, 'path', to, extra_args=extra_args,                           
           ^File "C:\Users\jessi\Desktop\GitHub\pypandoc\pypandoc\__init__.py", line 420, in _convert_input                       
    raise RuntimeError(                                                                                                 
RuntimeError: Pandoc died with exitcode "4" during conversion: C:\Users\jessi\AppData\Local\Temp\tmpfklv5iujfoo-bar+baz\tmpklk6nzjg.lua does not contain a custom writer                                                                        
 

As said, the first one is really simple to fix, but we'll need to investigate why the second one broke

This could possibly also fix #317

from pypandoc.

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.