-
Notifications
You must be signed in to change notification settings - Fork 209
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
base: master
Are you sure you want to change the base?
Publishing to conda #369
Changes from 12 commits
46f4bce
6f48d09
1ed0cf9
eceb9ba
29d52a6
6c70180
e39964a
89198b7
cf184f3
82b0ac1
3253d96
228c4fb
b912140
16d4254
b89b078
33f83be
c3b2fff
3b6e448
22e46d0
c8ebde0
2eb9279
6a72546
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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@v2 | ||
- name: publish-to-conda | ||
uses: blanderbuss/[email protected] | ||
with: | ||
subDir: 'conda' | ||
AnacondaToken: ${{ secrets.ANACONDA_TOKEN }} | ||
platforms: 'linux' | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"%PYTHON%" setup.py install | ||
if errorlevel 1 exit 1 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python setup.py install |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
package: | ||
name: graphistry-dev | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Guessing as part of landing, change to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
version: "0.25.2" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The version seems hard-coded here, while it should be taken from the git tag -- am I misreading somehow? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Working on it, for some reason this env variable is not present There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved by switching to different github action |
||
|
||
source: | ||
path: ./ | ||
|
||
requirements: | ||
host: | ||
- python | ||
- setuptools | ||
run: | ||
- graphistry_dev.graphistry_core | ||
- graphistry_dev.graphistry-umap | ||
- graphistry_dev.graphistry-ai | ||
|
||
test: | ||
requires: | ||
- flake8 | ||
- mock | ||
- mypy | ||
- pytest | ||
- pandas-stubs | ||
- types-requests | ||
|
||
outputs: | ||
- name: graphistry_dev.graphistry_core | ||
requirements: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is there anything like There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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 |
||
- packaging>=20.1 | ||
- typing-extensions | ||
- numpy | ||
- pandas>=0.17.0 | ||
- protobuf>=2.6.0 | ||
- pyarrow>=0.15.0 | ||
- requests | ||
- name: graphistry_dev.graphistry-umap | ||
requirements: | ||
- umap-learn | ||
- dirty_cat | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
- name: graphistry_dev.graphistry-ai | ||
requirements: | ||
- scikit-learn | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. see There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
- scipy | ||
- umap-learn | ||
- dirty_cat | ||
- dgl | ||
- pytorch | ||
- sentence-transformers | ||
|
||
|
||
about: | ||
home: https://www.graphistry.com/ | ||
license: BSD | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. BSD3 + license file There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
summary: Visual Graph Analytics library for Python | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Graphistry Visual Graph ... There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
description: | | ||
Graphistry is a visual graph analytics library for extracting, transforming, | ||
displaying, and sharing big graphs with end-to-end GPU acceleration | ||
doc_url: https://www.graphistry.com/docs | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
dev_url: https://github.com/graphistry/pygraphistry | ||
|
||
extra: | ||
author: The Graphistry Team | ||
author_email: [email protected] | ||
|
||
|
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 a prepublish test we can do? Ex: In pip, we do a test publish to
test.pypi.org
firstThere 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.
After researching, I don't belive that there is a way to perform a test publish for conda