-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add zen3geo #20198
Add zen3geo #20198
Conversation
Geospatial machine learning pipelines with torch DataPipes! Source at https://github.com/weiji14/zen3geo
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 ( I do have some suggestions for making it better though... For recipes/zen3geo:
Documentation on acceptable licenses can be found here. |
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 ( |
Try to resolve `ModuleNotFoundError: No module named 'poetry'`.
Sigh, should have used Traceback (most recent call last):
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper
status = run_func(*args)
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution
return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 438, in prepare_linked_requirement
return self._prepare_linked_requirement(req, parallel_builds)
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 524, in _prepare_linked_requirement
dist = _get_prepared_distribution(
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 68, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/distributions/sdist.py", line 61, in prepare_distribution_metadata
self.req.prepare_metadata()
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/req/req_install.py", line 533, in prepare_metadata
self.metadata_directory = generate_metadata(
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/operations/build/metadata.py", line 35, in generate_metadata
distinfo_dir = backend.prepare_metadata_for_build_wheel(metadata_dir)
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_internal/utils/misc.py", line 706, in prepare_metadata_for_build_wheel
return super().prepare_metadata_for_build_wheel(
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py", line 188, in prepare_metadata_for_build_wheel
return self._call_hook('prepare_metadata_for_build_wheel', {
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py", line 332, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 89, in _build_backend
obj = import_module(mod_path)
File "/home/conda/staged-recipes/build_artifacts/zen3geo_1661949977139/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'poetry.masonry' Will either need to:
Edit: going for option 2, see commits f436e9b and 8e33dc8, xref #19036? |
Instead of using using poetry-core 1.1.0
Windows builds failing is ok, because Traceback (most recent call last):
File "C:\Miniforge\lib\site-packages\boa\cli\mambabuild.py", line 124, in mamba_get_install_actions
solution = solver.solve_for_action(_specs, prefix)
File "C:\Miniforge\lib\site-packages\boa\core\solver.py", line 226, in solve_for_action
t = self.solve(specs)
File "C:\Miniforge\lib\site-packages\boa\core\solver.py", line 216, in solve
raise RuntimeError("Solver could not find solution." + error_string)
RuntimeError: Solver could not find solution.Mamba failed to solve:
- pip
- rioxarray >=0.10.0
- python >=3.8,<3.12
- torchdata >=0.4.0
with channels:
- local
- conda-forge/label/poetry_dev
- conda-forge/label/cleo_dev
- conda-forge
- conda-forge
The reported errors are:
- Encountered problems while solving:
- - nothing provides pytorch >=1.12.0 needed by torchdata-0.4.0-pyh8b8bddf_0
-
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a\1\s\.ci_support\build_all.py", line 223, in <module>
build_all(os.path.join(root_dir, "recipes"), args.arch)
File "D:\a\1\s\.ci_support\build_all.py", line 120, in build_all
File "C:\Miniforge\lib\site-packages\boa\cli\mambabuild.py", line 133, in mamba_get_install_actions
raise err
conda_build.exceptions.DependencyNeedsBuildingError: Unsatisfiable dependencies for platform win-64: {MatchSpec("torchdata==0.4.0=pyh8b8bddf_0")} |
@conda-forge/help-python, ready for review! |
Let build-backend depend only on poetry-core instead of full poetry. Partial revert of c2a190f in #3. Motivated by conda-forge/staged-recipes#20198 (comment).
* ⬆️ Bump poetry from 1.2.0rc1 to 1.2.0 Bumps [poetry](https://github.com/python-poetry/poetry) from 1.2.0rc1 to 1.2.0. - [Release notes](https://github.com/python-poetry/poetry/releases) - [Changelog](https://github.com/python-poetry/poetry/blob/master/CHANGELOG.md) - [Commits](python-poetry/poetry@1.2.0rc1...1.2.0) * 🎨 Use the pretty name of dependencies in poetry.lock file Make the lockfile consistent with poetry 1.2.0, see python-poetry/poetry#6243. * 👽 Use poetry-core instead of poetry in build system Let build-backend depend only on poetry-core instead of full poetry. Partial revert of c2a190f in #3. Motivated by conda-forge/staged-recipes#20198 (comment).
Gentle ping for a review @conda-forge/help-python. Windows build failure is ok, as described in #20198 (comment). |
|
||
about: | ||
home: None | ||
summary: The 🌏 data science library you've been waiting for~ |
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.
Is the ~ at the end expected?
Geospatial machine learning pipelines with torch DataPipes! Source at https://github.com/weiji14/zen3geo
Only specifying the minimum dependencies (
rioxarray
andtorchdata
) to keep things simple, leaving other optional extras dependencies (see https://zen3geo.readthedocs.io/en/v0.3.0/#installation) to be installed by the user if needed.Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).