Closed Bug 1044116 Opened 12 years ago Closed 12 years ago

Upgrade mercurial version 2.5.3 -> 2.6.3 for running unit tests (in requirements.txt)

Categories

(Release Engineering :: Applications: MozharnessCore, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pmoore, Assigned: pmoore)

Details

Attachments

(1 file)

I'm setting up unit testing for vcs sync in mozharness. In order to set up unit tests to run locally, I ran: pip install -r requirements.txt from the top level mozharness directory. However, the requirements.txt file references mercurial version 2.5.3, which is no longer available on pypi.python.org: $ pip install -v mercurial-2.5.3 Downloading/unpacking mercurial-2.5.3 Could not fetch URL https://pypi.python.org/simple/mercurial-2.5.3/: HTTP Error 404: Not Found .... .... DistributionNotFound: No distributions at all found for mercurial-2.5.3 The version we are using in vcs sync is 2.6.3, e.g.: http://hg.mozilla.org/build/mozharness/file/1e967aaaa3b0/configs/vcs_sync/beagle.py#l586 Therefore I'd like to upgrade the version in the requirements.txt file from 2.5.3 -> 2.6.3 also. Pete
Assignee: nobody → pmoore
Status: NEW → ASSIGNED
Attachment #8462701 - Flags: review?(escapewindow+mozbugs)
Comment on attachment 8462701 [details] [diff] [review] bug1044116_mozharness_v1.patch Try it. There may be some unit.sh errors due to the code assuming an older hg, but really those are bugs that should be fixed. My mozharness venv has hg 1.7.3, which passes all tests. I've been thinking about getting it hg bleeding-edge compatible, but never needed to prioritize that.
Attachment #8462701 - Flags: review?(escapewindow+mozbugs) → review+
Thanks Aki! Seems to pass ok: (mozharness-tests)pmoore@Elisandra:~/git/mozharness master $ ./unit.sh ### Finding mozharness/ .py files... ### Finding scripts/ .py files... ### Running pyflakes mozharness/base/vcs/mercurial.py:47: list comprehension redefines 'p' from line 42 ### Running pylint ### Testing non-networked unit tests ..................................................S.......S........................................................................................................... ---------------------------------------------------------------------- Ran 166 tests in 54.694s OK (SKIP=2) ### Running *.py [--list-actions] ### Running scripts/configtest.py --log-level warning ### Creating coverage html So I'll land the change... Pete
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: