14
0

21 Commits

Author SHA256 Message Date
a2a1cd5b20 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=39
2025-06-27 15:29:19 +00:00
5ce65c57ce - Support both lowercased and unnormalized metadata directory names.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=37
2025-04-14 05:48:52 +00:00
38e78cd830 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=36
2025-03-25 00:39:32 +00:00
bbac3b00b0 Accepting request 1230048 from home:mcalabkova:branches:devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1230048
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=34
2024-12-11 10:34:30 +00:00
Martin Pluskal
afc421566e Accepting request 1196215 from home:frantisek.simorda:branches:openSUSE:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/1196215
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=32
2024-08-27 10:56:32 +00:00
1bec781fcf - Update to 3.2.6.post1:
* Skip test_import_bootlocale() on Python 3.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=31
2022-01-11 07:29:40 +00:00
16aac2b64a Accepting request 865304 from home:jayvdb:branches:devel:languages:python
- Add Suggests for python-Markdown and python-Pygments
- Use python_alternative to fix multi Python 3 builds
- Tidy spec
- Disable tests failing on Python 3.6
- update to 3.2.6
  * Fix use of uninitialized variable in _namemapper.c

OBS-URL: https://build.opensuse.org/request/show/865304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=29
2021-01-21 09:52:26 +00:00
edf508a74d - update to 3.2.5
* build fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=27
2020-07-08 14:29:44 +00:00
4437cc08d9 - Cleanup of the SPEC file, remove warnings.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=24
2020-04-21 17:06:15 +00:00
3c02f468fc Accepting request 774386 from home:trenn:branches:devel:languages:python
- python-Markdown is a BuildRequire for python-Cheetah3
  python2-Markdown package is not built anymore since last
  submitrequest:
    - disable python2 build: Markdown is python 3 only now
  Therefore python-Cheetah3 can also only build python3-Cheetah3
  due to: nothing provides python2-Markdown
  unresolvable build service errors otherwise

OBS-URL: https://build.opensuse.org/request/show/774386
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=22
2020-02-19 09:08:57 +00:00
Tomáš Chvátal
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().

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=20
2019-10-07 13:25:28 +00:00
Tomáš Chvátal
74aa59d372 Accepting request 704934 from home:pgajdos
- version update to 3.2.3
  - Fixed infinite recursion in ``ImportManager`` on importing
    a builtin module.
  - The site https://cheetahtemplate.org/ is now served with HTTPS.
  - Updated docs regarding fixed tests.

OBS-URL: https://build.opensuse.org/request/show/704934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=18
2019-05-23 09:16:40 +00:00
Tomáš Chvátal
8fa7c16109 - Do not provide Cheetah3 namespace on python2, if someone wants
Cheetah3 binary they need the python3 variant anyway

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=16
2019-05-21 09:17:39 +00:00
Martin Pluskal
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=14
2019-05-03 12:07:47 +00:00
Tomáš Chvátal
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=12
2019-03-21 15:41:47 +00:00
Tomáš Chvátal
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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=10
2019-03-05 12:18:35 +00:00
Tomáš Chvátal
5b7ef74d9e - Fix fdupes call
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=8
2018-12-10 12:39:30 +00:00
Martin Pluskal
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=6
2018-04-06 08:36:27 +00:00
Martin Pluskal
36424821a8 - Conflict with python-cheetah
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=3
2017-12-29 13:07:01 +00:00
Martin Pluskal
4d4de41514 Accepting request 560459 from home:jengelh:branches:devel:languages:python
- Remove some filler wording from descriptions.
  The summary can do without repeating the software name.
- Avoid running fdupes over partition boundaries.

OBS-URL: https://build.opensuse.org/request/show/560459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=2
2017-12-29 10:03:32 +00:00
Tomáš Chvátal
d581ebb9e0 Accepting request 559738 from home:pluskalm:branches:devel:languages:python
add me as maintainer

OBS-URL: https://build.opensuse.org/request/show/559738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Cheetah3?expand=0&rev=1
2017-12-24 15:47:37 +00:00