Wykres commitów

104 Commity (master)

Autor SHA1 Wiadomość Data
Maximilian Wirtz ef64213c24 Use proper SPDX identifier
BSD is ambiguous. There are several BSD versions and flavours out there
(see https://spdx.org/licenses/). Based on the `LICENSE.rst` I think it
is "BSD 2-Clause "Simplified" License".
2024-01-24 16:41:11 +01:00
Nicco Kunzmann ee81991664 Check that fuzzing files are not included in the release 2023-10-25 12:17:51 +01:00
Michał Górny bdc5b6317b use find_namespace_packages() to fix installing data subdirs
Fixes the deprecation warnings resembling the following:

    Installing 'icalendar.tests.hypothesis' as data is deprecated, please list it in `packages`.
    !!

    ############################
    # Package would be ignored #
    ############################
    Python recognizes 'icalendar.tests.hypothesis' as an importable package,
    but it is not listed in the `packages` configuration of setuptools.

    'icalendar.tests.hypothesis' has been automatically added to the distribution only
    because it may contain data files, but this behavior is likely to change
    in future versions of setuptools (and therefore is considered deprecated).

    Please make sure that 'icalendar.tests.hypothesis' is included as a package by using
    the `packages` configuration field or the proper discovery methods
    (for example by using `find_namespace_packages(...)`/`find_namespace:`
    instead of `find_packages(...)`/`find:`).

    You can read more about "package discovery" and "data files" on setuptools
    documentation page.

This is one of two possible solutions.  The other option is to add
__init__.py files to all subdirectories of icalendar/tests.
2022-10-18 07:53:14 +02:00
Nicco Kunzmann 01a57e86ee add changelog entries for release 5.0.0 2022-10-12 04:14:46 +01:00
Christian Geier 508fbdb317
Merge pull request #387 from niccokunzmann/issue-335
test UTC identification
2022-09-03 21:06:53 +02:00
Nicco Kunzmann d89d962787
Merge branch 'master' into niccokunzmann-test-py37 2022-08-26 18:45:49 +01:00
Nicco Kunzmann 8145a3c192 install zoneinfo and remove conditional tests 2022-08-21 20:58:21 +01:00
Nicco Kunzmann 093a5e35fb set minimal version to 3.7 2022-08-19 17:50:42 +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
Hugo Osvaldo Barrera d4c190866f Remove any syntax required for python < 3.8
find . -iname "*.py" -exec pyupgrade --py38-plus {} \;
2022-08-15 09:58:40 +02:00
Maurits van Rees c73cab2c10
Require Python 3.8. 2022-08-13 14:41:37 +02:00
Maurits van Rees 50636f106e
Removed 3.4/3.5 classifiers. 2021-11-22 22:33:58 +01:00
Fayas Noushad 8a4cd0bba6
Added Python 3.9 and 3.10 2021-10-05 19:13:56 +05:30
Maurits van Rees ce85c6d125
Add test runs on Python 3.7 and 3.8. 2020-04-22 22:58:20 +02:00
Maurits van Rees 1f6c85f5bc
Added Python 3.7 to classifiers.
[ci skip]
2020-03-21 01:53:46 +01:00
Jeroen F.J. Laros e86570b2da Cli (#256)
* Added rudimentary command line interface.

* Added documentation on the CLI.

* Added example output.

* Removed _optional wrapper in favour of the built-in get() method.

* Added --version option.

* Removed default for 'attendee'.

* Looping over all vevents now.

* Updated changelog.
2018-02-09 01:37:52 +01:00
Jon Dufresne 09707f4eed Pass python_requires argument to setuptools
Helps pip decide what version of the library to install.

https://packaging.python.org/tutorials/distributing-packages/#python-requires

> If your project only runs on certain Python versions, setting the
> python_requires argument to the appropriate PEP 440 version specifier
> string will prevent pip from installing the project on other Python
> versions.

https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords

> python_requires
>
> A string corresponding to a version specifier (as defined in PEP 440)
> for the Python version, used to specify the Requires-Python defined in
> PEP 345.
2018-01-26 18:33:58 -08:00
Johannes Raggam 47f98e4d87 prepare release 2017-11-08 14:13:02 +01: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
Jon Dufresne e5f74bb465 Fix ResourceWarnings in setup.py when Python warnings are enabled (#244)
Fix ResourceWarnings in setup.py when Python warnings are enabled
2017-10-24 02:04:19 +02:00
Maurits van Rees 34dcb4f4ce Fixed RST by adding two lines to the long description.
[ci skip]
2017-02-15 12:20:19 +01:00
Jon Dufresne 70985f19b2 Drop requirement for setuptools package from setup.py
setuptools is shipped with Python, no need to include it as a requirement.

Further, it is not used by the icalendar package, but only by setup.py.

setuptools is imported by setup.py _before_ dependencies have been installed.
2017-01-24 07:06:08 -08:00
Jon Dufresne 80eb80c3a1 Document all supported versions of Python in setup.py 2017-01-23 18:25:37 -08:00
Maurits van Rees 72ee6a1c2a Updated changelog and added PyPy and CPython classifiers.
[ci skip]
2016-11-18 20:12:55 +01:00
Johannes Raggam 14704c892b Merge remote-tracking branch 'geier/master' 2016-02-05 13:13:48 +01:00
Johannes Raggam 2d62c56ab0 all utf 8 headers 2016-01-14 15:08:00 +01:00
Johannes Raggam ff1f2eec3d allow zest.releaser to set the version in __init__.py. cleanup 2015-12-02 16:01:57 +01:00
Christian Geier 3b73c631cd defined test_suite in setup.py 2015-12-02 13:55:42 +01:00
Tom Try 86e4106a3b First commit 2015-11-29 21:00:58 +00:00
Johannes Raggam f7154d5528 Back to development: 3.9.2 2015-09-08 16:08:23 +02:00
Johannes Raggam 01521a4406 Preparing release 3.9.1 2015-09-08 16:07:50 +02:00
Johannes Raggam d3da3899da Back to development: 3.9.1 2015-03-24 13:01:01 +01:00
Johannes Raggam ab121fd7be Preparing release 3.9.0 2015-03-24 13:00:01 +01:00
Johannes Raggam e882e0379e merge prepare 2015-03-24 12:51:03 +01:00
Christian Geier b0148d61a7 we also run on python 3.4 2015-03-24 12:35:06 +01:00
Christian Geier 7ca7835aac dateutil to requirements 2015-03-24 12:35:06 +01:00
esteele 419fdf847e Back to development: 3.8.5 2014-11-01 10:50:23 +00:00
esteele 470e76e645 Preparing release 3.8.4 2014-11-01 10:49:37 +00:00
Johannes Raggam 1e0feb5377 back to dev 2014-08-26 11:37:04 +02:00
Johannes Raggam ca674ab735 prepare release 2014-08-26 11:35:13 +02:00
Johannes Raggam a2f904f67f back to dev 2014-07-22 12:13:21 +02:00
Johannes Raggam 80630163a5 prepare release 2014-07-22 12:11:19 +02:00
Johannes Raggam 62c1b3de4e back to dev 2014-07-17 16:36:33 +02:00
Johannes Raggam 77d66180aa prepare release 2014-07-17 16:35:01 +02:00
Johannes Raggam a02f04e7a6 back to dev 2014-07-17 02:44:19 +02:00
Johannes Raggam bee47e3637 prepare release 2014-07-17 02:42:50 +02:00
Johannes Raggam c8db0cdcb1 merge #142 2014-07-14 11:58:38 +02:00
Johannes Raggam 5c7ac0a0f7 prepare release 2014-06-02 23:38:45 +02:00
Johannes Raggam 7a3de7cd6e bump version. next one will be 3.7 2014-06-02 15:46:59 +02:00
Johannes Raggam 41e478a311 add missing changelog entry: Make ``python-dateutil`` a soft-dependency. 2014-06-02 12:20:22 +02:00