Wykres commitów

49 Commity (f7f0c205bbd52a367d71a121b67738f28ba089dc)

Autor SHA1 Wiadomość Data
Nicco Kunzmann 7d3e0057d5 Make documentation build under Python 3.12 2024-06-04 12:30:06 +01:00
Nicco Kunzmann 8f377be9e3 Analyse code coverage in tests
By analysing the code coverage in the test files, we can make sure that we do not accidentially remove a test
and that all test code actually is used
2024-03-18 17:41:02 +00:00
Maurits van Rees 237ad02449
No longer run the plone.app.event tests.
Also, run the Python 3.11 tests with the latest Python 3.11, instead of a release candidate.

In the last two weekly cron tests, the plone tests fail with:

    ModuleNotFoundError: No module named 'plone.app.event'

I see the same locally.  I have no idea why.  But this seems a good time to stop running the `plone.app.event` tests within `icalendar`.
2023-08-28 11:57:08 +02:00
Maurits van Rees d8b5e34176
Fixed plone tox environment when using latest tox 4. 2022-12-15 22:05:42 +01:00
Nicco Kunzmann dc2c280f12
Merge branch 'master' into doctest 2022-10-19 12:26:37 +01:00
Maurits van Rees e2b6ce13d0
Run the plone.app.event tests to see if our dev version causes problems
See https://github.com/collective/icalendar/issues/446
2022-10-11 23:49:40 +02:00
Nicco Kunzmann 913b8a9bc6 test all files with doctest
This runs doctest on .py and rst files.
See https://github.com/collective/icalendar/issues/443
2022-10-10 17:28:39 +01:00
Nicco Kunzmann 37586a1103 move towards 3.7 from 3.8
see https://github.com/collective/icalendar/pull/366/files
2022-08-19 17:47:02 +01:00
Maurits van Rees c73cab2c10
Require Python 3.8. 2022-08-13 14:41:37 +02:00
Maurits van Rees b1ea96da0f
Merge branch 'master' into docs-tox 2022-08-13 13:55:36 +02:00
Nicco Kunzmann f8144ecee3 use tox to build the documentation 2022-08-13 10:12:58 +01:00
Nicco Kunzmann 537cab205f change into docs directory 2022-08-07 22:58:58 +01:00
Nicco Kunzmann 755e09c1b4 attempt to use tox to build the documentation 2022-08-07 22:58:58 +01:00
Nicco Kunzmann 3b66cb45e1 merge master into tox
this also removes the unsupported/untested Python versions
2022-08-07 22:57:35 +01:00
Maurits van Rees db7874f352
Tox: properly install the test extra.
Otherwise you get crazy errors.
2022-07-11 13:12:56 +02:00
Maurits van Rees e0af3e9d92
Drop support for PyPy2.
Not available on GHA for latest Ubuntu 20.
2021-11-22 22:33:17 +01:00
Maurits van Rees de04a7efac
Drop support for Python 3.4 and 3.5.
These Python versions are out of support.
3.4 is no longer available on Ubuntu 20 on GitHub Actions.
2021-11-22 22:30:33 +01:00
Fayas Noushad fa294dd4e0
Added python 3.9 and 3.10 2021-10-05 19:15:25 +05:30
Maurits van Rees ce85c6d125
Add test runs on Python 3.7 and 3.8. 2020-04-22 22:58:20 +02:00
Jon Dufresne 80f2c308c6 Drop support for Python 2.6 and 3.3
I would humbly like to suggest icalendar drop support for Python 2.6.

The last release of Python 2.6 was 2013-10-29. It is no longer receiving
security or bug fixes.

https://www.python.org/dev/peps/pep-0361/

The pip project itself has decided to drop support for 2.6. At the
beginning of the year, their numbers estimated that Python 2.6 accounts
for ~2% of their downloads.

https://github.com/pypa/pip/pull/4343

For projects that still use Python 2.6, they can continue to pip install
an older version.

I've tried my best to remove as much 2.6 specific code as I can,
including the 'Programming Language :: Python :: 2.6' trove classifier
from setup.py. I've also removed Travis CI testing, which should result
in slightly faster testing and fewer wasted resources.

Changed:

* Update documented Python support and trove classifiers
* Update Travis test matrix and tox test matrix
* Use set literals (and more literals in general)
* Use dict comprehension
* Remove dependencies on ordereddict and unittest2
* Remove u string prefix, use more modern unicode literals instead
2017-11-07 03:44:09 -08:00
Christian Geier 6c86898399 On python2.6 install unittest2 for tox. (#214)
* On python2.6 install unittest2 for tox.

* fixup
2017-04-19 00:02:38 +02:00
Markus Unterwaditzer 87f374d96e Introduce Hypothesis for testing (#191) 2017-02-05 21:36:33 +01:00
Markus Unterwaditzer 475996a02f Allow passing parameters to pytest
An invocation like "tox -epy -- --pdb" will pass --pdb to pytest.
2017-01-19 12:41:53 +01:00
Christian Geier 8160afdbef Also test on python 3.5 and 3.6.
Also allow failures on travis.ci with pypy3.
2016-12-30 15:16:03 +01:00
Christian Geier b0148d61a7 we also run on python 3.4 2015-03-24 12:35:06 +01:00
Johannes Raggam 5c02dbca36 simplify nested test structure, comment for running specific tox env 2014-07-14 13:52:24 +02:00
Johannes Raggam d57ca467d6 omit tests in coverage 2014-06-02 23:38:35 +02:00
Johannes Raggam 62646b9571 instead of different testenvs, just depend on test extra of icalendar package 2014-06-02 15:09:26 +02:00
Markus Unterwaditzer f99ec25488 Use pytest instead of discover 2014-05-29 18:56:10 +02:00
Johannes Raggam db30fc0d4d fix tox coverage configuration to also run python 3 tests by not using unit2 script 2013-12-24 13:26:13 +01:00
Johannes Raggam e6a9903013 dont get dependencies from pypi downloaded icalendar egg but just use unittest2. more py3 configuration - tests still not run! 2013-12-24 13:06:03 +01:00
Johannes Raggam a08849e099 remove unused tests, move examples.rst to docs/usage.rst, pep8 everything 2013-12-24 01:29:05 +01:00
Christian Geier 328e3cd33d updated tox file for python 3.3 2013-10-29 18:43:46 +01:00
Johannes Raggam 4044d9c54c use [test] extra_requires from setup.py, to install unittest2 2013-03-21 01:30:57 +01:00
Johannes Raggam 0a6fd063ca use htmlcoverage 2013-03-20 19:35:30 +01:00
Klaus Klein 12cc3aa896 Reflect that dateutil is depended upon by all of the package,
not just tests.
2013-02-18 13:26:35 +01:00
Johannes Raggam c195b8a055 drop python <2.6 support 2013-02-08 16:05:57 +01:00
Johannes Raggam f100fc2839 testing python2.5. test version fix for dateutil 1.5. Fixes #68 2012-11-23 14:36:04 +01:00
Johannes Raggam c40231e9d3 tests for #63. closed by #73 and 7430b66862. Fixes #63 2012-11-23 14:12:08 +01:00
Johannes Raggam 1d8f78f429 remove interlude 2012-11-21 22:28:58 +01:00
Johannes Raggam f64efaf5e5 changelog, back to dev 2012-09-20 00:24:01 +02:00
Johannes Raggam cff4a28735 remove whitespace 2012-08-24 13:06:40 +02:00
Johannes Raggam 4881f84d43 restore tox environment for all major python versions 2012-03-19 17:34:12 +01:00
Johannes Raggam 346d79df5b convert to unix fileformat 2012-03-19 16:20:52 +01:00
Rok Garbas bc9f713107 adding py32 env for testing with tox 2012-02-27 11:47:52 +01:00
Rok Garbas 2389dcfce4 generating xml reports 2011-08-18 04:16:28 +02:00
Rok Garbas 5bdf664962 fixed tests so they pass, remove *tests* code from reports in coverage 2011-08-17 23:05:22 +02:00
Rok Garbas 58353a0bd0 adding coverage to tox.ini 2011-08-17 22:16:58 +02:00
Rok Garbas 081be720b6 adding tox.ini file and make tests run on python 2.4, 2.5, 2.6, 2.7 2011-08-17 21:23:20 +02:00