From: Debian Science Team Date: Sun, 27 Oct 2019 11:38:37 +0000 (+0000) Subject: fix_shebangs X-Git-Tag: archive/raspbian/0.25.3+dfsg2-2+rpi1~1^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=95c5dbb0b86d6eeed0b2aa7926c56be90bd662e8;p=pandas.git fix_shebangs The bug was in pandas/tests/io/generate_legacy_storage_files.py Author: Rebecca N. Palmer Forwarded: no Gbp-Pq: Name fix_shebangs.patch --- diff --git a/ci/print_skipped.py b/ci/print_skipped.py index dd2180f6..492189c2 100755 --- a/ci/print_skipped.py +++ b/ci/print_skipped.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import sys import math diff --git a/ci/print_versions.py b/ci/print_versions.py index 1d6814d1..4f3de61a 100755 --- a/ci/print_versions.py +++ b/ci/print_versions.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 def show_versions(as_json=False): diff --git a/doc/make.py b/doc/make.py index f94ceda9..a20315c4 100755 --- a/doc/make.py +++ b/doc/make.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Python script for building documentation. diff --git a/pandas/core/computation/eval.py b/pandas/core/computation/eval.py index 434d7f6c..ef7fc877 100644 --- a/pandas/core/computation/eval.py +++ b/pandas/core/computation/eval.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """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 9f1ac8b1..b2efe90d 100755 --- a/pandas/tests/io/generate_legacy_storage_files.py +++ b/pandas/tests/io/generate_legacy_storage_files.py @@ -1,4 +1,4 @@ -#!/usr/env/bin python +#!/usr/bin/env python3 """ self-contained to write legacy storage (pickle/msgpack) files diff --git a/pandas/tests/plotting/common.py b/pandas/tests/plotting/common.py index 09687dd9..4da435ae 100644 --- a/pandas/tests/plotting/common.py +++ b/pandas/tests/plotting/common.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # coding: utf-8 import pytest diff --git a/scripts/announce.py b/scripts/announce.py index 7b7933eb..67e84c22 100755 --- a/scripts/announce.py +++ b/scripts/announce.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- encoding:utf-8 -*- """ Script to generate contributor and pull request lists diff --git a/scripts/download_wheels.py b/scripts/download_wheels.py index f5cdbbe3..33008119 100644 --- a/scripts/download_wheels.py +++ b/scripts/download_wheels.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """Fetch wheels from wheels.scipy.org for a pandas version.""" import argparse import pathlib diff --git a/scripts/find_undoc_args.py b/scripts/find_undoc_args.py index a135c8e5..2ffd5448 100755 --- a/scripts/find_undoc_args.py +++ b/scripts/find_undoc_args.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Script that compares the signature arguments with the ones in the docsting diff --git a/scripts/validate_docstrings.py b/scripts/validate_docstrings.py index aed3eb2f..96bd06b1 100755 --- a/scripts/validate_docstrings.py +++ b/scripts/validate_docstrings.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Analyze docstrings to detect errors. diff --git a/setup.py b/setup.py index 5d6bbbcf..2d9f1c54 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Parts of this file were taken from the pyzmq project