Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upunittest2 #1882
Comments
This comment has been minimized.
This comment has been minimized.
do you have information on which packages are still being used in Python 2.6? are we properly using trove classifiers? |
This comment has been minimized.
This comment has been minimized.
I would double check. Iirc @mauritsvanrees did a great job of adding classifiers, I am just not sure if it's been complete. So I would check the sources.cfg of buildout.coredev 4.3 branch as well. |
This comment has been minimized.
This comment has been minimized.
I have added the trove classifiers a while ago. It could be that some have gotten out of sync. Best place to check is indeed coredev 4.3 sources.cfg. |
This comment has been minimized.
This comment has been minimized.
For reference, these are the extra functions in
So if a package is not using any of those, we can remove the |
This comment has been minimized.
This comment has been minimized.
Some packages include the dependency only for Python 2.6 (like diazo -> https://github.com/plone/diazo/blob/master/setup.py). I guess this is a good aproach for shared packages Plone 4.3 and 5.0 |
This comment has been minimized.
This comment has been minimized.
@tomgross that's quite handy indeed, I would rather use this approach on all other packages as well, so we are sure that we are not pulling unittest2 from 2.7 onwards. Still low hanging fruit, perfect for newcomers or when you have some hours to kill :-) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@kakshay21 sure, this would be great! Do you need any directions? |
This comment has been minimized.
This comment has been minimized.
@kakshay21 yes please! Let us know if you have problems, either here or on community.plone.org. Go go go! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@kakshay21 you can go as fast or as slow as you wish, one pull request at a time is the best thing to do |
Branch: refs/heads/master Date: 2017-04-30T15:26:09+05:30 Author: KUMAR AKSHAY (kakshay21) <k.akshay9721@gmail.com> Commit: plone/archetypes.multilingual@e41a419 removed unittest2 dependency see plone/Products.CMFPlone#1882 Files changed: M archetypes/multilingual/tests/test_monkey.py Repository: archetypes.multilingual Branch: refs/heads/master Date: 2017-04-30T15:28:37+05:30 Author: KUMAR AKSHAY (kakshay21) <k.akshay9721@gmail.com> Commit: plone/archetypes.multilingual@3805cdd Update CHANGES.rst Files changed: M CHANGES.rst Repository: archetypes.multilingual Branch: refs/heads/master Date: 2017-04-30T14:56:30+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/archetypes.multilingual@dbb1eb9 Merge pull request #22 from plone/kakshay21-unittest kakshay21 unittest Files changed: M CHANGES.rst M archetypes/multilingual/tests/test_monkey.py
Branch: refs/heads/master Date: 2017-04-30T15:26:09+05:30 Author: KUMAR AKSHAY (kakshay21) <k.akshay9721@gmail.com> Commit: plone/archetypes.multilingual@e41a419 removed unittest2 dependency see plone/Products.CMFPlone#1882 Files changed: M archetypes/multilingual/tests/test_monkey.py Repository: archetypes.multilingual Branch: refs/heads/master Date: 2017-04-30T15:28:37+05:30 Author: KUMAR AKSHAY (kakshay21) <k.akshay9721@gmail.com> Commit: plone/archetypes.multilingual@3805cdd Update CHANGES.rst Files changed: M CHANGES.rst Repository: archetypes.multilingual Branch: refs/heads/master Date: 2017-04-30T14:56:30+02:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/archetypes.multilingual@dbb1eb9 Merge pull request #22 from plone/kakshay21-unittest kakshay21 unittest Files changed: M CHANGES.rst M archetypes/multilingual/tests/test_monkey.py
Branch: refs/heads/master Date: 2017-04-30T18:35:16+05:30 Author: KUMAR AKSHAY (kakshay21) <k.akshay9721@gmail.com> Commit: plone/plone.app.collection@df2bf10 removed unittest2 dependency plone/Products.CMFPlone#1882 Files changed: M plone/app/collection/tests/test_collection.py Repository: plone.app.collection Branch: refs/heads/master Date: 2017-04-30T18:36:52+05:30 Author: KUMAR AKSHAY (kakshay21) <k.akshay9721@gmail.com> Commit: plone/plone.app.collection@883f8f8 update CHANGES.rst Files changed: M CHANGES.rst Repository: plone.app.collection Branch: refs/heads/master Date: 2017-04-30T18:37:59+05:30 Author: KUMAR AKSHAY (kakshay21) <k.akshay9721@gmail.com> Commit: plone/plone.app.collection@343bb53 update CHANGES.rst Files changed: M CHANGES.rst Repository: plone.app.collection Branch: refs/heads/master Date: 2017-04-30T18:43:24+05:30 Author: kakshay21 (kakshay21) <k.akshay9721@gmail.com> Commit: plone/plone.app.collection@30b1065 Merge branch 'master' into kakshay21-unittest2 removing conflict Files changed: M CHANGES.rst M setup.py Repository: plone.app.collection Branch: refs/heads/master Date: 2017-04-30T18:44:38+05:30 Author: kakshay21 (kakshay21) <k.akshay9721@gmail.com> Commit: plone/plone.app.collection@5675934 Merge branch 'kakshay21-unittest2' remvoing conflict Files changed: M CHANGES.rst M plone/app/collection/tests/test_collection.py
This comment has been minimized.
This comment has been minimized.
So many already are done! A big thanks @kakshay21 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
We do have |
This comment has been minimized.
This comment has been minimized.
thanks! @mauritsvanrees |
This comment has been minimized.
This comment has been minimized.
is there something wrong with naming |
This comment has been minimized.
This comment has been minimized.
Seems like Plone is free from unittest2 now! |
This comment has been minimized.
This comment has been minimized.
|
This comment has been minimized.
This comment has been minimized.
I think, yeah! Now it is unittest2 free! Last task: remove traces (also its dependencies) of unittest2 from buildout.coredev *.cfg files! |
This comment has been minimized.
This comment has been minimized.
Great work! Apart from those, when I grep through the 5.1 code, I still see real use of unittest2 in:
Of these, |
This comment has been minimized.
This comment has been minimized.
unittest2 is only mentioned in this file. |
This comment has been minimized.
This comment has been minimized.
only in 5.1 |
This comment has been minimized.
This comment has been minimized.
@jensens
|
This comment has been minimized.
This comment has been minimized.
@kakshay21 on plone.openid there is still an import for it, but as it is no longer part of plone core (not used in 5.1 nor in 5.2) it can be safely ignored. On the others you are right, there were some pull requests a few weeks/months ago that cleaned them up. |
This comment has been minimized.
This comment has been minimized.
Great work! Thanks our get-rid-of-unittest2-hero @kakshay21 and all others who helped to make it happen! |
We're using
unittest2
in many packages:Action needed! Remove or Declare in: