-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
mmcv-recipe v2.0.0 #19
mmcv-recipe v2.0.0 #19
Conversation
…nda-forge-pinning 2023.04.05.19.40.11
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Need to add an import: 'mmcv'
Traceback (most recent call last):
File "/home/conda/feedstock_root/build_artifacts/mmcv-recipe_1680775144270/test_tmp/run_test.py", line 2, in <module>
import mmcv
File "/home/conda/feedstock_root/build_artifacts/mmcv-recipe_1680775144270/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.10/site-packages/mmcv/__init__.py", line 4, in <module>
from .image import *
File "/home/conda/feedstock_root/build_artifacts/mmcv-recipe_1680775144270/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.10/site-packages/mmcv/image/__init__.py", line 5, in <module>
from .geometric import (cutout, imcrop, imflip, imflip_, impad,
File "/home/conda/feedstock_root/build_artifacts/mmcv-recipe_1680775144270/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac/lib/python3.10/site-packages/mmcv/image/geometric.py", line 7, in <module>
from mmengine.utils import to_2tuple
ModuleNotFoundError: No module named 'mmengine'
Tests failed for mmcv-full-2.0.0-cuda112py310h284aa0d_202.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
WARNING:conda_build.build:Tests failed for mmcv-full-2.0.0-cuda112py310h284aa0d_202.conda - moving package to /home/conda/feedstock_root/build_artifacts/broken
TESTS FAILED: mmcv-full-2.0.0-cuda112py310h284aa0d_202.conda
##[error]Bash exited with code '1'.
Finishing: Run docker build Edit: Feedstock for mmengine started at conda-forge/staged-recipes#22496 |
So in open-mmlab/mmcv#2235 ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to conda-forge/conda-forge.github.io#1768 (comment), renaming package on conda-forge is no longer supported. So we'll need to create a new mmcv-feedstock
repo and archive this older mmcv-recipe-feedstock
repo for mmcv>=2.0.0
.
You can rename the outputs in this feedstock without a problem. |
Ok, and that would upload the packages to |
So what you do is you rename the output
A further improvement would be to add an output |
Rename package output from mmcv-full to mmcv, and build from the PyPI tar.gz file instead of the GitHub source tar.gz. Cherry-picked from conda-forge/staged-recipes#22536. Also added LICENSE and LICENSE.md files.
@conda-forge-admin, please rerender |
…nda-forge-pinning 2023.05.15.00.57.38
Cool, that sounds like a good plan actually. I'll probably do |
…nda-forge-pinning 2023.05.15.14.22.09
Without the {{ name }} variable.
Going from PyPI back to the GitHub source.
…nda-forge-pinning 2023.05.16.03.36.14
Also fix some whitespaces to reduce git diff
See if it fixes `ImportError: cannot import name '_fastCopyAndTranspose' from 'numpy.core._multiarray_umath' (/Users/runner/miniforge3/conda-bld/mmcv-recipe_1684234509266/_build_env/venv/lib/python3.10/site-packages/numpy/core/_multiarray_umath.cpython-310-darwin.so)`
Sorry for all the noise. Just trying to start almost from scratch and remove any workarounds (e.g. ignored tests, unnecessary dependencies and settings, etc) that were added over time. Got it so that only the
Will try a few more things. Edit: The build failure does appear to be just something flaky? Re-running those macOS non-CUDA builds seems to work on second try. |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/mmcv-recipe-feedstock/actions/runs/4998676789. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds are green. Let's see if the mmcv-full
to mmcv
rename works on merge 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could probably refine this build script a bit more following updated instructions at https://mmcv.readthedocs.io/en/2.x/get_started/build.html#build-mmcv-from-source. E.g. MMCV_WITH_OPS=1
is now the default as mentioned at open-mmlab/mmcv#2235 (comment), so we could probably remove that line. But will keep things as is for now.
license_family: Apache | ||
license_file: LICENSE | ||
summary: OpenMMLab Computer Vision Foundation | ||
license: Apache-2.0 AND LicenseRef-NVIDIA-License |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added custom license Apache-2.0 and LicenseRef-NVIDIA-License
following https://github.com/conda-forge/cfep/blob/main/cfep-16.md. Not sure if the NVIDIA License should be named something else, but let's keep it this way for now.
Yep, |
Xref https://github.com/open-mmlab/mmdetection/blame/v3.0.0/requirements/runtime.txt. Rename from mmcv-full to mmcv after conda-forge/mmcv-recipe-feedstock#19.
* updated v3.0.0 * Rename mmcv-full to mmcv and add shapely Xref https://github.com/open-mmlab/mmdetection/blame/v3.0.0/requirements/runtime.txt. Rename from mmcv-full to mmcv after conda-forge/mmcv-recipe-feedstock#19. --------- Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
It is very likely that the current package version for this feedstock is out of date.
Checklist before merging this PR:
license_file
is packagedInformation about this PR:
@conda-forge-admin,
please add bot automerge
in the title and merge the resulting PR. This command will add our bot automerge feature to your feedstock.bot-rerun
label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase@conda-forge-admin, please rerun bot
in a PR comment to have theconda-forge-admin
add it for you.Pending Dependency Version Updates
Here is a list of all the pending dependency version updates for this repo. Please double check all dependencies before merging.
Dependency Analysis
We couldn't run dependency analysis due to an internal error in the bot. :/ Help is very welcome!
This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/cf-scripts/actions/runs/4627542516, please use this URL for debugging.