-
Notifications
You must be signed in to change notification settings - Fork 206
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
Publishing to conda #369
Open
Blanderbuss
wants to merge
22
commits into
graphistry:master
Choose a base branch
from
Blanderbuss:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Publishing to conda #369
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
46f4bce
added build scripts and meta.yaml
6f48d09
two meta files
1ed0cf9
addet test and about
eceb9ba
working creating 3 packages
29d52a6
added actiond to push to conda
6c70180
switched to forked github action
e39964a
testing git action
89198b7
another action
cf184f3
switched to v1.4
82b0ac1
switched to v1.4 blanderbuss
3253d96
added git
228c4fb
changed source
b912140
modified meta
16d4254
change method of git tag
b89b078
changed license path
33f83be
changed license path
c3b2fff
format of desription and git tag
3b6e448
format of desription and git tag
22e46d0
format of desription and git tag
c8ebde0
changed publish workflow
2eb9279
formatted description
6a72546
added git_rev jinja template
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish Python 🐍 distributions 📦 to Conda | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
workflow_dispatch: | ||
|
||
|
||
jobs: | ||
build-n-publish: | ||
name: Build and publish Python 🐍 distributions 📦 to Conda | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: conda-incubator/setup-miniconda@v2 | ||
with: | ||
auto-update-conda: true | ||
|
||
- name: Build Conda Packages | ||
# Bash shells do not use ~/.profile or ~/.bashrc so these shells need to be explicitely declared as shell: | ||
# bash -l {0} on steps that need to be properly activated | ||
shell: bash -l {0} | ||
env: | ||
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | ||
run: | | ||
conda install conda-build anaconda-client conda-verify | ||
conda config --set anaconda_upload yes | ||
cd conda | ||
conda build -c conda-forge -c pytorch -c dglteam -c districtdatalabs --token "$ANACONDA_TOKEN" . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"%PYTHON%" setup.py install | ||
if errorlevel 1 exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python setup.py install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
package: | ||
name: graphistry | ||
version: {{ GIT_DESCRIBE_TAG }} | ||
|
||
source: | ||
git_rev: {{ GIT_DESCRIBE_TAG }} | ||
git_url: https://github.com/graphistry/pygraphistry | ||
|
||
requirements: | ||
host: | ||
- python | ||
- setuptools | ||
run: | ||
- graphistry.graphistry-core | ||
- graphistry.graphistry-umap | ||
- graphistry.graphistry-ai | ||
|
||
test: | ||
requires: | ||
- flake8 | ||
- mock | ||
- mypy | ||
- pytest | ||
- pandas-stubs | ||
- types-requests | ||
|
||
outputs: | ||
- name: graphistry.graphistry-core | ||
requirements: | ||
- packaging>=20.1 | ||
- typing-extensions | ||
- numpy | ||
- pandas>=0.17.0 | ||
- protobuf>=2.6.0 | ||
- pyarrow>=0.15.0 | ||
- requests | ||
description: test desc | ||
- name: graphistry.graphistry-umap | ||
requirements: | ||
- umap-learn | ||
- dirty_cat==0.2.0 | ||
- scikit-learn>=1.0 | ||
- name: graphistry.graphistry-ai | ||
requirements: | ||
- scikit-learn>=1.0 | ||
- scipy | ||
- umap-learn | ||
- dirty_cat==0.2.0 | ||
- dgl | ||
- pytorch | ||
- sentence-transformers | ||
|
||
|
||
about: | ||
home: https://www.graphistry.com/ | ||
license: BSD3 | ||
license_file: ../LICENSE.txt | ||
summary: Graphistry Visual Graph Analytics library for Python | ||
description: | | ||
Graphistry is a visual graph analytics library for extracting, transforming, | ||
displaying, and sharing big graphs with end-to-end GPU acceleration. | ||
|
||
You can install the whole package via: | ||
|
||
`conda install -c pygraphistry_dev graphistry` | ||
|
||
Just the core package via: | ||
|
||
`conda install -c pygraphistry_dev graphistry.graphistry-core` | ||
|
||
Or other parts of the package via: | ||
|
||
`conda install -c pygraphistry_dev graphistry.graphistry-ai` | ||
|
||
`conda install -c pygraphistry_dev graphistry.graphistry-umap` | ||
doc_url: https://hub.graphistry.com/docs | ||
dev_url: https://github.com/graphistry/pygraphistry | ||
|
||
extra: | ||
author: The Graphistry Team | ||
author_email: [email protected] | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 there anything like
outputs.*.description
where they can point to the main conda package for instructions?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.
We can put instructions in the main description and it will be used for all outputs
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.
You can check here to see how the description looks like right now