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

various fixes #993

Merged
merged 7 commits into from
Jul 1, 2024
Merged

various fixes #993

merged 7 commits into from
Jul 1, 2024

Conversation

prjemian
Copy link
Contributor

@prjemian prjemian commented Jul 1, 2024

@prjemian prjemian added this to the 1.6.20 milestone Jul 1, 2024
@prjemian prjemian self-assigned this Jul 1, 2024
@prjemian prjemian requested a review from MDecarabas July 1, 2024 14:04
@prjemian
Copy link
Contributor Author

prjemian commented Jul 1, 2024

Snagged by an upstream package error:

  File "/home/runner/micromamba/envs/anaconda-test-env-py-3.11/lib/python3.11/site-packages/dask/array/routines.py", line 1569, in <module>
    @implements(np.round, np.round_)
                          ^^^^^^^^^
  File "/home/runner/micromamba/envs/anaconda-test-env-py-3.11/lib/python3.11/site-packages/numpy/__init__.py", line 397, in __getattr__
    raise AttributeError(
AttributeError: `np.round_` was removed in the NumPy 2.0 release. Use `np.round` instead.. Did you mean: 'round'?
Error: Process completed with exit code 1.

Needs a version pin somewhere.

@prjemian
Copy link
Contributor Author

prjemian commented Jul 1, 2024

2024-07-01T14:05:20.5099142Z   + numpy                                    2.0.0  py311h1461c94_0          conda-forge       9MB

Recent release of numpy 2.0.0 has triggered this.

@prjemian
Copy link
Contributor Author

prjemian commented Jul 1, 2024

These errors while building the documentation:

/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/devices/aps_undulator.py:docstring of apstools.devices.aps_undulator.BusyStatus.from_bytes:9: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/devices/aps_undulator.py:docstring of apstools.devices.aps_undulator.BusyStatus.to_bytes:8: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/devices/aps_undulator.py:docstring of apstools.devices.aps_undulator.DoneStatus.from_bytes:9: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/devices/aps_undulator.py:docstring of apstools.devices.aps_undulator.DoneStatus.to_bytes:8: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/devices/aps_undulator.py:docstring of apstools.devices.aps_undulator.MotorDriveStatus.from_bytes:9: WARNING: Inline interpreted text or phrase reference start-string without end-string.
/home/prjemian/Documents/projects/BCDA-APS/apstools/apstools/devices/aps_undulator.py:docstring of apstools.devices.aps_undulator.MotorDriveStatus.to_bytes:8: WARNING: Inline interpreted text or phrase reference start-string without end-string.

@prjemian prjemian changed the title Use correct syntax in workflow various fixes Jul 1, 2024
@prjemian
Copy link
Contributor Author

prjemian commented Jul 1, 2024

Only one value of one of the IntEnum subclasses is used. Refactor so the docs will build.

@prjemian prjemian merged commit a3cb039 into main Jul 1, 2024
13 checks passed
@prjemian prjemian deleted the 992-workflow-error branch July 1, 2024 18:25
prjemian added a commit that referenced this pull request Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

YAML Syntax error in workflow file BusyStatus belongs with the synApps busy record support.
2 participants