Wykres commitów

60 Commity (2b284ec1e7e13bcd68187cdda8f2d8fea50ee5c9)

Autor SHA1 Wiadomość Data
Nicco Kunzmann ec46b5dedd
Update tox.ini
Co-authored-by: Steve Piercy <web@stevepiercy.com>
2025-05-03 11:04:51 +01:00
Nicco Kunzmann e2955595a5 Address review 2025-05-02 17:58:39 +01:00
Nicco Kunzmann f1a031b4e0 Add several parameters 2025-04-24 05:47:26 +02:00
Martin Reguly 5bbb86f7f0 test python 3.13 support 2024-10-13 19:24:02 +02:00
Nicco Kunzmann 51087e094d make tests without pytz run 2024-09-05 11:18:15 +01:00
Nicco Kunzmann 2b8a9f76b8 build works
python -m build
2024-09-04 15:51:34 +01:00
devdanzin 7ed1482a71 Enable collection of branch coverage. 2024-07-25 19:37:32 -03:00
Nicco Kunzmann fe6f9c0b02 coverage xml
see https://github.com/collective/icalendar/actions/runs/9751493239/job/26913191286?pr=678#step:6:78
2024-07-01 22:52:48 +01:00
Steve Piercy cc32aa60da
Merge branch 'main' into remove-pytz 2024-06-25 05:23:38 -07:00
Nicco Kunzmann 4e3a2d2850 update tox enviroment list 2024-06-25 12:17:46 +01:00
Nicco Kunzmann e72a3a6d83 Remove pytz from dependencies
Until now, icalendar was using pytz.
This removes the dependency pytz.
Tests run with pytz and without.
The CI also runs the tests without pytz.
The default implementation of icalendar uses zoneinfo.
2024-06-24 18:16:49 +01:00
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