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
[Trigger CI] Streamline some test setup. #1494
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Handle bootstrap options properly: Previously we were using the 'real' bootstrap option values, as set in pants.ini or whatever. Now we set the bootstrap option values the same as any other option - by capturing the default values, and then overriding those with any options specified in the test being run. This improves test isolation, as tests will no longer have access to real values by default. - Get rid of some weird logic around linking ivy support files. It's not necessary, since we link the entire ivy support directory anyway. - Don't bring in every registered BUILD file symbol and every source_root in every JvmToolTask test. Each test now brings in just what it needs.
asherf
added a commit
to asherf/pants
that referenced
this pull request
May 11, 2020
Running Pygments on Python 2.x is no longer supported. (The Python 2 lexer still exists.) Added lexers: Linux kernel logs (PR#1310) LLVM MIR (PR#1361) MiniScript (PR#1397) Mosel (PR#1287, PR#1326) Parsing Expression Grammar (PR#1336) ReasonML (PR#1386) Ride (PR#1319, PR#1321) Sieve (PR#1257) USD (PR#1290) WebIDL (PR#1309) Erlang, Elixir shells (PR#823, pantsbuild#1521) Notmuch (PR#1264) Scdoc (PR#1268) Solidity (pantsbuild#1214) Zeek (new name for Bro) (PR#1269) Zig (PR#820) Email (PR#1246) Augeas (PR#807) BBC Basic (PR#806) Boa (PR#756) Charm++ CI (PR#788) DASM16 (PR#807) FloScript (PR#750) FreeFem++ (PR#785) Hspec (PR#790) Pony (PR#627) SGF (PR#780) Slash (PR#807) Slurm (PR#760) Tera Term Language (PR#749) TOML (PR#807) Unicon (PR#731) VBScript (PR#673) Updated lexers: Apache2 (PR#1378) Chapel (PR#1357) CSound (PR#1383, PR#1250) D (PR#1375, PR#1362) Idris (PR#1360) Perl6/Raku lexer (PR#1344) Python3 (PR#1382, PR#1385, PR#1255, PR#1400) Apache2 Configuration (PR#1251) Bash sessions (pantsbuild#1253) Dart Dockerfile Emacs Lisp Handlebars (PR#773) Java (pantsbuild#1101, pantsbuild#987) Logtalk (PR#1261) Matlab (PR#1271) Praat (PR#1277) Ruby YAML (pantsbuild#1528) Velocity Coq (pantsbuild#1430) MSDOS Session (PR#734) NASM (pantsbuild#1517) Objective-C (PR#813, pantsbuild#1508) Prolog (pantsbuild#1511) TypeScript (pantsbuild#1515) Apache2 (PR#766) Cypher (PR#746) LLVM (PR#792) Makefiles (PR#766) PHP (pantsbuild#1482) Rust SQL (PR#672) Stan (PR#774) Stata (PR#800) Terraform (PR#787) Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous new syntax (PR#1320) * SQL: Add temporal support keywords (PR#1402) The 256-color/true-color terminal formatters now support the italic attribute in styles (PR#1288) Support HTTP 2/3 header (PR#1308) Support missing reason in HTTP header (PR#1322) Boogie/Silver: support line continuations and triggers, move contract keywords to separate category (PR#1299) GAS: support C-style comments (PR#1291) Fix names in S lexer (PR#1330, PR#1333) Fix numeric literals in Ada (PR#1334) Recognize .mjs files as Javascript (PR#1392) Recognize .eex files as Elixir (PR#1387) Fix re.MULTILINE usage (PR#1388) Recognize pipenv and poetry dependency & lock files (PR#1376) Improve font search on Windows (pantsbuild#1247) Remove unused script block (pantsbuild#1401) Fix incompatibility with some setuptools versions (PR#1316) Fix lexing of ReST field lists (PR#1279) Fix lexing of Matlab keywords as field names (PR#1282) Recognize double-quoted strings in Matlab (PR#1278) Avoid slow backtracking in Vim lexer (PR#1312) Fix Scala highlighting of types (PR#1315) Highlight field lists more consistently in ReST (PR#1279) Fix highlighting Matlab keywords in field names (PR#1282) Recognize Matlab double quoted strings (PR#1278) Add some Terraform keywords Update Modelica lexer to 3.4 Update Crystal examples Added styles: Inkpot (PR#1276) The PythonLexer class is now an alias for the former Python3Lexer. The old PythonLexer is available as Python2Lexer. Same change has been done for the PythonTracebackLexer. The python3 option for the PythonConsoleLexer is now true by default. Bump NasmLexer priority over TasmLexer for .asm files (fixes pantsbuild#1326) Default font in the ImageFormatter has been updated (pantsbuild#928, PR#1245) Test suite switched to py.test, removed nose dependency (pantsbuild#1490) Reduce TeraTerm lexer score – it used to match nearly all languages (pantsbuild#1256) Treat Skylark/Starlark files as Python files (PR#1259) Image formatter: actually respect line_number_separator option Add LICENSE file to wheel builds Agda: fix lambda highlighting Dart: support @ annotations Dockerfile: accept FROM ... AS syntax Emacs Lisp: add more string functions GAS: accept registers in directive arguments Java: make structural punctuation (braces, parens, colon, comma) Punctuation, not Operator (pantsbuild#987) Java: support var contextual keyword (pantsbuild#1101) Matlab: Fix recognition of function keyword (PR#1271) Python: recognize .jy filenames (pantsbuild#976) Python: recognize f string prefix (pantsbuild#1156) Ruby: support squiggly heredocs Shell sessions: recognize Virtualenv prompt (PR#1266) Velocity: support silent reference syntax Fix encoding error when guessing lexer with given encoding option (pantsbuild#1438) Support CSS variables in stylesheets (PR#814, pantsbuild#1356) Fix F# lexer name (PR#709) Fix TerminalFormatter using bold for bright text (pantsbuild#1480) Add solarized style (PR#708) Add support for Markdown reference-style links (PR#753) Add license information to generated HTML/CSS files (pantsbuild#1496) Change ANSI color names (PR#777) Fix catastrophic backtracking in the bash lexer (pantsbuild#1494) Fix documentation failing to build using Sphinx 2.0 (pantsbuild#1501) Fix incorrect links in the Lisp and R lexer documentation (PR#775) Fix rare unicode errors on Python 2.7 (PR#798, pantsbuild#1492) Fix lexers popping from an empty stack (pantsbuild#1506) TypoScript uses .typoscript now (pantsbuild#1498) Updated Trove classifiers and pip requirements (PR#799)
jsirois
pushed a commit
that referenced
this pull request
May 11, 2020
Running Pygments on Python 2.x is no longer supported. (The Python 2 lexer still exists.) Added lexers: Linux kernel logs (PR#1310) LLVM MIR (PR#1361) MiniScript (PR#1397) Mosel (PR#1287, PR#1326) Parsing Expression Grammar (PR#1336) ReasonML (PR#1386) Ride (PR#1319, PR#1321) Sieve (PR#1257) USD (PR#1290) WebIDL (PR#1309) Erlang, Elixir shells (PR#823, #1521) Notmuch (PR#1264) Scdoc (PR#1268) Solidity (#1214) Zeek (new name for Bro) (PR#1269) Zig (PR#820) Email (PR#1246) Augeas (PR#807) BBC Basic (PR#806) Boa (PR#756) Charm++ CI (PR#788) DASM16 (PR#807) FloScript (PR#750) FreeFem++ (PR#785) Hspec (PR#790) Pony (PR#627) SGF (PR#780) Slash (PR#807) Slurm (PR#760) Tera Term Language (PR#749) TOML (PR#807) Unicon (PR#731) VBScript (PR#673) Updated lexers: Apache2 (PR#1378) Chapel (PR#1357) CSound (PR#1383, PR#1250) D (PR#1375, PR#1362) Idris (PR#1360) Perl6/Raku lexer (PR#1344) Python3 (PR#1382, PR#1385, PR#1255, PR#1400) Apache2 Configuration (PR#1251) Bash sessions (#1253) Dart Dockerfile Emacs Lisp Handlebars (PR#773) Java (#1101, #987) Logtalk (PR#1261) Matlab (PR#1271) Praat (PR#1277) Ruby YAML (#1528) Velocity Coq (#1430) MSDOS Session (PR#734) NASM (#1517) Objective-C (PR#813, #1508) Prolog (#1511) TypeScript (#1515) Apache2 (PR#766) Cypher (PR#746) LLVM (PR#792) Makefiles (PR#766) PHP (#1482) Rust SQL (PR#672) Stan (PR#774) Stata (PR#800) Terraform (PR#787) Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous new syntax (PR#1320) * SQL: Add temporal support keywords (PR#1402) The 256-color/true-color terminal formatters now support the italic attribute in styles (PR#1288) Support HTTP 2/3 header (PR#1308) Support missing reason in HTTP header (PR#1322) Boogie/Silver: support line continuations and triggers, move contract keywords to separate category (PR#1299) GAS: support C-style comments (PR#1291) Fix names in S lexer (PR#1330, PR#1333) Fix numeric literals in Ada (PR#1334) Recognize .mjs files as Javascript (PR#1392) Recognize .eex files as Elixir (PR#1387) Fix re.MULTILINE usage (PR#1388) Recognize pipenv and poetry dependency & lock files (PR#1376) Improve font search on Windows (#1247) Remove unused script block (#1401) Fix incompatibility with some setuptools versions (PR#1316) Fix lexing of ReST field lists (PR#1279) Fix lexing of Matlab keywords as field names (PR#1282) Recognize double-quoted strings in Matlab (PR#1278) Avoid slow backtracking in Vim lexer (PR#1312) Fix Scala highlighting of types (PR#1315) Highlight field lists more consistently in ReST (PR#1279) Fix highlighting Matlab keywords in field names (PR#1282) Recognize Matlab double quoted strings (PR#1278) Add some Terraform keywords Update Modelica lexer to 3.4 Update Crystal examples Added styles: Inkpot (PR#1276) The PythonLexer class is now an alias for the former Python3Lexer. The old PythonLexer is available as Python2Lexer. Same change has been done for the PythonTracebackLexer. The python3 option for the PythonConsoleLexer is now true by default. Bump NasmLexer priority over TasmLexer for .asm files (fixes #1326) Default font in the ImageFormatter has been updated (#928, PR#1245) Test suite switched to py.test, removed nose dependency (#1490) Reduce TeraTerm lexer score – it used to match nearly all languages (#1256) Treat Skylark/Starlark files as Python files (PR#1259) Image formatter: actually respect line_number_separator option Add LICENSE file to wheel builds Agda: fix lambda highlighting Dart: support @ annotations Dockerfile: accept FROM ... AS syntax Emacs Lisp: add more string functions GAS: accept registers in directive arguments Java: make structural punctuation (braces, parens, colon, comma) Punctuation, not Operator (#987) Java: support var contextual keyword (#1101) Matlab: Fix recognition of function keyword (PR#1271) Python: recognize .jy filenames (#976) Python: recognize f string prefix (#1156) Ruby: support squiggly heredocs Shell sessions: recognize Virtualenv prompt (PR#1266) Velocity: support silent reference syntax Fix encoding error when guessing lexer with given encoding option (#1438) Support CSS variables in stylesheets (PR#814, #1356) Fix F# lexer name (PR#709) Fix TerminalFormatter using bold for bright text (#1480) Add solarized style (PR#708) Add support for Markdown reference-style links (PR#753) Add license information to generated HTML/CSS files (#1496) Change ANSI color names (PR#777) Fix catastrophic backtracking in the bash lexer (#1494) Fix documentation failing to build using Sphinx 2.0 (#1501) Fix incorrect links in the Lisp and R lexer documentation (PR#775) Fix rare unicode errors on Python 2.7 (PR#798, #1492) Fix lexers popping from an empty stack (#1506) TypoScript uses .typoscript now (#1498) Updated Trove classifiers and pip requirements (PR#799)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
the 'real' bootstrap option values, as set in pants.ini or whatever.
Now we set the bootstrap option values the same as any other option -
by capturing the default values, and then overriding those with any options
specified in the test being run. This improves test isolation, as tests
will no longer have access to real values by default.
It's not necessary, since we link the entire ivy support directory anyway.
JvmToolTask test. Each test now brings in just what it needs.