kumquat-buildroot/package/python-avro/0001-fix-pycodestyle-regression.patch
Titouan Christophe d3c552f662 package/{avro-c, python-avro}: bump to version 1.9.2
- Drop patch for avro-c that was applied upstream
 - Fix inconsistency in PYTHON_AVRO_SITE
 - Adopt new spacing convention in .hash files
 - Add upstream patch for python-avro
 - Add patch to remove installation-time linting in python-avro

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-02-26 22:46:35 +01:00

29 lines
860 B
Diff

From a66459dd654489bf2c17e2828d5c314a4048be70 Mon Sep 17 00:00:00 2001
From: Ryan Skraba <ryan@skraba.com>
Date: Thu, 13 Feb 2020 09:57:02 +0100
Subject: [PATCH] AVRO-2737: Fix pycodestyle regression.
An erroneous import was added in the Avro 1.9.2 Python3 package.
The issue has been fixed and released on pypi as version 1.9.2.1, but has
not been published on the Apache download website, hence this patch.
[Titouan: add detailed commit message]
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
---
setup.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/setup.py b/setup.py
index 20dd4e240..f6297bb1b 100755
--- a/setup.py
+++ b/setup.py
@@ -38,8 +38,6 @@
import setuptools
-import pycodestyle
-
_HERE = os.path.dirname(os.path.abspath(__file__))
_AVRO_DIR = os.path.join(_HERE, 'avro')
_VERSION_FILE_NAME = 'VERSION.txt'