etesync / etesync-dav

This is a CalDAV and CardDAV adapter for EteSync
https://www.etesync.com
GNU General Public License v3.0
295 stars 50 forks source link

pypi version is newer & has a syntax error in setup.py #313

Open elig0n opened 3 months ago

elig0n commented 3 months ago
  1. version on pypi is newer than releases.
  2. version 0.32.1 on pypi has syntax error in setup.py which prevents being installed via pip install etesync-dav
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [3 lines of output]
      error in etesync-dav setup command: 'install_requires' must be a string or list of strings co (after version specifier)
          types-setuptools>=50.0.0pyobjc-framework-Cocoa>=7.0.0 ; sys_platform=="darwin"
                          ~~~~~~~~^
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
tasn commented 3 months ago

Oh, looks like it's a macOS only issue. Thanks for reporting.

elig0n commented 3 months ago

Oh, looks like it's a macOS only issue. Thanks for reporting.

Actually I'm using Manjaro Linux.

jlkDE commented 1 month ago

I have been using etesync-dav via a virtualenv and struggled with the same problem. \ Culprit was that I updated the venv to Python 3.11, the solution was to recreate it with Python 3.10. Afterwards I was able to install from pypi just fine.

For the record: I also tried to install from source, but that lead to the same error as in #296. That error however was resolved by installing etebase directly from source too, but afterwards I ran into another issue:

[2024-09-16 18:43:01 +0200] [232333] [CRITICAL] An exception occurred during server startup: 'etesync_dav.radicale.web' is not a package

Not sure if that was related to the Python version or something different as I recreated the virtualenv at that point.