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

[py2py3] Migration at level scr/python/A/B/C - slice 8 #10289

Merged
merged 2 commits into from
Feb 19, 2021

Conversation

mapellidario
Copy link
Member

@mapellidario mapellidario commented Feb 16, 2021

Fixes #10132

Status

In development

Related PRs

Description

Run futurize and some manual changes on the first batch of src/python/A/B/C.

Strings:

Is it backward compatible (if not, which system it affects?)

It should be. (Any possible cause for errors will we reported here)

External dependencies / deployment changes

Requires python-future in both py2 and py3 environments.

@cmsdmwmbot

This comment has been minimized.

@cmsdmwmbot

This comment has been minimized.

@cmsdmwmbot

This comment has been minimized.

@cmsdmwmbot

This comment has been minimized.

@cmsdmwmbot

This comment has been minimized.

@cmsdmwmbot

This comment has been minimized.

@mapellidario
Copy link
Member Author

Test this please

@cmsdmwmbot

This comment has been minimized.

@cmsdmwmbot
Copy link

Jenkins results:

  • Unit tests: succeeded
  • Pylint check: failed
    • 24 warnings and errors that must be fixed
    • 2 warnings
    • 195 comments to review
  • Pylint py3k check: succeeded
    • 0 errors and warnings that should be fixed
    • 0 warnings
    • 0 comments to review
  • Pycodestyle check: succeeded
    • 292 comments to review
  • Python3 compatibility checks: succeeded

Details at https://cmssdt.cern.ch/dmwm-jenkins/view/All/job/DMWM-WMCore-PR-test/11246/artifact/artifacts/PullRequestReport.html

Copy link
Contributor

@amaltaro amaltaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dario, I made a couple of comments in the code which I believe it needs updating. However, please do let me know if I missed something.

This DBS3Reader module is sort of a DBS2 + DBS3 functionality, making things very confusing and possible outdated... Hopefully things will work out of the box here ;)

@mapellidario
Copy link
Member Author

In any case, I am super-worried of how DBS3Reader manages strings, this is why I created #10293. This will need follow-up, especially when we will switch to py3

mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 8, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 8, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 8, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 8, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 8, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 8, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 9, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 9, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 9, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 10, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 10, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 10, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 10, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 10, 2021
mapellidario added a commit to mapellidario/WMCore that referenced this pull request Jun 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
py2py3 slice Issue related to slicing the modernization to py2py3 Python3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[py2py3] Migration at level scr/python/A/B/C - slice 8
3 participants