@@ -21,21 +21,20 @@ jobs:
2121 - uses : actions/checkout@v3
2222 with :
2323 submodules : true
24- fetch-depth : 0 # history required so cmake can determine version
24+ fetch-depth : 0 # history required so setuptools_scm can determine version
2525
2626 - uses : mamba-org/setup-micromamba@v1
2727 with :
2828 environment-name : build-env
2929 create-args : >-
30- python=3.8
3130 conda-build
3231 boa
33- - run : conda mambabuild --channel conda-forge --channel scipp --python=3.8 -- no-anaconda-upload --override-channels --output-folder conda/package conda
32+ - run : conda mambabuild --channel conda-forge --channel scipp --no-anaconda-upload --override-channels --output-folder conda/package conda
3433
3534 - uses : actions/upload-artifact@v3
3635 with :
3736 name : conda-package-noarch
38- path : conda/package/*/essreflectometry *.tar.bz2
37+ path : conda/package/noarch/ *.tar.bz2
3938
4039 build_wheels :
4140 name : Wheels
4645 with :
4746 fetch-depth : 0 # history required so setuptools_scm can determine version
4847
49- - uses : actions/setup-python@v3
48+ - uses : actions/setup-python@v4
5049 with :
51- python-version : ' 3.8 '
50+ python-version-file : ' .github/workflows/python-version-ci '
5251
5352 - run : python -m pip install --upgrade pip
5453 - run : python -m pip install -r requirements/wheels.txt
@@ -85,11 +84,11 @@ jobs:
8584 - uses : mamba-org/setup-micromamba@v1
8685 with :
8786 environment-name : upload-env
87+ # frozen python due to breaking removal of 'imp' in 3.12
8888 create-args : >-
89- python=3.8
9089 anaconda-client
91-
92- - run : anaconda --token ${{ secrets.ANACONDATOKEN }} upload --user scipp --label main $(ls conda-package-*/* /*.tar.bz2)
90+ python=3.11
91+ - run : anaconda --token ${{ secrets.ANACONDATOKEN }} upload --user scipp --label main $(ls conda-package-noarch /*.tar.bz2)
9392
9493 docs :
9594 needs : [upload_conda, upload_pypi]
@@ -98,14 +97,12 @@ jobs:
9897 publish : ${{ github.event_name == 'release' && github.event.action == 'published' }}
9998 secrets : inherit
10099
101-
102100 assets :
103101 name : Upload docs
104102 needs : docs
105103 runs-on : ' ubuntu-20.04'
106104 permissions :
107105 contents : write # This is needed so that the action can upload the asset
108-
109106 steps :
110107 - uses : actions/download-artifact@v3
111108 - name : Zip documentation
@@ -117,4 +114,3 @@ jobs:
117114 with :
118115 file : ./documentation-${{ github.ref_name }}.zip
119116 overwrite : false
120-
0 commit comments