summaryrefslogtreecommitdiff
path: root/COPYRIGHT
AgeCommit message (Collapse)AuthorFilesLines
2022-01-12unparser: implement operator precedence algorithm for unparserTodd Gamblin1-4/+4
Backport operator precedence algorithm from here: https://github.com/python/cpython/commit/397b96f6d7a89f778ebc0591e32216a8183fe667 This eliminates unnecessary parentheses from our unparsed output and makes Spack's unparser consistent with the one in upstream Python 3.9+, with one exception. Our parser normalizes argument order when `py_ver_consistent` is set, so that star arguments in function calls come last. We have to do this because Python 2's AST doesn't have information about their actual order. If we ever support only Python 3.9 and higher, we can easily switch over to `ast.unparse`, as the unparsing is consistent except for this detail (modulo future changes to `ast.unparse`)
2022-01-12externals: add astunparseTodd Gamblin1-7/+11
Add `astunparse` as `spack_astunparse`. This library unparses Python ASTs and we're adding it under our own name so that we can make modifications to it. Ultimately this will be used to make `package_hash` consistent across Python versions.
2021-12-19externals: add `attrs` for new `jsonschema`Todd Gamblin1-0/+4
Updating `jsonschema` to 3.2.0 requires `attrs`. Add it to externals.
2021-12-19externals: add `pyrsistent` for new `jsonschema`Todd Gamblin1-0/+4
Updating `jsonschema` to 3.2.0 requires `pyrsistent`. Adding just the pieces of it that are needed for `jsonschema`.
2021-12-19externals: add `functools32` for new `jsonschema`Todd Gamblin1-2/+2
Updating `jsonschema` to 3.2.0 requires `functools32`, just for Python 2.
2020-10-28sbang: vendor sbangTodd Gamblin1-3/+9
`sbang` now lives at https://github.com/spack/sbang, and it has its own test suite that's more extensive than what's in Spack. We'll leave sbang tests to sbang from now on, and just vendor `bin/sbang` directly. Remaining `sbang` tests have to do with patching files, not with `sbang`'s functionality. This update also fixes a bug with `sbang` and multiple command line arguments that was introduced in #19529. See: * https://github.com/spack/sbang/pull/1 * https://github.com/spack/sbang/pull/2 - [x] include latest `sbang` from https://github.com/spack/sbang - [x] remove old `sbang` tests from Spack - [x] update `COPYRIGHT` and `cmd/license.py`
2019-12-24tests: finish removing pyqver from the repository (#14294)Todd Gamblin1-4/+0
Remove a few remaining mentions of the pyqver package, which was removed in #14289.
2019-09-26External: add macholib and altgraph needed to relocate Mach-o binaries on ↵Patrick Gartung1-0/+8
Linux (#12909)
2018-10-17relicense: update COPYRIGHT, LICENSE-*, README, CONTRIBUTING, and NOTICETodd Gamblin1-0/+85
This updates Spack's top-level metadata files to reflect the new Apache-2.0 and MIT licenses.