Skip to content

Commit

Permalink
Build with latest miniconda
Browse files Browse the repository at this point in the history
Probably makes us more independent from the specific ubuntu version.
  • Loading branch information
timdiels committed May 27, 2022
1 parent 4db2da9 commit c2056ba
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,24 @@ on:

jobs:
publish-conda-pkg:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: 3.8
- name: Add conda to system path
run: echo $CONDA/bin >> $GITHUB_PATH
miniconda-version: latest
auto-update-conda: true
python-version: 3.8.*
- name: Install conda tools
shell: bash -l {0}
run: conda install -y anaconda-client conda-build
- name: Build conda pkg
shell: bash -l {0}
run: |
mkdir dist
conda build . --channel anaconda --channel timdiels --output-folder dist
- name: Publish to anaconda
shell: bash -l {0}
run: anaconda upload --all dist/linux-64/*.tar.bz2
env:
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
2 changes: 1 addition & 1 deletion coexpnetviz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# You should have received a copy of the GNU Lesser General Public License
# along with CoExpNetViz. If not, see <http://www.gnu.org/licenses/>.

__version__ = '6.0.2'
__version__ = '6.0.3'
2 changes: 1 addition & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requirements:
# Conda recommends always adding the interpreter as a host dep
- python
run:
- python ==3.8.*
- python >=3.8
- attrs >=17
- matplotlib >=1
- numpy >=1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

name = 'coexpnetviz'
setup(
version='6.0.2',
version='6.0.3',
name=name,
entry_points={'console_scripts': [
'coexpnetviz = coexpnetviz.main:main'
Expand Down

0 comments on commit c2056ba

Please sign in to comment.