1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2026-03-12 08:13:45 +00:00

19 Commits

Author SHA1 Message Date
55f1feae3b add python 3.14 2026-03-01 12:03:37 +03:00
a5967b1043 ical: fix Optional[Calendar] to Calendar cast 2026-03-01 11:54:52 +03:00
caa7b388a1 remove ical str prop decoding for icalendar v7.0.2 2026-03-01 11:54:52 +03:00
dependabot[bot]
0676540e76 Bump the pypi-updates group with 3 updates
Bumps the pypi-updates group with 3 updates: [google-api-python-client](https://github.com/googleapis/google-api-python-client), [icalendar](https://github.com/collective/icalendar) and [sphinx](https://github.com/sphinx-doc/sphinx).


Updates `google-api-python-client` from 2.188.0 to 2.190.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.188.0...v2.190.0)

Updates `icalendar` from 6.3.2 to 7.0.2
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v6.3.2...v7.0.2)

Updates `sphinx` from 8.2.3 to 9.0.4
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/v9.0.4/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v8.2.3...v9.0.4)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-version: 2.190.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: icalendar
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: pypi-updates
- dependency-name: sphinx
  dependency-version: 9.0.4
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-01 11:54:52 +03:00
dependabot[bot]
e3888af9f0 Bump cryptography from 46.0.4 to 46.0.5
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.4 to 46.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/46.0.4...46.0.5)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-version: 46.0.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-11 10:47:30 +03:00
dependabot[bot]
577e4efb20 Bump protobuf from 6.31.1 to 6.33.5
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 6.31.1 to 6.33.5.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Commits](https://github.com/protocolbuffers/protobuf/commits)

---
updated-dependencies:
- dependency-name: protobuf
  dependency-version: 6.33.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 00:06:50 +03:00
1eed6af952 poetry run black .
reformatted docs\source\conf.py
reformatted tests\test_converter.py
2026-02-01 13:33:47 +03:00
dependabot[bot]
8bcf94b58a Bump the pypi-updates group with 7 updates
Bumps the pypi-updates group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [google-auth](https://github.com/googleapis/google-auth-library-python) | `2.45.0` | `2.48.0` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.187.0` | `2.188.0` |
| [black](https://github.com/psf/black) | `25.12.0` | `26.1.0` |
| [types-python-dateutil](https://github.com/typeshed-internal/stub_uploader) | `2.9.0.20251115` | `2.9.0.20260124` |
| [myst-parser](https://github.com/executablebooks/MyST-Parser) | `4.0.1` | `5.0.0` |
| [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme) | `3.0.2` | `3.1.0` |
| [sphinx-design](https://github.com/executablebooks/sphinx-design) | `0.6.1` | `0.7.0` |


Updates `google-auth` from 2.45.0 to 2.48.0
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.45.0...v2.48.0)

Updates `google-api-python-client` from 2.187.0 to 2.188.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.187.0...v2.188.0)

Updates `black` from 25.12.0 to 26.1.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/25.12.0...26.1.0)

Updates `types-python-dateutil` from 2.9.0.20251115 to 2.9.0.20260124
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

Updates `myst-parser` from 4.0.1 to 5.0.0
- [Release notes](https://github.com/executablebooks/MyST-Parser/releases)
- [Changelog](https://github.com/executablebooks/MyST-Parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/MyST-Parser/compare/v4.0.1...v5.0.0)

Updates `sphinx-rtd-theme` from 3.0.2 to 3.1.0
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst)
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/3.0.2...3.1.0)

Updates `sphinx-design` from 0.6.1 to 0.7.0
- [Release notes](https://github.com/executablebooks/sphinx-design/releases)
- [Changelog](https://github.com/executablebooks/sphinx-design/blob/main/CHANGELOG.md)
- [Commits](https://github.com/executablebooks/sphinx-design/compare/v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.188.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: black
  dependency-version: 26.1.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20260124
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: myst-parser
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pypi-updates
- dependency-name: sphinx-rtd-theme
  dependency-version: 3.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: sphinx-design
  dependency-version: 0.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-01 13:33:47 +03:00
dependabot[bot]
c047d7c6f7 Bump pyasn1 from 0.6.1 to 0.6.2
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-19 09:30:38 +03:00
dependabot[bot]
5f24e9a89e Bump urllib3 from 2.6.0 to 2.6.3
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.0 to 2.6.3.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.0...2.6.3)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-10 17:29:06 +03:00
dependabot[bot]
807c0d63cf Bump the pypi-updates group with 4 updates
Bumps the pypi-updates group with 4 updates: [google-auth](https://github.com/googleapis/google-auth-library-python), [pytest](https://github.com/pytest-dev/pytest), [black](https://github.com/psf/black) and [mypy](https://github.com/python/mypy).


Updates `google-auth` from 2.43.0 to 2.45.0
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.43.0...v2.45.0)

Updates `pytest` from 9.0.1 to 9.0.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/9.0.1...9.0.2)

Updates `black` from 25.11.0 to 25.12.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/25.11.0...25.12.0)

Updates `mypy` from 1.19.0 to 1.19.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.19.0...v1.19.1)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.45.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: pytest
  dependency-version: 9.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: black
  dependency-version: 25.12.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: mypy
  dependency-version: 1.19.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-01 18:50:46 +03:00
dependabot[bot]
a5cc6d9dc7 Bump urllib3 from 2.5.0 to 2.6.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.5.0...2.6.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.6.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-08 08:56:28 +03:00
dependabot[bot]
f226e7a6a6 Bump the pypi-updates group with 8 updates
Bumps the pypi-updates group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [google-auth](https://github.com/googleapis/google-auth-library-python) | `2.42.1` | `2.43.0` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.186.0` | `2.187.0` |
| [icalendar](https://github.com/collective/icalendar) | `6.3.1` | `6.3.2` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.4.2` | `9.0.1` |
| [black](https://github.com/psf/black) | `25.9.0` | `25.11.0` |
| [mypy](https://github.com/python/mypy) | `1.18.2` | `1.19.0` |
| [types-python-dateutil](https://github.com/typeshed-internal/stub_uploader) | `2.9.0.20251008` | `2.9.0.20251115` |
| [types-pytz](https://github.com/typeshed-internal/stub_uploader) | `2025.2.0.20250809` | `2025.2.0.20251108` |


Updates `google-auth` from 2.42.1 to 2.43.0
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.42.1...v2.43.0)

Updates `google-api-python-client` from 2.186.0 to 2.187.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.186.0...v2.187.0)

Updates `icalendar` from 6.3.1 to 6.3.2
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v6.3.1...v6.3.2)

Updates `pytest` from 8.4.2 to 9.0.1
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.4.2...9.0.1)

Updates `black` from 25.9.0 to 25.11.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/25.9.0...25.11.0)

Updates `mypy` from 1.18.2 to 1.19.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.18.2...v1.19.0)

Updates `types-python-dateutil` from 2.9.0.20251008 to 2.9.0.20251115
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

Updates `types-pytz` from 2025.2.0.20250809 to 2025.2.0.20251108
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.187.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: icalendar
  dependency-version: 6.3.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: pytest
  dependency-version: 9.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pypi-updates
- dependency-name: black
  dependency-version: 25.11.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: mypy
  dependency-version: 1.19.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20251115
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-pytz
  dependency-version: 2025.2.0.20251108
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 11:54:55 +03:00
dependabot[bot]
ee098b338a Bump the pypi-updates group with 3 updates
Bumps the pypi-updates group with 3 updates: [google-auth](https://github.com/googleapis/google-auth-library-python), [google-api-python-client](https://github.com/googleapis/google-api-python-client) and [types-python-dateutil](https://github.com/typeshed-internal/stub_uploader).


Updates `google-auth` from 2.41.1 to 2.42.1
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.41.1...v2.42.1)

Updates `google-api-python-client` from 2.183.0 to 2.186.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.183.0...v2.186.0)

Updates `types-python-dateutil` from 2.9.0.20250822 to 2.9.0.20251008
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.42.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.186.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20251008
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-01 13:22:23 +03:00
dependabot[bot]
d5301e6ec1 Bump the pypi-updates group with 8 updates
Bumps the pypi-updates group with 8 updates:

| Package | From | To |
| --- | --- | --- |
| [google-auth](https://github.com/googleapis/google-auth-library-python) | `2.40.3` | `2.41.1` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.179.0` | `2.183.0` |
| [pyyaml](https://github.com/yaml/pyyaml) | `6.0.2` | `6.0.3` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.4.1` | `8.4.2` |
| [black](https://github.com/psf/black) | `25.1.0` | `25.9.0` |
| [mypy](https://github.com/python/mypy) | `1.17.1` | `1.18.2` |
| [types-pyyaml](https://github.com/typeshed-internal/stub_uploader) | `6.0.12.20250822` | `6.0.12.20250915` |
| [lxml](https://github.com/lxml/lxml) | `6.0.1` | `6.0.2` |


Updates `google-auth` from 2.40.3 to 2.41.1
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.40.3...v2.41.1)

Updates `google-api-python-client` from 2.179.0 to 2.183.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.179.0...v2.183.0)

Updates `pyyaml` from 6.0.2 to 6.0.3
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.3/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.2...6.0.3)

Updates `pytest` from 8.4.1 to 8.4.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.4.1...8.4.2)

Updates `black` from 25.1.0 to 25.9.0
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/25.1.0...25.9.0)

Updates `mypy` from 1.17.1 to 1.18.2
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.17.1...v1.18.2)

Updates `types-pyyaml` from 6.0.12.20250822 to 6.0.12.20250915
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

Updates `lxml` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-6.0.1...lxml-6.0.2)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.41.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.183.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: pyyaml
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: pytest
  dependency-version: 8.4.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: black
  dependency-version: 25.9.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: mypy
  dependency-version: 1.18.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: types-pyyaml
  dependency-version: 6.0.12.20250915
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: lxml
  dependency-version: 6.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 09:40:11 +03:00
dependabot[bot]
5717af6270 Bump the pypi-updates group with 6 updates
Bumps the pypi-updates group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.177.0` | `2.179.0` |
| [fire](https://github.com/google/python-fire) | `0.7.0` | `0.7.1` |
| [types-python-dateutil](https://github.com/typeshed-internal/stub_uploader) | `2.9.0.20250708` | `2.9.0.20250822` |
| [types-pytz](https://github.com/typeshed-internal/stub_uploader) | `2025.2.0.20250516` | `2025.2.0.20250809` |
| [types-pyyaml](https://github.com/typeshed-internal/stub_uploader) | `6.0.12.20250516` | `6.0.12.20250822` |
| [lxml](https://github.com/lxml/lxml) | `6.0.0` | `6.0.1` |


Updates `google-api-python-client` from 2.177.0 to 2.179.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.177.0...v2.179.0)

Updates `fire` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/google/python-fire/releases)
- [Commits](https://github.com/google/python-fire/compare/v0.7.0...v0.7.1)

Updates `types-python-dateutil` from 2.9.0.20250708 to 2.9.0.20250822
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

Updates `types-pytz` from 2025.2.0.20250516 to 2025.2.0.20250809
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

Updates `types-pyyaml` from 6.0.12.20250516 to 6.0.12.20250822
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

Updates `lxml` from 6.0.0 to 6.0.1
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-6.0.0...lxml-6.0.1)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-version: 2.179.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: fire
  dependency-version: 0.7.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20250822
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-pytz
  dependency-version: 2025.2.0.20250809
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: types-pyyaml
  dependency-version: 6.0.12.20250822
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
- dependency-name: lxml
  dependency-version: 6.0.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-01 09:59:13 +03:00
b3e515ebe9 Update FUNDING.yml [skip ci] 2025-08-07 20:05:05 +03:00
dependabot[bot]
a37daded9e Bump the pypi-updates group with 3 updates
Bumps the pypi-updates group with 3 updates: [google-api-python-client](https://github.com/googleapis/google-api-python-client), [mypy](https://github.com/python/mypy) and [types-python-dateutil](https://github.com/typeshed-internal/stub_uploader).


Updates `google-api-python-client` from 2.174.0 to 2.177.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.174.0...v2.177.0)

Updates `mypy` from 1.16.1 to 1.17.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.16.1...v1.17.1)

Updates `types-python-dateutil` from 2.9.0.20250516 to 2.9.0.20250708
- [Commits](https://github.com/typeshed-internal/stub_uploader/commits)

---
updated-dependencies:
- dependency-name: google-api-python-client
  dependency-version: 2.177.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: mypy
  dependency-version: 1.17.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: types-python-dateutil
  dependency-version: 2.9.0.20250708
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-01 11:34:29 +03:00
dependabot[bot]
474f6ab58f Bump the pypi-updates group with 5 updates
Bumps the pypi-updates group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [google-auth](https://github.com/googleapis/google-auth-library-python) | `2.36.0` | `2.40.3` |
| [google-api-python-client](https://github.com/googleapis/google-api-python-client) | `2.154.0` | `2.174.0` |
| [icalendar](https://github.com/collective/icalendar) | `6.1.0` | `6.3.1` |
| [flake8](https://github.com/pycqa/flake8) | `7.2.0` | `7.3.0` |
| [lxml](https://github.com/lxml/lxml) | `5.4.0` | `6.0.0` |


Updates `google-auth` from 2.36.0 to 2.40.3
- [Release notes](https://github.com/googleapis/google-auth-library-python/releases)
- [Changelog](https://github.com/googleapis/google-auth-library-python/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/google-auth-library-python/compare/v2.36.0...v2.40.3)

Updates `google-api-python-client` from 2.154.0 to 2.174.0
- [Release notes](https://github.com/googleapis/google-api-python-client/releases)
- [Commits](https://github.com/googleapis/google-api-python-client/compare/v2.154.0...v2.174.0)

Updates `icalendar` from 6.1.0 to 6.3.1
- [Release notes](https://github.com/collective/icalendar/releases)
- [Changelog](https://github.com/collective/icalendar/blob/main/CHANGES.rst)
- [Commits](https://github.com/collective/icalendar/compare/v6.1.0...v6.3.1)

Updates `flake8` from 7.2.0 to 7.3.0
- [Commits](https://github.com/pycqa/flake8/compare/7.2.0...7.3.0)

Updates `lxml` from 5.4.0 to 6.0.0
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-5.4.0...lxml-6.0.0)

---
updated-dependencies:
- dependency-name: google-auth
  dependency-version: 2.40.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: google-api-python-client
  dependency-version: 2.174.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: icalendar
  dependency-version: 6.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: flake8
  dependency-version: 7.3.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: pypi-updates
- dependency-name: lxml
  dependency-version: 6.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: pypi-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-01 08:49:40 +03:00
7 changed files with 775 additions and 440 deletions

2
.github/FUNDING.yml vendored
View File

@@ -1 +1 @@
custom: ['https://boosty.to/0xffff', 'https://www.donationalerts.com/r/b4tman1']
custom: ['https://boosty.to/0xffff']

View File

@@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
max-parallel: 3
max-parallel: 4
matrix:
python-version: ['3.11', '3.12', '3.13']
python-version: ['3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v4

View File

@@ -9,7 +9,6 @@
import importlib
from typing import List
project = "sync_ics2gcal"
copyright = "2023, b4tman"
author = "b4tman"

1142
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
[tool.poetry]
name = "sync_ics2gcal"
version = "0.1.5"
version = "0.1.6"
description = "Sync ics file with Google calendar"
authors = ["Dmitry Belyaev <b4tm4n@mail.ru>"]
license = "MIT"
@@ -14,16 +14,17 @@ classifiers = [
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
]
[tool.poetry.dependencies]
python = "^3.11"
google-auth = "2.36.0"
google-api-python-client = "2.154.0"
icalendar = "6.1.0"
google-auth = "2.48.0"
google-api-python-client = "2.190.0"
icalendar = "7.0.2"
pytz = "2025.2"
PyYAML = "6.0.2"
fire = "0.7.0"
PyYAML = "6.0.3"
fire = "0.7.1"
[tool.poetry.group.dev]
optional = true
@@ -32,21 +33,21 @@ optional = true
optional = true
[tool.poetry.group.dev.dependencies]
pytest = ">=8.1,<9.0"
pytest = ">=8.1,<10.0"
flake8 = ">=7.0.4,<8.0.0"
black = ">=25.0,<26.0"
black = ">=25.0,<27.0"
mypy = ">=1.16.1"
types-python-dateutil = ">=2.9.0.20250516"
types-pytz = ">=2025.2.0.20250516"
types-PyYAML = "^6.0.12.20250516"
lxml = ">=5.4.0,<6.0.0"
lxml = ">=5.4.0,<7.0.0"
[tool.poetry.group.docs.dependencies]
sphinx = ">=8.2,<9.0"
myst-parser = ">=4,<5"
sphinx = ">=8.2,<10.0"
myst-parser = ">=4,<6"
sphinx-rtd-theme = ">=3.0.2,<4.0.0"
sphinx-copybutton = "^0.5.2"
sphinx-design = ">=0.6,<0.7"
sphinx-design = ">=0.6,<0.8"
[tool.poetry.scripts]
sync-ics2gcal = "sync_ics2gcal.sync_calendar:main"

View File

@@ -1,6 +1,6 @@
import datetime
import logging
from typing import Union, Dict, Callable, Optional, Mapping, TypedDict
from typing import Union, Dict, Callable, Optional, Mapping, TypedDict, cast
from icalendar import Calendar, Event
from pytz import utc
@@ -75,7 +75,7 @@ class EventConverter(Event): # type: ignore
string value
"""
return str(self.decoded(prop).decode(encoding="utf-8"))
return str(self.decoded(prop))
def _datetime_str_prop(self, prop: str) -> str:
"""utc datetime as string from property
@@ -192,7 +192,10 @@ class CalendarConverter:
def events_to_gcal(self) -> EventList:
"""Convert events to google calendar resources"""
calendar: Calendar = self.calendar
if self.calendar is None:
raise ValueError("calendar not set")
calendar: Calendar = cast(Calendar, self.calendar)
ics_events = calendar.walk(name="VEVENT")
self.logger.info("%d events read", len(ics_events))

View File

@@ -8,45 +8,27 @@ from sync_ics2gcal import CalendarConverter
from sync_ics2gcal.ical import format_datetime_utc
uid = "UID:uisgtr8tre93wewe0yr8wqy@test.com"
only_start_date = (
uid
+ """
only_start_date = uid + """
DTSTART;VALUE=DATE:20180215
"""
)
date_val = (
only_start_date
+ """
date_val = only_start_date + """
DTEND;VALUE=DATE:20180217
"""
)
date_duration = (
only_start_date
+ """
date_duration = only_start_date + """
DURATION:P2D
"""
)
datetime_utc_val = (
uid
+ """
datetime_utc_val = uid + """
DTSTART;VALUE=DATE-TIME:20180319T092001Z
DTEND:20180321T102501Z
"""
)
datetime_utc_duration = (
uid
+ """
datetime_utc_duration = uid + """
DTSTART;VALUE=DATE-TIME:20180319T092001Z
DURATION:P2DT1H5M
"""
)
created_updated = (
date_val
+ """
created_updated = date_val + """
CREATED:20180320T071155Z
LAST-MODIFIED:20180326T120235Z
"""
)
def ics_test_cal(content: str) -> str:
@@ -107,7 +89,7 @@ def param_events_start_end(request: Any) -> Any:
def test_event_start_end(param_events_start_end: Tuple[str, str, str, str]) -> None:
(date_type, ics_str, start, end) = param_events_start_end
date_type, ics_str, start, end = param_events_start_end
converter = CalendarConverter()
converter.loads(ics_str)
events = converter.events_to_gcal()