-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attrs dependency requirement conflicts with Airflow #37
Comments
The reason for I guess we can downgrade to long story short, we'll downgrade to |
@Losik thank you again for solving this so fast. Can you please push tag (looks like 0.1.15)? |
Yes, I must do one more commit with changelog updates and version increase, merge it with main branch and then create a new release. This commit have to sync with GitHub from our internal repo and this action is triggered once an hour. Unfortunately, this functionality is maintained by another team and I do not have a way to trigger this synchronization manually at the moment =( Long story short, I expect new PyPI release to be ready in about an hour |
@kemics, toloka-kit==0.1.15 is in PyPI :) |
Thanks a lot, this change really helps to use this package in my production 🎉 |
@kemics, if you continue to use toloka-kit in airflow, you can be early adopter and try out our new library for airflow. We will be very grateful for your feedback =) |
Hi, thank you for the helpful library
I am trying to use toloka-kit in Airflow environment. However, when I am installing both
apache-airflow
andtoloka-kit
packages it fails with dependency conflict error. Something like this:apache-airflow 2.1.2+composer has requirement attrs<21.0,>=20.0, but you have attrs 21.2.0.
I tried different recent versions of Airflow (both v1 and v2 and
master
branch) and all are failing with a similar errorAnd it looks like that
toloka-kit
relies on API of new 21 version ofattrs
. Because I rantoloka-kit
tests in virtual env withattrs==20.3.0
and 26 tests failed.I understand that it would be unpleasant to downgrade
attrs
package version requirement here. However, Airflow is a very popular solution and I assume that I am not the only one who manages or will manage Toloka projects via Airflow. Moreover, I doubt that Airflow will update the dependency version soon. Currently this is a blocker for me and maybe to somebody else to migrate from bare API calls totoloka-kit
. For example, I am not able to create a hook,PythonOperator
orPythonSensor
for crowdsourcing purposes viatoloka-kit
What do you think?
The text was updated successfully, but these errors were encountered: