Skip to content

Remove hacks that were added to work around issues in pycocotools#449

Merged
zhiltsov-max merged 1 commit intoopen-edge-platform:developfrom
IRDonch:remove-pycocotools-hax
Jan 10, 2022
Merged

Remove hacks that were added to work around issues in pycocotools#449
zhiltsov-max merged 1 commit intoopen-edge-platform:developfrom
IRDonch:remove-pycocotools-hax

Conversation

@IRDonch
Copy link
Copy Markdown

@IRDonch IRDonch commented Sep 7, 2021

Summary

Ignore this for now. I'm just making sure that the changes I made in ppwwyyxx/cocoapi#6 do actually resolve the issues for which the workarounds were added.

How to test

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

@IRDonch
Copy link
Copy Markdown
Author

IRDonch commented Sep 8, 2021

Okay, looks good. I'll close it for now and revive it if/when my patch to pycocotools gets accepted and a new release is published.

@IRDonch IRDonch closed this Sep 8, 2021
@IRDonch IRDonch deleted the remove-pycocotools-hax branch September 8, 2021 10:32
@IRDonch IRDonch restored the remove-pycocotools-hax branch September 8, 2021 10:32
@IRDonch IRDonch reopened this Jan 10, 2022
@IRDonch
Copy link
Copy Markdown
Author

IRDonch commented Jan 10, 2022

I'll close it for now and revive it if/when my patch to pycocotools gets accepted and a new release is published.

This has now happened! As such, I'm reopening this.

@IRDonch IRDonch marked this pull request as ready for review January 10, 2022 10:12
@IRDonch IRDonch requested a review from zhiltsov-max January 10, 2022 10:51
zhiltsov-max
zhiltsov-max previously approved these changes Jan 10, 2022
Copy link
Copy Markdown
Contributor

@zhiltsov-max zhiltsov-max left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great news! I feel, many projects have == 2.0.2 in requirements, though. Let's merge after the gitpython problem in the tests is resolved.

@IRDonch
Copy link
Copy Markdown
Author

IRDonch commented Jan 10, 2022

Looks like someone has already submitted a fix for GitPython: gitpython-developers/GitPython#1394.

pycocotools 2.0.4 includes changes to the build system that make it possible
to downgrade NumPy after installing pycocotools, and therefore:

* --no-binary=pycocotools is no longer necessary;
* TensorFlow can be installed in the same `pip` invocation as Datumaro.

The only hack that remains (that I know of) is the usage of
`pycocotools-windows` on Windows, since the `pycocotools` PyPI project still
doesn't provide Windows wheels (or any other wheels).
@zhiltsov-max zhiltsov-max merged commit a76d815 into open-edge-platform:develop Jan 10, 2022
@IRDonch IRDonch deleted the remove-pycocotools-hax branch January 10, 2022 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants