python-asn1crypto: bump to version 1.3.0 + rework#10952
Conversation
This change: * bumps the version 1.3.0 * switches to pypi.org download * removes the python2 variant Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
|
@commodo What happened to keeping Python 2 packages around until end of March? 😂 |
|
Oh crap.... Shall we bring it back? The scope of the problem with end-of-March is a bit larger, because, currently with Seafile I am stuck and cannot upgrade some Python package (gunicorn, openpyxl & pillow).
For pillow the error is: Something similar is for gunicorn, and I forgot what it was for openpyxl. For gunicorn 19.0.0, I think I patched something to make it skip the file. For 20.0.0 [to be upgraded] I think I would need to patch/skipped another file. And for Pillow I would also need to patch/skip. So, now, I feel like I have one of 2 options:
I prefer 2, but that also brings a whole chain of deps, so it's not always easy what to skip/upgrade or not. Also, Seafile now has released version 7.1.1, which kind of support Py3;
In any case, I have this branch WIP https://github.com/commodo/packages/commits/seafile-update3 |
|
Apologies for the late reply - I think we can leave asn1crypto as-is for now. I haven't have time to study the situation with seafile and its dependencies yet, will try to in the next few days. |
|
Ok I think I understand the situation enough to comment 😂 I think it's obvious my preference would be to keep Py2 packages around until March, mainly for two reasons. One, if we make a package available to users in the past, I would prefer to continue having it available unless there is a good reason to remove it (that is not only developer convenience). Two, I think it's too complicated for a large project like this to both add and remove things at the same time. It would be very easy to accidentally break something. My rough thinking on the transition is:
In theory, all programs during this process will continue to function correctly, either as Py2 or Py3 versions. (Things may still break during step 2 if step 1 isn't completed correctly but that's unavoidable.) But if we mix the two steps then the chances of things breaking increase. (If something goes wrong during step 1 and we need to revert a program from Py3 to Py2, having the Py2 dependencies still in-tree also makes it easier.) So for gunicorn, openpyxl and pillow, I would prefer to patch/skip files to maintain their Py2 versions. For seafile, I'm in favour of adding Let me know if there are any tricky packages I can help with 😄 |
|
Let me see what I can do about all this :) I'll see about maybe splitting stuff into some PRs. |
Maintainer: me
Compile tested: openwrt/openwrt@99dd270 x86
Run tested: openwrt/openwrt@99dd270 x86
This change:
Signed-off-by: Alexandru Ardelean ardeleanalex@gmail.com