Skip to content

Add standard-xdrlib recipe #30718

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

beenje
Copy link
Contributor

@beenje beenje commented Aug 4, 2025

Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml".
  • License file is packaged (see here for an example).
  • Source is from official source.
  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
  • If static libraries are linked in, the license of the static library is packaged.
  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.
  • Build number is 0.
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
  • When in trouble, please check our knowledge base documentation before pinging a team.

I don't know if there has been discussions about this before.
Several modules were removed from Python 3.13. I maintain python-vxi11-feedstock which depends on xdrlib that was removed in Python 3.13.

The upstream package isn't maintained anymore: python-ivi/python-vxi11#49 but some people started to use standard-xdrlib from https://github.com/youknowone/python-deadlib as a workaround.
For example InstrumentKit.

I took example on backports.strenum-feedstock to package standard-xdrlib making one empty package for python <3.13 and the regular one for >=3.13.

Copy link
Contributor

github-actions bot commented Aug 4, 2025

Hi! This is the staged-recipes linter and your PR looks excellent! 🚀

@conda-forge-admin
Copy link
Contributor

conda-forge-admin commented Aug 4, 2025

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipes/standard-xdrlib/recipe.yaml) and found some lint.

Here's what I've got...

For recipes/standard-xdrlib/recipe.yaml:

  • noarch packages can't have selectors. If the selectors are necessary, please remove noarch: python.

For recipes/standard-xdrlib/recipe.yaml:

  • ℹ️ noarch: python recipes should usually follow the syntax in our documentation for specifying the Python version.
    • For the host section of the recipe, you should usually use the pin python ${{ python_min }}.* for the python entry.
    • If the package requires a newer Python version than the currently supported minimum version on conda-forge, you can override the python_min variable by adding a Jinja2 set statement at the top of your recipe (or using an equivalent context variable for v1 recipes).

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/16732799137. Examine the logs at this URL for more detail.

@beenje
Copy link
Contributor Author

beenje commented Aug 4, 2025

@conda-forge/help-python, this recipe is ready for review.

The linting service complains about the selectors and noarch: python. I copied that from backports.strenum-feedstock, so I think it's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants