Skip to content
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

Update action in docs workflow #287

Closed
prjemian opened this issue Nov 2, 2023 · 1 comment · Fixed by #296
Closed

Update action in docs workflow #287

prjemian opened this issue Nov 2, 2023 · 1 comment · Fixed by #296
Assignees
Milestone

Comments

@prjemian
Copy link
Contributor

prjemian commented Nov 2, 2023

GHA suggests:

docs (3.9)
This action is deprecated and no longer maintained. Please use mamba-org/setup-micromamba instead. See https://github.com/mamba-org/provision-with-micromamba#migration-to-setup-micromamba for a migration guide.

Originally posted by @prjemian in #282 (comment)

@prjemian prjemian self-assigned this Nov 3, 2023
@prjemian prjemian added this to the v1.1 milestone Nov 3, 2023
@prjemian prjemian changed the title GHA suggests: Update action in docs workflow Nov 3, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
@prjemian
Copy link
Contributor Author

prjemian commented Nov 9, 2023

Cannot drop conda entirely. gi package is needed or these errors arise:

File "/home/runner/work/hklpy/hklpy/docs/source/conf.py", line 15, in <module>
    import hkl
  File "/home/runner/work/hklpy/hklpy/hkl/__init__.py", line 31, in <module>
    gi.require_version("Hkl", "5.0")
  File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/gi/__init__.py", line 1[26](https://github.com/bluesky/hklpy/actions/runs/6816901035/job/18539250311?pr=296#step:10:27), in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Hkl not available

prjemian added a commit that referenced this issue Nov 9, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
prjemian added a commit that referenced this issue Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant