Comments (4)
As a workaround, can you use grayskull
instead of conda skeleton
?
from conda-build.
Yes, I tried grayskull
and I succeeded to create the recipe (and went through local test) for one of the dependency
of the pod5
package called: vbz-h5py-plugin
.
But the recipe for the pod5
package failed upon testing mainly due to a dependency called lib-pod5
that is not available on conda-forge
.
When I try to use grayskull
to create lib-pod5
that is available on PyPi I got this error:
(condaforge) [boulange@seneca recipes]$ grayskull pypi lib-pod5
#### Initializing recipe for lib-pod5 (pypi) ####
Recovering metadata from pypi...
Traceback (most recent call last):
File "/g/krebs/boulanger/miniconda3/envs/condaforge/bin/grayskull", line 10, in <module>
sys.exit(main())
^^^^^^
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/main.py", line 277, in main
generate_recipes_from_list(args.pypi_packages, args)
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/main.py", line 300, in generate_recipes_from_list
recipe, config = create_python_recipe(
^^^^^^^^^^^^^^^^^^^^^
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/main.py", line 335, in create_python_recipe
GrayskullFactory.create_recipe(
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/base/factory.py", line 46, in create_recipe
GrayskullFactory.REGISTERED_STRATEGY[repo_type.lower()].fetch_data(
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/strategy/pypi.py", line 62, in fetch_data
update_recipe(recipe, config, sections or ALL_SECTIONS)
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/strategy/pypi.py", line 499, in update_recipe
metadata = get_metadata(recipe, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/strategy/pypi.py", line 350, in get_metadata
sdist_metadata, pypi_metadata = get_origin_wise_metadata(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/strategy/pypi.py", line 234, in get_origin_wise_metadata
pypi_metadata = get_pypi_metadata(config)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/g/krebs/boulanger/miniconda3/envs/condaforge/lib/python3.12/site-packages/grayskull/strategy/pypi.py", line 277, in get_pypi_metadata
raise AttributeError(f"There is no sdist package on pypi for {config.name}.")
AttributeError: There is no sdist package on pypi for lib-pod5.
Thank you for your idea!
from conda-build.
You can try to use the GH repo for lib-pod5
as a the source. That said, it looks like a C++ heavy package so it won't be one of those trivial packaging tasks :P
from conda-build.
Indeed, my first experience trying make conda package is not smooth as I though it would be...
The pod5 project is also located on GH here
Do you think I will have more chance to create recipe from this URL?
Thank you the suggestion.
from conda-build.
Related Issues (20)
- Conda build is stuck with some unrelated build aterfacts. Unable to purge them.
- Limit logging config to CLI
- InvalidSpec error for spec ">=0.4,<0.4.4" in sktime HOT 8
- Deprecate `noarch_python_build_age` MetaData/Config setting
- the MSYS2 prefixes in the cran skeleton are fixed
- setup.py build documentation/implemantation for windows uses deprecated python setup.py install HOT 2
- Improve `cbc.yml` error reporting and validation
- Release 24.5.x
- Undefined environment variables are redefined in build script environment for multi-output builds
- Default Perl variant for cpan skeleton is enforcing a default version in a clean system
- Permissions of `info/*` files are not adjusted
- `meta.yaml` accepts negative build numbers HOT 1
- `conda-build --channel CHANNEL --override-channels` always includes the "default" channel HOT 1
- Publish stable artifacts with checksums during release HOT 2
- Cross compiling with virtual packages HOT 2
- `conda-build` version `24.5.0` assigns values to `frozendict` keys: results in internal errors HOT 3
- BUG: noarch package in multi-output recipe changes CPU architecture mid-build
- add `conda mambabuild` subcommand to aid transitioning away from `boa` HOT 9
- add `git` to the `build` dependencies automatically when `git_rev` or `git_url` is used in `source:`
- Adding conda-build in an environment breaks conda info HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from conda-build.