File: pr235.patch

package info (click to toggle)
python-gffutils 0.13-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,164 kB
  • sloc: python: 5,557; makefile: 57; sh: 13
file content (32 lines) | stat: -rw-r--r-- 776 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 653a14e0844acea193988dbd8fca6b44fcf09570 Mon Sep 17 00:00:00 2001
From: Alexandre Detiste <alexandre.detiste@gmail.com>
Date: Sat, 31 Aug 2024 12:36:23 +0200
Subject: [PATCH] drop usage of Python2-era simplejson

--- a/gffutils/feature.py
+++ b/gffutils/feature.py
@@ -1,5 +1,5 @@
 from pyfaidx import Fasta
-import simplejson as json
+import json
 from gffutils import constants
 from gffutils import helpers
 from gffutils import parser
--- a/gffutils/helpers.py
+++ b/gffutils/helpers.py
@@ -1,7 +1,7 @@
 import copy
 import sys
 import os
-import simplejson as json
+import json
 import time
 import tempfile
 from gffutils import constants
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,3 @@
 pyfaidx>=0.5.5.2
 argh>=0.26.2
 argcomplete>=1.9.4
-simplejson