Page MenuHomeSolus

python-babel: update to 2.4.0 and enable py3
ClosedPublic

Authored by joebonrichie on May 28 2017, 1:11 AM.
Tags
None
Referenced Files
F11022152: D233.diff
Mon, Aug 7, 9:24 PM
F11005636: D233.diff
Tue, Aug 1, 8:54 AM
F10866624: D233.diff
Jun 17 2023, 4:28 PM
F10825271: D233.diff
Jun 3 2023, 11:29 PM
F10804682: D233.diff
May 29 2023, 5:14 PM
F10803816: D233.id488.diff
May 29 2023, 1:33 PM
F10803777: D233.id853.diff
May 29 2023, 1:22 PM
F10803690: D233.id1162.diff
May 29 2023, 1:02 PM
Subscribers
Time Spent
Justin322 w, 6 d, 11 h

Details

Summary

This is a required rundep of sphinx. Python 3 support was needed for sphinx py3.

Test Plan

building documentation with sphinx is successful

Diff Detail

Repository
R2556 python-babel
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Justin requested changes to this revision.May 31 2017, 2:52 AM

solbuild failed:

running import_cldr
Traceback (most recent call last):

File "/home/build/YPKG/root/python-babel/build/babel-2.3.4/scripts/import_cldr.py", line 33, in <module>
  from babel import dates, numbers
File "/home/build/YPKG/root/python-babel/build/babel-2.3.4/babel/dates.py", line 23, in <module>
  import pytz as _pytz

ImportError: No module named 'pytz'
Traceback (most recent call last):

File "scripts/download_import_cldr.py", line 104, in <module>
  main()
File "scripts/download_import_cldr.py", line 100, in main
  common_path])
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
  raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/usr/bin/python3', '/home/build/YPKG/root/python-babel/build/babel-2.3.4/scripts/import_cldr.py', '/home/build/YPKG/root/python-babel/build/babel-2.3.4/cldr/core-28/common']' returned non-zero exit status 1
Traceback (most recent call last):

File "setup.py", line 94, in <module>
  """
File "/usr/lib/python3.5/distutils/core.py", line 148, in setup
  dist.run_commands()
File "/usr/lib/python3.5/distutils/dist.py", line 955, in run_commands
  self.run_command(cmd)
File "/usr/lib/python3.5/distutils/dist.py", line 974, in run_command
  cmd_obj.run()
File "setup.py", line 27, in run
  subprocess.check_call([sys.executable, 'scripts/download_import_cldr.py'])
File "/usr/lib/python3.5/subprocess.py", line 581, in check_call
  raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command '['/usr/bin/python3', 'scripts/download_import_cldr.py']' returned non-zero exit status 1
Command '['/bin/bash', '--norc', '--noprofile', '/tmp/ypkg-buildtt3nRM']' returned non-zero exit status 1
[Build] build failed

This revision now requires changes to proceed.May 31 2017, 2:52 AM

Added an updated python-pytz built with py3 to the stack.

joebonrichie edited edge metadata.
joebonrichie retitled this revision from python-babel: enable python3 support to python-babel: update to 2.4.0 and enable py3.

Updated babel to 2.4.0

Should be good to go now, sorry for the inconvenience.

This revision is now accepted and ready to land.Jun 15 2017, 3:51 AM
Justin requested changes to this revision.Jun 15 2017, 3:57 AM
Justin added inline comments.
package.yml
19

You've removed core.zip from the sources so this is no longer working.

This revision now requires changes to proceed.Jun 15 2017, 3:57 AM
joebonrichie edited edge metadata.

Readded cldr to sources (derp) and updated it to version 29

This revision is now accepted and ready to land.Jul 2 2017, 2:37 AM
This revision was automatically updated to reflect the committed changes.