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

Remove rez.utils.py23 and cleanup more python 2.7 leftovers #1678

Merged
merged 7 commits into from
Mar 8, 2024

Conversation

wandth
Copy link
Contributor

@wandth wandth commented Mar 6, 2024

Fixes #1646

  1. remove py23 module & move its test to test_util.py
  2. remove __nonzero__

@wandth wandth requested a review from a team as a code owner March 6, 2024 08:12
Copy link
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso left a comment

Choose a reason for hiding this comment

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

Thanks again @wandth. I left two small comments. It should hopefully be the last comments.

(you can push new commits to this pull request instead of closing and opening new pull requests to address my comments).

src/rez/util.py Outdated Show resolved Hide resolved
src/rez/utils/platform_.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Attention: Patch coverage is 92.00000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 58.05%. Comparing base (153bd87) to head (9a21f64).

Files Patch % Lines
src/rez/package_cache.py 0.00% 0 Missing and 1 partial ⚠️
src/rez/utils/memcached.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1678      +/-   ##
==========================================
+ Coverage   58.03%   58.05%   +0.01%     
==========================================
  Files         127      126       -1     
  Lines       17069    17035      -34     
  Branches     3496     3490       -6     
==========================================
- Hits         9906     9889      -17     
+ Misses       6496     6482      -14     
+ Partials      667      664       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

wandth added 6 commits March 8, 2024 10:00
Signed-off-by: wwn <1506514799@qq.com>
Signed-off-by: wwn <1506514799@qq.com>
Signed-off-by: wwn <1506514799@qq.com>
Signed-off-by: wwn <1506514799@qq.com>
Signed-off-by: wwn <1506514799@qq.com>
Signed-off-by: wwn <1506514799@qq.com>
src/rez/util.py Outdated Show resolved Hide resolved
src/rez/util.py Outdated Show resolved Hide resolved
Signed-off-by: Jean-Christophe Morin <38703886+JeanChristopheMorinPerso@users.noreply.github.com>
@JeanChristopheMorinPerso JeanChristopheMorinPerso changed the title Py2 clean Remove rez.utils.py23 and cleanup more python 2.7 leftovers Mar 8, 2024
@JeanChristopheMorinPerso JeanChristopheMorinPerso merged commit dc2c777 into AcademySoftwareFoundation:main Mar 8, 2024
53 checks passed
@JeanChristopheMorinPerso JeanChristopheMorinPerso added this to the Next milestone Mar 8, 2024
Pixel-Minions added a commit to Pixel-Minions/rez that referenced this pull request Sep 26, 2024
…oftwareFoundation#1678)

* remove rez.utils.py23 module
* remove some more __nonzero__ methods

---------

Signed-off-by: wwn <1506514799@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove rez.utils.py23
2 participants