7947325dc1
Accepting request 1230062 from devel:languages:python
Ana Guerrero2024-12-11 20:04:36 +00:00
b8a39b9863
- Update to 3.4.0 * Fixed ImportHooks: it must raise ModuleNotFoundError instead of ImportError. * Use cache_from_source in ImportManager to find out .pyc/.pyo byte-code files. * Add compatibility with Python 3.13 (multiple fixes)
Markéta Machová2024-12-11 10:34:30 +00:00
c7374912b5
Accepting request 1196253 from devel:languages:python
Ana Guerrero2024-08-27 17:39:30 +00:00
522227c8f4
- update to 3.3.3.post1: * GHActions: Build and publish wheels on Linux/aarch64. - version 3.3.3: * Protect import cgi in preparation to Python 3.13. * Run tests with Python 3.12. * GHActions: Ensure pip only if needed - version 3.3.2: * Fixed printing to stdout in CheetahWrapper. * CI(GHActions): Install all Python and PyPy versions from conda-forge. - version 3.3.1: * Fixed ImportHooks under PyPy3. * Run tests with PyPy3. * Use conda to install older Pythons - version 3.3.0.post1: * Run tests with Python 3.11 * Fix DeprecationWarning: unittest.findTestCases() is deprecated. Use unittest.TestLoader.loadTestsFromModule() instead * Publish wheels at Github Releases. - version 3.3.0: * PyPI has wrongfully classified project Cheetah3 as “critical”. This puts a burden to use 2FA to manage the project at PyPI. To avoid the burden the project is renamed to CT3 at PyPI. There will be no updates for Cheetah3. Sorry for the inconvenience! * Use relative imports everywhere. * Run pure-python NameMapper tests in a separate process. * Fixed a bug in tests with pure-python NameMapper. * Add Python 3.10 to tox.ini. * Migrated to GitHub Actions. - version 3.2.7b1: * Load from JSON file to searchlist (similar to loading from pickle). * Fix filetype for Python 2 in Template. * Build wheels for aarch64 at Travis; publish them at PyPI. * tox.ini: Limit VIRTUALENV_PIP version for Python 3.4.
Martin Pluskal2024-08-27 10:56:32 +00:00
d4adbdad62
- Update to 3.2.4: * Import from collections for Python 2, from collections.abc for Python 3. * Fixed infinite recursion in ImportManager on importing module _bootlocale inside open().
Tomáš Chvátal
2019-10-07 13:25:28 +00:00
8fa7c16109
- Do not provide Cheetah3 namespace on python2, if someone wants Cheetah3 binary they need the python3 variant anyway
Tomáš Chvátal
2019-05-21 09:17:39 +00:00
5e89207bee
- Update to version 3.2.2: * Replaced outdated and insecure mktemp with mkstemp. * Fixed bugs in TemplateCmdLineIface.py: read binary pickles from stdin and files. * Use cgi.escape() for Python 2, html.escape() for Python 3. * Created tests for TemplateCmdLineIface. - Update test dependencies
Martin Pluskal2019-05-03 12:07:47 +00:00
dce1a56a22
- Enable py2 as it supports python2 - Update to 3.2.1: * Changed LoadTemplate.loadTemplate{Module,Class}: the loaded module’s __name__ set to just the file name. * Use imp for Python 2, importlib for Python 3. * Fix a bug in LoadTemplate.loadTemplate{Module,Class}: raise ImportError if the template was not found.
Tomáš Chvátal
2019-03-21 15:41:47 +00:00
c443f380c4
- Update to 3.2.0: * Dropped support for Python 3.3. * Implement LoadTemplate.loadTemplate{Module,Class} to load templates from .py[co], .py or .tmpl. * CheetahDirOwner caches compiled template in the template directory. * CheetahDirOwner now silently ignores errors on compiled templates writing. To get tracebacks set CheetahDirOwner.debuglevel = 1. * CheetahDirOwner and DirOwner byte-compile compiled templates to .pyc/.pyo. Errors on writing are silently ignored. * Implement Compiler.__unicode__ under Python 2 and Compiler.__bytes__ under Python 3. * Fix a bug in Compiler.__str__: under Python 2 the method now always returns str; it encodes unicode to str using encoding from the compiled source. Under Python 3 the method decodes bytes to str. - Execute tests
Tomáš Chvátal
2019-03-05 12:18:35 +00:00
54ee9cd43c
- Update to version 3.1.0: * Fix Cheetah to work with PyPy. * Code cleanup: fix code style to satisfy flake8 linter. * Rename www directory to docs.
Martin Pluskal2018-04-06 08:36:27 +00:00