Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Release jul20 #1127

Merged
merged 442 commits into from
Aug 7, 2020
Merged

Release jul20 #1127

merged 442 commits into from
Aug 7, 2020

Conversation

cpascual
Copy link
Member

@cpascual cpascual commented Jul 14, 2020

This is a PR to master for the official Jul20 release. Final tests (automatic and manual) should be done based on it before accepting the merge.

So, this is a call for help from @taurus-org/integrators and any other person willing to help to test this branch ASAP in their respective systems.

Environments in which the manual tests should be done (please leave a comment if you volunteer to do the tests in one of them or in some other)

(please let us know in the comments of this PR if you plan to do some more manual tests)

Notes:

  1. A suggested check-list for the manual tests can be found in /doc/how_to_release.md
  2. the appveyor artifacts from this PR (use the latest ones) should be used for manual tests (they are preferred to using the git sources, because the git sources may contain files that are not in the artifact).
  3. The taurus-test docker images may be useful for testing on debian
  4. If you do a full check using the check-list, please open an independent issue in order not to spam this PR with long comments (see e.g. Jul19 manual release tests: win10 py3qt5 #959 )
  5. If you want to paste long logs, consider using a gist for that.
  6. Please consider creating issues to report individual bugs found during the manual tests
  7. If some part of the check list needs to be amended, consider creating a PR with the changes
  8. Make sure to use taurus_pyqtgraph >= 0.3.5

Carlos Pascual and others added 30 commits February 20, 2020 15:38
- Avoid caching formatters
- Simplify logic
- support py3 and py2
- Offer the registered formatters, the DEFAULT_FORMATTER, the class
formatter and the current formatter in the combobox
The sorting of known_formatters fails on py2. Since it is not critical,
just do not do it.
TauruBaseWidget.showFormatterDlg's API does not allow to distinguish
between a cancelled dialog and a selection of None as formatter.
Deprecate it and fix the API directly in onSetFormatter()
Tango is not thread safe when using threading.Thread. One must use
omni threads instead. This was confirmed for parallel event subscriptions
in PyTango#307.

For example, in the case of Sardana, the custom Worker will be protected
by the EnsureOmniThread context manager intoroduced in PyTango#327.
The Taurus JDraw viewer gets an exception if JDBar item is used in the
jdw file because TaurusJDrawGraphicsFactory does not support it.
Work around this by implementing a dummy support for JDBar.
Note that this is not proper support, but just a workaround
that displays a filled JDRectangle instead of a bar to allow parsing.
Allow to customize Worker for ThreadPool
Avoid NoneType AttributeError
Fix missing precision initialization
By mistake, self_format was used instead of self.FORMAT in the previous
refactoring. This breaks the formatter API. Fix it.
Improve set formatter dialog
Improve v3->v4 migration API and docs
Panels created with `createCustomPanel` should be modifiable by the user
and contain the model in the config. This was removed in a previous
commit of this feature branch, but it is not wanted. Revert this
precise change.

Note: eventually a better solution would be to allow this to be chosen
by the user in the advanced options dialog, but until then we leave it
as originally.
TaurusGui shows a message box to inform that the "safe mode" is used.
This is too obtrusive, specially for automated tests. Log an info
message in the console and show a short message in the status bar
instead.
@cpascual cpascual added this to the Jul20 milestone Jul 14, 2020
Carlos Pascual added 6 commits July 14, 2020 15:18
The only current implementation of tren2d is guiqwt-based,
and it does not support the "n" mode for the x_axis_mode option.
Instead it supports "e". Change it in the CLI definition.
Allow to use `-xn` with the same effect as `-xe` as
an option of trend2d
Carlos Pascual added 3 commits August 4, 2020 17:39
Numpy Array's tostring is a deprecated alias for tobytes
(also in py2.7). Use tobytes instead.
An out of place "exit" statement prevented the --config option
to work in the plot and trend subcommands. Fix it.
@cpascual
Copy link
Member Author

cpascual commented Aug 5, 2020

IMHO, this is ready to be released.

It would be great if other @taurus-org/integrators (specially from MAXIV, Solaris, Desy,.. ) review it and give a green light

@cpascual cpascual requested review from reszelaz, teresanunez and a team August 5, 2020 19:58
Carlos Pascual added 3 commits August 6, 2020 23:39
Add conda dir and meta.yaml file to create taurus conda packages
Indicate that taurus is supported for python>=2.7
- avoid using deprecated imp module (use importlib)
- avoid importing distutils
- stop supporting setuptools <20.2
- remove obsolete comments
@cpascual cpascual mentioned this pull request Aug 6, 2020
Carlos Pascual added 2 commits August 7, 2020 01:38
In py35, the pathlib.Path object cannot be used directly with
spec_from_file_location() and this breaks setup.py.
Fix by converting to a str with as_posix()
Use the taurus-org/publish-conda-action just implemented
in order to deploy to the taurus-org conda channel.
@cpascual cpascual removed request for a team, teresanunez and reszelaz August 7, 2020 17:26
@cpascual
Copy link
Member Author

cpascual commented Aug 7, 2020

Given the lack of availability from other @taurus-org/integrators during this release, I do not expect any review coming, and therefore it makes no sense to continue delaying it. I am going to merge without peer-review.

And please, have a look at #1140

@cpascual cpascual merged commit 6c3c5ff into master Aug 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants