projects
/
pandas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a0d61b
)
Use Python 3 shebangs and subprocess calls
author
Debian Science Team
<debian-science-maintainers@lists.alioth.debian.org>
Thu, 7 May 2020 10:57:06 +0000
(11:57 +0100)
committer
Rebecca N. Palmer
<rebecca_palmer@zoho.com>
Thu, 7 May 2020 10:57:06 +0000
(11:57 +0100)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name fix_shebangs.patch
ci/print_skipped.py
patch
|
blob
|
history
doc/make.py
patch
|
blob
|
history
doc/sphinxext/announce.py
patch
|
blob
|
history
pandas/core/computation/eval.py
patch
|
blob
|
history
pandas/tests/io/generate_legacy_storage_files.py
patch
|
blob
|
history
pandas/tests/io/test_compression.py
patch
|
blob
|
history
pandas/tests/plotting/common.py
patch
|
blob
|
history
scripts/download_wheels.py
patch
|
blob
|
history
scripts/generate_pip_deps_from_conda.py
patch
|
blob
|
history
scripts/validate_docstrings.py
patch
|
blob
|
history
setup.py
patch
|
blob
|
history
diff --git
a/ci/print_skipped.py
b/ci/print_skipped.py
index a44281044e11d0d652a4c0104ec7cb21bba8ca04..0ef66a8456decd67a3f3aac6873b86885f2084a4 100755
(executable)
--- a/
ci/print_skipped.py
+++ b/
ci/print_skipped.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
import os
import sys
diff --git
a/doc/make.py
b/doc/make.py
index 7dbc5efc610dffb6d1ff2fc6e4b2f0113e2d54e3..72e4204f405c9fe0848de9f38d6000816b22d41e 100755
(executable)
--- a/
doc/make.py
+++ b/
doc/make.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
"""
Python script for building documentation.
diff --git
a/doc/sphinxext/announce.py
b/doc/sphinxext/announce.py
index 1a5ab99b5a94f96e83773ce88863ee03873f6cd9..c78f72cd50c2337d151bbdc8ffe3bfb19e7f042d 100755
(executable)
--- a/
doc/sphinxext/announce.py
+++ b/
doc/sphinxext/announce.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
# -*- encoding:utf-8 -*-
"""
Script to generate contributor and pull request lists
diff --git
a/pandas/core/computation/eval.py
b/pandas/core/computation/eval.py
index 456ecf4b2594f4d04056378198ed31898b857839..9e5b37dd8208df391313f65a0c4fd4002b7a2c87 100644
(file)
--- a/
pandas/core/computation/eval.py
+++ b/
pandas/core/computation/eval.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
"""
Top level ``eval`` module.
diff --git
a/pandas/tests/io/generate_legacy_storage_files.py
b/pandas/tests/io/generate_legacy_storage_files.py
index 2d2938697bd80001ceb085d25ed41c209a7c3a4b..6fde2c604978959aa8e5fa818ab60e288568c7ed 100755
(executable)
--- a/
pandas/tests/io/generate_legacy_storage_files.py
+++ b/
pandas/tests/io/generate_legacy_storage_files.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
"""
self-contained to write legacy storage (pickle/msgpack) files
diff --git
a/pandas/tests/io/test_compression.py
b/pandas/tests/io/test_compression.py
index 16ca1109f266cc5e8e5f8d26aca592ec77768f55..ebcc0c28f12e79e4c1e6e03ae20737207f440696 100644
(file)
--- a/
pandas/tests/io/test_compression.py
+++ b/
pandas/tests/io/test_compression.py
@@
-139,7
+139,7
@@
def test_with_missing_lzma():
import pandas
"""
)
- subprocess.check_output(["python", "-c", code])
+ subprocess.check_output(["python
3
", "-c", code])
def test_with_missing_lzma_runtime():
@@
-156,4
+156,4
@@
def test_with_missing_lzma_runtime():
df.to_csv('foo.csv', compression='xz')
"""
)
- subprocess.check_output(["python", "-c", code])
+ subprocess.check_output(["python
3
", "-c", code])
diff --git
a/pandas/tests/plotting/common.py
b/pandas/tests/plotting/common.py
index 4929422d20e8a38ffed232f1f5795b63338fc7d4..d1ea3ed5bbf719c7fdc69be74ced5f9ae13c371a 100644
(file)
--- a/
pandas/tests/plotting/common.py
+++ b/
pandas/tests/plotting/common.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
# coding: utf-8
import os
diff --git
a/scripts/download_wheels.py
b/scripts/download_wheels.py
index 4ca1354321134969ee898f2a6f8134ac21f8e6e0..b7c5c27aa0e3c17fc79dfd7221a18d065e0da2c2 100644
(file)
--- a/
scripts/download_wheels.py
+++ b/
scripts/download_wheels.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
"""Fetch wheels from wheels.scipy.org for a pandas version."""
import argparse
import pathlib
diff --git
a/scripts/generate_pip_deps_from_conda.py
b/scripts/generate_pip_deps_from_conda.py
index ac73859b22598d053175a776bb2b300193b79615..997ea8010749b4b9ba30a0dfa6ebc6d1084fcbc0 100755
(executable)
--- a/
scripts/generate_pip_deps_from_conda.py
+++ b/
scripts/generate_pip_deps_from_conda.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
"""
Convert the conda environment.yml to the pip requirements-dev.txt,
or check that they have the same packages (for the CI)
diff --git
a/scripts/validate_docstrings.py
b/scripts/validate_docstrings.py
index 37623d32db685921942e6391e2e68a956c2777f3..c33565ff17772648c20d80f4263e71b902accec1 100755
(executable)
--- a/
scripts/validate_docstrings.py
+++ b/
scripts/validate_docstrings.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
"""
Analyze docstrings to detect errors.
diff --git
a/setup.py
b/setup.py
index 8cc60ba6352c285aa49a8d13aff617571a11557d..0e2e330f87d18f8d3aebb5029566b61e3ed25a8f 100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-1,4
+1,4
@@
-#!/usr/bin/env python
+#!/usr/bin/env python
3
"""
Parts of this file were taken from the pyzmq project