Skip to content

Commit 4a9d497

Browse files
authored
Merge pull request #80 from dwhswenson/bump-0.3.1.dev0
Bump 0.3.1.dev0
2 parents d94f993 + 85777bc commit 4a9d497

File tree

6 files changed

+52
-18
lines changed

6 files changed

+52
-18
lines changed

.github/workflows/autorelease-default-env.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
INSTALL_AUTORELEASE="python -m pip install autorelease==0.2.6"
1+
# Vendored from Autorelease 0.5.1
2+
# Update by updating Autorelease and running `autorelease vendor actions`
3+
INSTALL_AUTORELEASE="python -m pip install autorelease==0.5.1"
24
if [ -f autorelease-env.sh ]; then
35
source autorelease-env.sh
46
fi

.github/workflows/autorelease-deploy.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
name: Autorelease
1+
# Vendored from Autorelease 0.5.1
2+
# Update by updating Autorelease and running `autorelease vendor actions`
3+
name: "Autorelease Deploy"
24
on:
35
release:
46
types: [published]
57

68
jobs:
79
deploy_pypi:
10+
if: ${{ github.repository == 'openpathsampling/openpathsampling-cli' }}
811
runs-on: ubuntu-latest
912
name: "Deploy to PyPI"
1013
steps:
@@ -17,7 +20,11 @@ jobs:
1720
if [ -f "autorelease-env.sh" ]; then
1821
cat autorelease-env.sh >> $GITHUB_ENV
1922
fi
20-
eval $INSTALL_AUTORELEASE
23+
if [ -f "./.autorelease/install-autorelease" ]; then
24+
source ./.autorelease/install-autorelease
25+
else
26+
eval $INSTALL_AUTORELEASE
27+
fi
2128
name: "Install autorelease"
2229
- run: |
2330
python -m pip install twine wheel

.github/workflows/autorelease-gh-rel.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1-
name: Autorelease
1+
# Vendored from Autorelease 0.5.1
2+
# Update by updating Autorelease and running `autorelease vendor actions`
3+
name: "Autorelease Release"
24
on:
35
push:
46
branches:
7+
# TODO: this should come from yaml conf
58
- stable
69

710
jobs:
811
release-gh:
12+
if: ${{ github.repository == 'openpathsampling/openpathsampling-cli' }}
913
runs-on: ubuntu-latest
1014
name: "Cut release"
1115
steps:
@@ -18,7 +22,11 @@ jobs:
1822
if [ -f "autorelease-env.sh" ]; then
1923
cat autorelease-env.sh >> $GITHUB_ENV
2024
fi
21-
eval $INSTALL_AUTORELEASE
25+
if [ -f "./.autorelease/install-autorelease" ]; then
26+
source ./.autorelease/install-autorelease
27+
else
28+
eval $INSTALL_AUTORELEASE
29+
fi
2230
name: "Install autorelease"
2331
- run: |
2432
VERSION=`python setup.py --version`
@@ -27,3 +35,4 @@ jobs:
2735
autorelease-release --project $PROJECT --version $VERSION --token $AUTORELEASE_TOKEN
2836
env:
2937
AUTORELEASE_TOKEN: ${{ secrets.AUTORELEASE_TOKEN }}
38+
name: "Cut release"

.github/workflows/autorelease-prep.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
name: "Autorelease"
1+
# Vendored from Autorelease 0.5.1
2+
# Update by updating Autorelease and running `autorelease vendor actions`
3+
name: "Autorelease testpypi"
24
on:
35
pull_request:
46
branches:
7+
# TODO: this should come from yaml conf
58
- stable
69

710
defaults:
@@ -10,6 +13,7 @@ defaults:
1013

1114
jobs:
1215
deploy_testpypi:
16+
if: ${{ github.repository == 'openpathsampling/openpathsampling-cli' }}
1317
runs-on: ubuntu-latest
1418
name: "Deployment test"
1519
steps:
@@ -22,10 +26,14 @@ jobs:
2226
if [ -f "autorelease-env.sh" ]; then
2327
cat autorelease-env.sh >> $GITHUB_ENV
2428
fi
25-
eval $INSTALL_AUTORELEASE
29+
if [ -f "./.autorelease/install-autorelease" ]; then
30+
source ./.autorelease/install-autorelease
31+
else
32+
eval $INSTALL_AUTORELEASE
33+
fi
2634
name: "Install autorelease"
2735
- run: |
28-
python -m pip install twine wheel
36+
python -m pip install twine wheel setuptools
2937
name: "Install release tools"
3038
- run: |
3139
bump-dev-version
@@ -41,6 +49,7 @@ jobs:
4149
repository_url: https://test.pypi.org/legacy/
4250
name: "Deploy to testpypi"
4351
test_testpypi:
52+
if: ${{ github.repository == 'openpathsampling/openpathsampling-cli' }}
4453
runs-on: ubuntu-latest
4554
name: "Test deployed"
4655
needs: deploy_testpypi
@@ -54,7 +63,17 @@ jobs:
5463
if [ -f "autorelease-env.sh" ]; then
5564
cat autorelease-env.sh >> $GITHUB_ENV
5665
fi
57-
eval $INSTALL_AUTORELEASE
66+
if [ -f "./.autorelease/install-autorelease" ]; then
67+
source ./.autorelease/install-autorelease
68+
else
69+
eval $INSTALL_AUTORELEASE
70+
fi
5871
name: "Install autorelease"
59-
- run: test-testpypi
60-
72+
- name: "Install testpypi version"
73+
run: install-testpypi
74+
- name: "Test testpypi version"
75+
run: |
76+
if [ -f "autorelease-env.sh" ]; then
77+
cat autorelease-env.sh >> $GITHUB_ENV
78+
fi
79+
test-testpypi

autorelease-env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
INSTALL_AUTORELEASE="python -m pip install autorelease==0.2.3 nose sqlalchemy dill"
1+
INSTALL_AUTORELEASE="python -m pip install autorelease==0.5 nose sqlalchemy dill"
22
PACKAGE_IMPORT_NAME=paths_cli

setup.cfg

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = openpathsampling-cli
3-
version = 0.2.2.dev0
3+
version = 0.3.1.dev0
44
# version should end in .dev0 if this isn't to be released
55
description = Command line tool for OpenPathSampling
66
long_description = file: README.md
@@ -18,16 +18,13 @@ classifiers =
1818
Programming Language :: Python :: 3
1919

2020
[options]
21-
python_requires = >= 3.7
21+
python_requires = >= 3.10
2222
install_requires =
2323
click
2424
tqdm
25-
openpathsampling >= 1.2
25+
openpathsampling >= 1.6
2626
packages = find:
2727

2828
[options.entry_points]
2929
console_scripts =
3030
openpathsampling = paths_cli.cli:main
31-
32-
[bdist_wheel]
33-
universal=1

0 commit comments

Comments
 (0)