Skip to content
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 channel notoraptor to find conda package falcon-cors when building conda package #4

Conversation

notoraptor
Copy link

Hi @bouthilx !

I created conda packages for falcon-cors and uploaded them on my own anaconda channel notoraptor (for Python 3.6, 3.7, 2.8 and 3.9): https://anaconda.org/notoraptor/falcon-cors/files

Adding notoraptor channel in ci_build.sh seems enough to make conda build work (I tested it successfully by building orion for Python 3.6 on my computer).

Could you add this commit to your branch, so that we could check if CI succeeds in the main PR ?

PS: If necessary, this is how I built falcon-cors conda package. Using conda skeleton, it is possible to convert a package from PYPI to conda.

# Install Anaconda client and login to channel account where packages will be uploaded
conda install anaconda-client
anaconda login

# Build conda packages from PYPI package

mkdir build
cd build/
conda skeleton pypi falcon-cors

# We must specify conda-forge channel to find falcon package
# Then we build package for each python version we want to support

conda-build -c conda-forge --python 3.6 falcon-cors
anaconda upload /home/notoraptor/anaconda3/conda-bld/linux-64/falcon-cors-1.1.7-py36_0.tar.bz2

conda-build -c conda-forge --python 3.7 falcon-cors
anaconda upload /home/notoraptor/anaconda3/conda-bld/linux-64/falcon-cors-1.1.7-py37_0.tar.bz2 

conda-build -c conda-forge --python 3.8 falcon-cors
anaconda upload /home/notoraptor/anaconda3/conda-bld/linux-64/falcon-cors-1.1.7-py38_0.tar.bz2

conda-build -c conda-forge --python 3.9 falcon-cors
anaconda upload /home/notoraptor/anaconda3/conda-bld/linux-64/falcon-cors-1.1.7-py39_0.tar.bz2

@bouthilx
Copy link
Owner

Thanks for taking care of this! Could you please repost this issue on https://github.com/Epistimio/orion/issues. When can continue the discussion there.

@notoraptor
Copy link
Author

@bouthilx OK! Done here: Epistimio#793

@notoraptor
Copy link
Author

Closed, continue in Epistimio#811

@notoraptor notoraptor closed this Feb 23, 2022
@notoraptor notoraptor deleted the hotfix/falcon_cors_conda_dep branch June 1, 2022 12:20
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