Closed Bug 915075 Opened 7 years ago Closed 7 years ago

tag-release.py still needs to work on Python 2.5 for ESR17

Categories

(Release Engineering :: Release Automation: Other, defect, P2)

x86
All
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nthomas, Assigned: nthomas)

References

Details

Attachments

(1 file)

Calling tag-release.py: /tools/python/bin/python tag-release.py -c mozilla/release-firefox-mozilla-esr17.py -b http://hg.mozilla.org/build/buildbot-configs -t FIREFOX_17_0_9esr_RELEASE
+ /tools/python/bin/python /builds/slave/rel-m-esr17-firefox_tag/scripts/scripts/release/tag-release.py -c mozilla/release-firefox-mozilla-esr17.py -b http://hg.mozilla.org/build/buildbot-configs -t FIREFOX_17_0_9esr_RELEASE
/builds/slave/rel-m-esr17-firefox_tag/scripts/scripts/release/../../lib/python/build/l10n.py:68: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
  File "/builds/slave/rel-m-esr17-firefox_tag/scripts/scripts/release/tag-release.py", line 20, in <module>
    from release.l10n import getL10nRepositories
  File "/builds/slave/rel-m-esr17-firefox_tag/scripts/scripts/release/../../lib/python/release/l10n.py", line 8, in <module>
    from build.l10n import getLocalesForChunk
  File "/builds/slave/rel-m-esr17-firefox_tag/scripts/scripts/release/../../lib/python/build/l10n.py", line 68
    with open(path.join(sourceRepoName, ".mozconfig"), "a") as mozconfig:
            ^
SyntaxError: invalid syntax
Assignee: nobody → nthomas
Priority: -- → P2
Summary: tag-release.sh still needs to work on Python 2.5 for ESR17 → tag-release.py still needs to work on Python 2.5 for ESR17
r+ from rail on IRC.

https://hg.mozilla.org/build/tools/rev/affb32b6958b retag of FIREFOX_17_0_9esr_{RELEASE,BUILD1}.
Attachment #802919 - Flags: review+
Attachment #802919 - Flags: checked-in+
Ahem, patching the right file, backing out error:
  https://hg.mozilla.org/build/tools/rev/29d5c694f567
Tagging completed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: 915356
You need to log in before you can comment on or make changes to this bug.