This PR proposes to update to python 3.9 and more up-to-date libraries.
Motiviation
It was impossible to setup a dev environment on a fairly up-to-date system (debian on wsl) which runs python 3.9 due to several compilation errors in lxml, psycopg2, ... , which are no longer provided as wheels.
Notes
dogpile.core conflicts with dogpile.cache and is therefore removed.
psycopg2 doesn't install on debian, hence using psycopg2-binary.
Some tiny compatibility issues are fixed in code.
a) config.py
PyYAML requires a loader to be specified or safe_load() to be
used to prevent security vulnerabilities.
b) readme_renderer.py
creole.rest2html was renamed tocreole.rest_tools`
SmartyPants class has been replaced by smartypants() function
somewhere in 2015
HTML_SKIP_STYLE flag is no longer supported.
Markdown objects can directly be called. .render() no longer
needed/supported.
This PR proposes to update to python 3.9 and more up-to-date libraries.
Motiviation
It was impossible to setup a dev environment on a fairly up-to-date system (debian on wsl) which runs python 3.9 due to several compilation errors in lxml, psycopg2, ... , which are no longer provided as wheels.
Notes
Some tiny compatibility issues are fixed in code.
a) config.py PyYAML requires a loader to be specified or
safe_load()
to be used to prevent security vulnerabilities.b) readme_renderer.py
creole.rest2html was renamed to
creole.rest_tools`SmartyPants
class has been replaced by smartypants() function somewhere in 2015.render()
no longer needed/supported.