Comments (7)
Update:
Seems like the installation does not work with Cython > v3
(I'm not too familiar with the the python ecosystem).
Using the workaround mentioned here: https://discuss.python.org/t/getting-requirements-to-build-wheel-did-not-run-successfully-exit-code-1/30365
echo "Cython<3" > cython_constraint.txt
PIP_CONSTRAINT=cython_constraint.txt pip3 install --user --upgrade 'syncall[caldav, tw]' --break-system-package
Did solve the issue, but it's still just a hacky solution :).
from syncall.
Sorry, give it one more try @tmerse, @smtucker :-)
Now it works directly from master - pip install git+https://github.com/bergercookie/syncall
from syncall.
Hi @tmerse .
The latest version of syncall
, 1.7.1
should work. Give it a try and if it dosen't work we can re-open this!
from syncall.
Hello! I'm still having this problem with the latest, and 1.7.1 tag. Anything I'm doing wrong?
PIP STDOUT
----------
Collecting syncall@ git+https://github.com/bergercookie/syncall (from syncall[google,tw]@ git+https://github.com/bergercookie/syncall)
Cloning https://github.com/bergercookie/syncall to /tmp/pip-install-bh_u9v74/syncall_65d3460f08ff4958ab7c00be3d80edd6
Resolved https://github.com/bergercookie/syncall to commit cf3a97022fe76c433e3c5f3b05208f925e108d1f
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
Collecting PyYAML<6.0.0,>=5.3.1 (from syncall@ git+https://github.com/bergercookie/syncall->syncall[google,tw]@ git+https://github.com/bergercookie/syncall)
Downloading PyYAML-5.4.1.tar.gz (175 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 1.1 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
PIP STDERR
----------
Running command git clone --filter=blob:none --quiet https://github.com/bergercookie/syncall /tmp/pip-install-bh_u9v74/syncall_65d3460f08ff4958ab7c00be3d80edd6
Running command git submodule update --init --recursive -q
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [54 lines of output]
running egg_info
writing lib3/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib3/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib3/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
File "/home/shelby/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/home/shelby/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/shelby/.local/pipx/shared/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 271, in <module>
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
super().run_command(command)
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 321, in run
self.find_sources()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 329, in find_sources
mm.run()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 551, in run
self.add_defaults()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults
sdist.add_defaults(self)
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 112, in add_defaults
super().add_defaults()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 201, in get_source_files
File "/tmp/pip-build-env-alwv2jk3/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
from syncall.
@bergercookie Hi, it seems that I am still having this problem by running pip install git+https://github.com/bergercookie/syncall
.
Collecting PyYAML<5.4.0,>=5.3.1 (from syncall==1.8.5.post1.dev0)
Using cached PyYAML-5.3.1.tar.gz (269 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [51 lines of output]
/usr/lib/python3.12/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg`
!!
********************************************************************************
The license_file parameter is deprecated, use license_files instead.
This deprecation is overdue, please update your project and remove deprecated
calls to avoid build errors in the future.
See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details.
********************************************************************************
!!
parsed = self.parsers.get(option_name, lambda x: x)(value)
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-l1t1sr6f/pyyaml_678a5f6b82634f2aa07a4abbaa3031db/setup.py", line 291, in <module>
setup(
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/usr/lib/python3.12/site-packages/setuptools/dist.py", line 1244, in run_command
super().run_command(command)
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/usr/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 317, in run
self.find_sources()
File "/usr/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 325, in find_sources
mm.run()
File "/usr/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 573, in run
self.add_defaults()
File "/usr/lib/python3.12/site-packages/setuptools/command/egg_info.py", line 611, in add_defaults
sdist.add_defaults(self)
File "/usr/lib/python3.12/site-packages/setuptools/command/sdist.py", line 106, in add_defaults
super().add_defaults()
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 251, in add_defaults
self._add_defaults_ext()
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 336, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-l1t1sr6f/pyyaml_678a5f6b82634f2aa07a4abbaa3031db/setup.py", line 199, in get_source_files
self.cython_sources(ext.sources, ext)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
raise AttributeError(attr)
AttributeError: cython_sources
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
python version: Python 3.12.2
pip version: 23.2.1
OS: Fedora Plasma 39
from syncall.
BTW, other than constraining version by hand, I tried https://github.com/pypa/pipx (a project aimed to install python package in isolated environment only for running) which installed it without need of any configuration successfully.
from syncall.
Is this still an issue @gzqx , @tmerse ?
I've tried the pip3 install --upgrade 'syncall[caldav, tw]' --break-system-packages
command in a virtualenv with either of the following combinations and I can't repro:
- pip 24.0, 3.11.8
- pip 24.0, 3.12.2
On my side though, PyYAML seems to be installed from pre-compiled wheels available on pypi.org while from the error messages PyYAML is compiled from source on your end(s).
This might have been fixed in your corresponding platforms - please have a second go at it to see if it works.
In any case this doesn't seem to be an issue with this repo per se so I'll close this one.
from syncall.
Related Issues (20)
- Go through the verification process for using the Google Tasks API HOT 1
- Sync all Taskwarrior tasks with Google Tasks HOT 15
- Feature request: Sync with Remember the Milk HOT 2
- TW <> Notion database integration
- [BUG] tw_gtasks_sync Quota Exceeded HOT 11
- "You have to install the google,tw extras for tw_gtasks_sync to work." But I have already installed it HOT 7
- "You have to install the google,tw extras for tw_gtasks_sync to work." But I have already installed it HOT 1
- [BUG] tw_gtasks_sync syncing waiting tasks from other project HOT 2
- a newly created task in taskwarrior is not synchronized HOT 1
- [BUG] Missing pkg_resources for Python >= 3.12 HOT 1
- [BUG] `twgcalsyncduration` UDA has no effect on google calendar event duration HOT 1
- [BUG] filtering on task or project for `tw_gcal_sync` seems to have no effect HOT 2
- Sync between Google Tasks and Obsidian HOT 1
- set reminder when sync to Google Calendar HOT 1
- Update repository topics HOT 1
- Cannot enter new all-day events HOT 1
- Use a changelog generator utility to facilitate changelog generation
- Date from Google Task synced wrong to Taskwarrior HOT 1
- [BUG] Cannot run sync twice on TW<->CalDAV HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syncall.