-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Python 3.10 installing multiprocess has incompatibility with apache-beam due to dill version #125
Comments
I'm trying to minimize the different versions that need support.
...yes, you can probably get away with doing this. Fundamentally, the issue is that python doesn't guarantee a pickled object from a new version of |
Hi again, thanks for the response. While this works as a temporary solution, is there any possibility to lower or remove the dill constraint in a future version of See also my discussion here apache/beam#24458. |
Looking at version diagnostics, there's still a lot of downloads/users of old versions of |
Python made a number of backward incompatible changes on the code object between python 3.10 and 3.11. So, the unfortunate thing is that while python 3.7, 3.8, etc can use older However... I'm unfortunately going to need to keep pinning on more recent versions of Closing, but feel free to comment, etc here. |
On Python 3.10 it is not possible to install
apache-beam==2.43.0
together withmultiprocess>=0.70.12
. This is due to Python 3.10 only being supported bymultiprocess>=0.70.12
which requiresdill>=0.3.4
and is in conflict with the apache-beam requirement fordill>=0.3.1.1,<0.3.2
.These libraries are used together, for example, in the datasets library.
Is there a specific reason for the higher version requirement of the
dill
package? If not, is it safe to ignore thedill
dependency ofmultiprocess
and install a version that satisfies theapache-beam
requirement?I.e. first install
apache-beam
thenmultiprocess
without dependencies:The text was updated successfully, but these errors were encountered: