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 additional python 2.7 leftover. #1425

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

KSchopmeyer
Copy link
Contributor

@KSchopmeyer KSchopmeyer commented Sep 23, 2024

Removes another couple of things involving python 2.7

  1. Test that was specialized for python 2.7 on windows because of issue with click 7.1.2, Issue 1590. Removed limitation so that these tests are run also for windows.
  2. Remove reference to python 2.7

Removing the py2.7 test code that bypassed tied to issue #1590 where we were skipping tests many pywbemcli_cimoperations.py tests on windows showed a potential problem in windows where pywbemcli may not be correctly making the decision to rebuild the cache when the cache md5 values do not match. See below.

E ---- Actual stdout:
E Mock environment for connection definition 'test_build_mockenv' has been loaded from cache.
E
E ---- Expected line (regexp):
E Mock environment .* will be rebuilt because the mock files have changed.
E ---- End

however this passes test in local windows tests. I disabled this one test and filed issue #1440 rather than block this whole change.

@KSchopmeyer KSchopmeyer self-assigned this Sep 23, 2024
@KSchopmeyer KSchopmeyer added this to the 1.4.0 milestone Sep 23, 2024
@KSchopmeyer KSchopmeyer force-pushed the ks/#more-py27-removal branch from 68aaaac to 2d2a174 Compare October 27, 2024 19:24
@andy-maier
Copy link
Contributor

andy-maier commented Oct 28, 2024

Karl, can you please rebase this PR on the latest master? That should solve the issues.

DONE: ks

Removes another couple of things involving python 2.7

1. Test that was specialized for python 2.7 on windows, Issue 1590
2. Reference to python 2.7 in pywbem_server
3. Remove tests/unit/pywbemcli/test_python_tell.py - This test was
   created to confirm that there were no issues between the tell()
   function on windows with python 2.7 and to verify that
   test_build_mockenv() works. With the removal of python 2.7 as
   a platform, this test is no longer necessary.
4. version doc that used python 2.7.11 as example in tools.

Note that one test in test_pywbemcli_operations.py from the group
that was disabled because of a windows issue is still marked
disabled because that test fails.  See issue #1440.
@KSchopmeyer KSchopmeyer force-pushed the ks/#more-py27-removal branch from b995dc5 to 8d15d22 Compare October 29, 2024 01:32
@coveralls
Copy link

Coverage Status

coverage: 92.866% (-0.05%) from 92.912%
when pulling 8d15d22 on ks/#more-py27-removal
into ee84735 on master.

@andy-maier andy-maier merged commit f4134a0 into master Nov 4, 2024
14 checks passed
@andy-maier andy-maier deleted the ks/#more-py27-removal branch November 4, 2024 16:46
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.

3 participants