Commit Graph

9283 Commits

Author SHA1 Message Date
Takeshi KOMIYA
d24ccb8557 Merge pull request #4161 from tony/patch-2
Typo
2017-10-18 21:26:39 +09:00
Takeshi KOMIYA
8141b950b5 Merge pull request #4164 from jdufresne/cache
Enable pip cache in Travis CI
2017-10-18 21:26:16 +09:00
Jon Dufresne
90279d4cf9 Enable pip cache in Travis CI
Can speed up builds and reduce load on PyPI servers.

For more information, see:

https://docs.travis-ci.com/user/caching/#pip-cache
2017-10-17 20:26:17 -07:00
Tony Narlock
ee24592905 Typo 2017-10-17 12:36:12 -05:00
Takeshi KOMIYA
c743df4f60 Merge pull request #4160 from kvalev/incorrect-return-code
The exit code for 'python -msphinx' is incorrect
2017-10-18 01:49:47 +09:00
Takeshi KOMIYA
cfa2eff733 Merge pull request #4120 from stephenfin/the-great-toxification-4
The great toxification (part 4)
2017-10-18 01:48:45 +09:00
Krassimir Valev
028198bae0 The exit code for 'python -msphinx' is incorrect
The exit code was always 0, even if there were warnings and the -W
flag was set.
2017-10-17 14:15:00 +02:00
Takeshi KOMIYA
3369d9a03a Merge branch 'stable' 2017-10-16 21:03:38 +09:00
Takeshi KOMIYA
d898613aab Update CHANGES for PR #4140 2017-10-16 21:03:32 +09:00
Takeshi KOMIYA
30a9cb0dd8 Merge pull request #4140 from Blendify/patch-1
Theme: Move body tag into a block
2017-10-16 21:01:37 +09:00
Takeshi KOMIYA
c39459ea7a Merge pull request #4155 from jdufresne/wheel-license
Include license file in the generated wheel package
2017-10-16 14:07:00 +09:00
Takeshi KOMIYA
527f2ad30f Merge pull request #4154 from jdufresne/bdist-wheel
Rename [wheel] section to [bdist_wheel] as the former is legacy
2017-10-16 13:38:41 +09:00
Jon Dufresne
c53dc54a30 Include license file in the generated wheel package
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:

https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
2017-10-15 19:40:10 -07:00
Jon Dufresne
327e6f27fb Rename [wheel] section to [bdist_wheel] as the former is legacy
For additional details, see:

54ddbcc9ce/wheel/bdist_wheel.py (bdist_wheel.py-119):125

http://pythonwheels.com/
2017-10-15 19:33:10 -07:00
Takeshi KOMIYA
6e38c574f2 Update CHANGES for PR #4152 2017-10-16 10:38:17 +09:00
Takeshi KOMIYA
d530282f0d Merge pull request #4152 from regebro/lregebro-4145
Initialize _fieldlist_row_index just like _table_row_index (based on stable)
2017-10-16 10:34:36 +09:00
Lennart Regebro
2b1c1e657a Initialize _fieldlist_row_index just like _table_row_index
visit_field can be called before visit_field_list if the field list is at the beginning of the document.
By initializing _fieldlist_row_index in __init__ this is supported.

Closes #4145
2017-10-15 06:08:43 -04:00
Takeshi KOMIYA
f783eb1ffa Merge pull request #4138 from peterjc/unexpt_node_name
Cope with List node_name in get_lvar_namesl
2017-10-13 23:04:44 +09:00
Takeshi KOMIYA
c9bb1b2743 Update CHANGES for PR #4147 2017-10-13 23:00:55 +09:00
Campbell Barton
6f2b8a1f55 Minor update 2017-10-13 23:00:22 +09:00
Campbell Barton
ae3e39a546 Include the exception when logging
Without this there is no way to troubleshoot why (read/write)_po fails.
2017-10-13 23:00:22 +09:00
Takeshi KOMIYA
f746959bbd Merge pull request #4147 from ideasman42/patch-1
Include the exception when logging PO/MO file read/write
2017-10-13 22:55:45 +09:00
Peter Cock
11d84b7895 pycode tests for multiple assignment via tuple/list 2017-10-13 14:21:13 +01:00
Campbell Barton
7d2801e1e9 Minor update 2017-10-13 23:56:53 +11:00
Peter Cock
542ca21837 Improve exception when parsing a Python file fails. 2017-10-13 13:23:59 +01:00
Campbell Barton
5fdad7b3a7 Include the exception when logging
Without this there is no way to troubleshoot why (read/write)_po fails.
2017-10-13 16:10:44 +11:00
Takeshi KOMIYA
87e39a5080 Merge pull request #4141 from hugovk/patch-1
Update classifiers with supported versions
2017-10-11 23:39:33 +09:00
Hugo
dd91df0be2 Update classifiers with supported versions 2017-10-11 17:16:15 +03:00
Aaron Carlisle
61fe8b04cc Theme: Move body tag into a block
Sometimes users might want to override this tag to include custom information such as `id`s e.g:

`<body id="page-top">`

Can be done with `{%- block body_tag %}<body id="page-top">{% endblock %}`
2017-10-10 17:59:47 -04:00
Peter Cock
cc89093777 Treat lists like tuples in AST function get_lvar_namesl 2017-10-10 16:26:28 +01:00
Peter Cock
350f196c4f Report the unimplemented node_name in exception 2017-10-10 16:23:38 +01:00
Stephen Finucane
67753b7ce3 Remove 'test-reqs.txt'
We were never really using this file for its specified purpose [1]. Now
that we have everything cleanly organized in 'setup.py', there really
isn't any reason to keep it around. Remove it.

[1] https://caremad.io/posts/2013/07/setup-vs-requirement/

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-10 14:13:09 +01:00
Stephen Finucane
eb8efce7d8 requirements: Reduce duplication
Simply installing packages will ensure that most of the dependencies in
'setup.py' are installed, meaning 'test-reqs.txt' need only contain
those necessary for testing.

The only notable change is that the 'simplejson' module is dropped from
the requirements list. This included as a dependency for the PyPy
target, but it appears that this is not necessary today (though it may
have been when the target was added in 2011).

This retains 'setup.py test' which, as noted in the tox docs [1], is
sometimes expected for downstream distribution testing. We may wish to
find a way to synchronize requirements between 'test-reqs.txt' and this
section in the future, but that's work for another day.

[1] https://tox.readthedocs.io/en/latest/example/basic.html#integration-with-setup-py-test-command

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-10 14:06:10 +01:00
Stephen Finucane
dbd58d4c51 setup.py: Stop caring about pip 1.5.6
This version is silly old and anyone that's _still_ using this is not
going to be building Sphinx from source. Simply remove it.

Signed-off-by: Stephen Finucane <stephen@that.guru>
2017-10-10 14:03:48 +01:00
Takeshi KOMIYA
8fb03f5967 Merge pull request #4113 from funkyfuture/tests
Some testing related enhancements
2017-10-10 20:29:51 +09:00
Takeshi KOMIYA
4faa727368 Update CHANGES for PR #4125 2017-10-10 20:00:54 +09:00
Takeshi KOMIYA
e8dc07e44b Merge pull request #4125 from cocoatomo/translation-inconsistency-warning
Display reference texts of original and translated passages
2017-10-10 19:58:06 +09:00
Takeshi KOMIYA
36300dcb18 Merge branch 'master' into tests 2017-10-10 19:55:46 +09:00
Takeshi KOMIYA
3f72683827 Merge pull request #4118 from stephenfin/the-great-toxification-2
The great toxification (part 2)
2017-10-10 19:54:09 +09:00
Takeshi KOMIYA
d699fa66a6 Merge pull request #4117 from stephenfin/the-great-toxification-1
The great toxification (part 1)
2017-10-10 19:50:35 +09:00
Frank Sachsenheim
990de5799a Adds a note about passing args to pytest. 2017-10-09 22:37:27 +02:00
Frank Sachsenheim
b2959a91c5 Makefile: Adds a target to build docs from the root dir. 2017-10-09 22:37:27 +02:00
Frank Sachsenheim
26796f6985 Makefile: Makes PHONY statements more maintainable. 2017-10-09 22:14:51 +02:00
Takeshi KOMIYA
75759053ca Merge pull request #4128 from tk0miya/1448_qthelp_namespace
Add qthelp_namespace
2017-10-09 01:38:31 +09:00
Takeshi KOMIYA
1292089255 Close #1448: qthelp: Add new config value; qthelp_namespace 2017-10-08 23:22:56 +09:00
Takeshi KOMIYA
2839fc5f68 Update docs (refs: #1448) 2017-10-08 13:15:43 +09:00
cocoatomo
35d10033c2 Add (optional) u prefixes for Python 2.7 2017-10-08 01:55:53 +09:00
cocoatomo
73fd3f90bf Wrap the line too long 2017-10-08 01:29:07 +09:00
cocoatomo
ff88c8b730 Display reference texts of original and translated messages 2017-10-08 00:06:00 +09:00
Takeshi KOMIYA
46bf9ab4a0 Fix #3692: Unable to build HTML if writing .buildinfo failed 2017-10-07 23:37:45 +09:00