diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4f842f0a..dc7cadfd 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -59,6 +59,11 @@ steps: - checkout: self fetchDepth: 0 # Fetch all commits for setuptools_scm fetchTags: true # tags necessary for setuptools_scm +- bash: | + git remote add upstream https://github.com/hyperspy/rosettasciio.git + git fetch upstream --tags + condition: ne(variables['Build.Repository.Name'], 'hyperspy/rosettasciio') + displayName: Fetch tags from hyperspy/rosettasciio - template: azure_pipelines/clone_ci-scripts_repo.yml@templates - template: azure_pipelines/install_mambaforge.yml@templates - template: azure_pipelines/activate_conda.yml@templates @@ -66,7 +71,6 @@ steps: - bash: | source activate $ENV_NAME - pip install "hyperspy>=2.0rc0" pip install --no-deps -e . conda list displayName: Install package diff --git a/conda_environment_dev.yml b/conda_environment_dev.yml index 42e4bd32..3b53b25a 100644 --- a/conda_environment_dev.yml +++ b/conda_environment_dev.yml @@ -7,6 +7,6 @@ dependencies: - pytest - pytest-xdist - pytest-rerunfailures -- hyperspy-base +- hyperspy-base >=2.0 - setuptools-scm - filelock