RSS blog page - 1/6 ==> Blog


blog page - 1/6

Nbconvert requires recent version of latex

2019-11-11

The latest version of nbconvert which converts notebooks into latex requires recent version latex > 2016. To install a more recent version on debian:

post

jupyter_sphinx

2019-07-15

jupyter_sphinx was recently updated and now includes a directive which lets the user run a piece of code and even modify it before running.

post

Slow imports and code to investigate

2019-03-10

I notice that the following code was very slow:

post

nbconvert, tornado, incompatibilities

2019-03-07

tornado was recently released in version 6.0. It introduced an incompabilities with all existing versions of nbconvert (<= 0.4.1).

post

Missing signature for functions

2018-08-03

The signature of a function is not always available in Python. The buildin functions do not follow the same pattern as functions written in Python but they provide a backup plan with the attribute __text_signature__:

post

Upload a single binary on PyPI

2018-05-21

The packages for multiple distribution are built on different machine but the upload takes place on a single machine. I retrieved all available builds and moved them to the dist folder. The file .pypirc was saved into my home with the following content:

post

Check RST syntax

2018-04-21

It is usually a pain to discover I made an error in a formula while I’m writing documentation. It fails quite long after after the unit tests started. The documentation is generated after the unit test pass. I also use a lot .. runpython:: (see RunPythonDirective) to run pieces of code inside the documentation. It is quite annoying to discover it fails long after. So I creates a unit test which can be used to compile a single page of the documentation : test_doc_page. I modify the page name when I have some doubt or I move to another one.

post

Long names on Windows

2018-03-26

One of my unit test was failing due to a weird error in sphinx-gallery. The module could not write a file on Windows because its name was longer than 260 which still seems to be a limit of the system.

post

pip 9.0.2 and issue with pip._vendor.urllib3.contrib

2018-03-19

pip was recently updated and the new version produces a weird error:

post

Replace pdflatex by xelatex

2018-03-03

pdflatex does not natively support utf-8 (no fixed size characters) but xelatex does (see Swapping from pdfLaTeX to XeLaTex). I tried a couple of past in the past with no success and I finally remove all accents from pdf coming from notebooks. It seems to work now.

post


RSS blog page - 1/6 ==> 2018-05 (1) 2018-08 (1) 2019-03 (2) 2019-07 (1) 2019-11 (1)