diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ sys.path.insert(0, os.path.join(os.path.dirname(__file__), "network_pipeline"))
setup(
name="network-pipeline",
cmdclass={"build_py": build_py},
- version="1.0.39",
+ version="1.1.0",
descr... | new minor version for the improved threading support on the splunk publishers | py |
diff --git a/salt/runners/network.py b/salt/runners/network.py
index <HASH>..<HASH> 100644
--- a/salt/runners/network.py
+++ b/salt/runners/network.py
@@ -3,8 +3,6 @@ Network tools to run from the Master
'''
import socket
-import struct
-
def wol(mac, bcast='255.255.255.255', destport=9):
'''
@@ -30,6 +28,6... | Add Wake On Lan to master Allow the Master to send a "Magic Packet" to wake a minion up. | py |
diff --git a/spyderlib/widgets/calltip.py b/spyderlib/widgets/calltip.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/calltip.py
+++ b/spyderlib/widgets/calltip.py
@@ -261,7 +261,7 @@ class CallTipWidget(QtGui.QLabel):
break
depth -= 1
position += 1 if forward e... | Calltip Widget: Fix another error reported by a user | py |
diff --git a/polyaxon/pipelines/models.py b/polyaxon/pipelines/models.py
index <HASH>..<HASH> 100644
--- a/polyaxon/pipelines/models.py
+++ b/polyaxon/pipelines/models.py
@@ -1,5 +1,7 @@
import logging
+import uuid
+
from celery.result import AsyncResult
from django.conf import settings
@@ -50,6 +52,11 @@ class ... | Add uuid to pipeline models | py |
diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -4075,10 +4075,10 @@ def serialize(name,
if os.path.isfile(name):
if formatter == 'yaml':
with salt.utils.fopen(name, 'r') as fhr:
- ... | Pass filepointers to the serialize load functions. | py |
diff --git a/pandas/core/common.py b/pandas/core/common.py
index <HASH>..<HASH> 100644
--- a/pandas/core/common.py
+++ b/pandas/core/common.py
@@ -520,14 +520,15 @@ def _format(s, space=None, na_rep=None, float_format=None, col_width=None):
else:
formatted = _float_format(s)
+ # TODO: fix... | FIX: comment out float padding behavior until we nail it | py |
diff --git a/spacy/en/__init__.py b/spacy/en/__init__.py
index <HASH>..<HASH> 100644
--- a/spacy/en/__init__.py
+++ b/spacy/en/__init__.py
@@ -84,6 +84,9 @@ class English(object):
self._tagger = None
self._parser = None
+ self.has_parser_model = path.exists(path.join(self._data_dir, 'deps'))
... | * Silently don't parse if data is not present | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -19,7 +19,7 @@ def readme():
setup(
name="chardet",
version=get_version(),
- description="Universal encoding detector for Python 2 and 3",
+ description="Universal encoding detector for Python 3",
long_de... | Remove reference to Python 2 (#<I>) | py |
diff --git a/mishmash/commands/web.py b/mishmash/commands/web.py
index <HASH>..<HASH> 100644
--- a/mishmash/commands/web.py
+++ b/mishmash/commands/web.py
@@ -1,4 +1,3 @@
-from ..config import WEB_PORT
from ..web import MISHMASH_WEB
if MISHMASH_WEB:
@@ -12,15 +11,14 @@ if MISHMASH_WEB:
HELP = "MishMash web... | fix: Don't override web port from config file. | py |
diff --git a/src/ossos/core/ossos/gui/controllers.py b/src/ossos/core/ossos/gui/controllers.py
index <HASH>..<HASH> 100644
--- a/src/ossos/core/ossos/gui/controllers.py
+++ b/src/ossos/core/ossos/gui/controllers.py
@@ -288,12 +288,12 @@ class ProcessRealsController(AbstractController):
if key != 'h':
... | Sent band to blank if no magnitude measured | py |
diff --git a/datatableview/tests/example_project/example_project/example_app/views.py b/datatableview/tests/example_project/example_project/example_app/views.py
index <HASH>..<HASH> 100644
--- a/datatableview/tests/example_project/example_project/example_app/views.py
+++ b/datatableview/tests/example_project/example_pr... | Fix accidental copy-paste We're ruining the illusion of magic! | py |
diff --git a/indra/resources/update_resources.py b/indra/resources/update_resources.py
index <HASH>..<HASH> 100644
--- a/indra/resources/update_resources.py
+++ b/indra/resources/update_resources.py
@@ -370,7 +370,7 @@ def update_famplex():
famplex_url_pattern = \
'https://raw.githubusercontent.com/sorger... | Remove ignore.csv from Famplex download | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -33,6 +33,7 @@ setup(
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
+ 'Framework :: Flask',
'Intended Audience :: Developers',
... | add Framework :: Flask to trove classifiers | py |
diff --git a/tmc/models.py b/tmc/models.py
index <HASH>..<HASH> 100644
--- a/tmc/models.py
+++ b/tmc/models.py
@@ -80,14 +80,25 @@ class Exercise(BaseModel):
@staticmethod
def get_selected():
- is_selected = Exercise.select().where(Exercise.is_selected == True)
- first = None
- for item... | Directory sensitive testing etc, closes #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,8 @@ setup(
'dev': dev_requires,
},
entry_points={
- 'console_scripts': ('nodeconductor = nodeconductor.server.logan_runner:main',)
+ 'console_scripts': ('nodeconductor = nodeconducto... | instance backup strategy entry point (itacloud-<I>) | py |
diff --git a/hangups/ui/__main__.py b/hangups/ui/__main__.py
index <HASH>..<HASH> 100644
--- a/hangups/ui/__main__.py
+++ b/hangups/ui/__main__.py
@@ -237,11 +237,14 @@ class ConversationMenu(urwid.WidgetWrap):
self._keys = keybindings
def keypress(self, size, key):
+ # Handle alternate up/down k... | Fix up/down keybindings consuming other keys | py |
diff --git a/httprunner/client.py b/httprunner/client.py
index <HASH>..<HASH> 100644
--- a/httprunner/client.py
+++ b/httprunner/client.py
@@ -82,6 +82,7 @@ class HttpSession(requests.Session):
# record actual request info
req_resp_dict["request"]["url"] = resp_obj.request.url
+ req_resp_dict... | bugfix: add request method in report | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -96,6 +96,15 @@ scripts_phono3py = ['scripts/phono3py',
'scripts/kaccum',
'scripts/kdeplot']
+## This is for the test of libflame
+##
+# use_libflame = False
+# if use_libflame:
+# ... | Libflame information in setup.py again | py |
diff --git a/scapy/contrib/mpls.py b/scapy/contrib/mpls.py
index <HASH>..<HASH> 100644
--- a/scapy/contrib/mpls.py
+++ b/scapy/contrib/mpls.py
@@ -17,7 +17,7 @@
from scapy.packet import Packet, bind_layers, Padding
from scapy.fields import BitField, ByteField, ShortField
-from scapy.layers.inet import IP
+from scap... | adding support for MPLS over UDP | py |
diff --git a/api/settings.py b/api/settings.py
index <HASH>..<HASH> 100644
--- a/api/settings.py
+++ b/api/settings.py
@@ -55,3 +55,10 @@ else:
# from .secrets import *
MONGODB_URI = 'mongodb://' + MONGODB_HOST + ':' + str(MONGODB_PORT) + '/' + MONGODB_DB
+
+try:
+
+ AWSDB_URI = os.environ['AWSDB_URI']
+... | added AWSDB_URI (for storing the registration queue | py |
diff --git a/pysat/instruments/methods/testing.py b/pysat/instruments/methods/testing.py
index <HASH>..<HASH> 100644
--- a/pysat/instruments/methods/testing.py
+++ b/pysat/instruments/methods/testing.py
@@ -35,8 +35,8 @@ def list_files(tag=None, sat_id=None, data_path=None, format_str=None,
# Determine the appro... | BUG: pass tag and sat_id through | py |
diff --git a/neurokit/bio/bio_ecg.py b/neurokit/bio/bio_ecg.py
index <HASH>..<HASH> 100644
--- a/neurokit/bio/bio_ecg.py
+++ b/neurokit/bio/bio_ecg.py
@@ -133,6 +133,10 @@ def ecg_process(ecg, rsp=None, sampling_rate=1000, resampling_method="bfill"):
heartbeats = pd.DataFrame(biosppy_ecg["templates"]).T
heart... | add signal quality check in ecg_process | py |
diff --git a/python/setup.py b/python/setup.py
index <HASH>..<HASH> 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -37,15 +37,16 @@ if platform == 'darwin':
# Optional PySocks support
extras_require = dict(Socks=['PySocks >= 1.5.0'])
-base_dir = os.path.relpath(os.path.split(__file__)[0], os.getcwd())
-src_d... | Use os.path.normpath for source paths. setuptools is sensitive to "src" vs "./src" and prefers the former. This doesn't matter much, but without using the former generated packages cannot be correctly specified as dependencies of othe packages via a git transport. Make python package zip-safe (i.e. allow execute from... | py |
diff --git a/userena/models.py b/userena/models.py
index <HASH>..<HASH> 100644
--- a/userena/models.py
+++ b/userena/models.py
@@ -30,12 +30,10 @@ def upload_to_mugshot(instance, filename):
"""
extension = filename.split('.')[-1].lower()
salt, hash = generate_sha1(instance.id)
- path = userena_setting... | `upload_to_mugshot` receives a profile, not user.` | py |
diff --git a/src/python/dxpy/scripts/dx.py b/src/python/dxpy/scripts/dx.py
index <HASH>..<HASH> 100755
--- a/src/python/dxpy/scripts/dx.py
+++ b/src/python/dxpy/scripts/dx.py
@@ -3228,6 +3228,7 @@ def ssh(args, ssh_config_verified=False):
connected = True
break
except Exception:
+ ... | Wait 2s between SSH connectivity checks | py |
diff --git a/test/test_message_sync.py b/test/test_message_sync.py
index <HASH>..<HASH> 100644
--- a/test/test_message_sync.py
+++ b/test/test_message_sync.py
@@ -16,10 +16,14 @@ import pytest
from can import MessageSync, Message
+from .config import IS_APPVEYOR
from .message_helper import ComparingMessagesTestCa... | exclude AppVeyor from MessageSync tests | py |
diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/raster.py
+++ b/holoviews/element/raster.py
@@ -608,7 +608,7 @@ class RGB(Image):
@classmethod
- def load_image(cls, filename, height=1, array=False, bounds=None):
+ def load_image(c... | Added bare option to RGB.load_image Implements suggestion in #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,7 @@
from setuptools import setup
import sys, os.path, shutil
-version = '0.10'
+version = '0.10.1'
if sys.version_info < (3, 0, 0):
sys.stderr.write("pyqrcode requires Python 3.\n") | Created patch version in setup.py | py |
diff --git a/remi/server.py b/remi/server.py
index <HASH>..<HASH> 100644
--- a/remi/server.py
+++ b/remi/server.py
@@ -868,7 +868,7 @@ class App(BaseHTTPRequestHandler, object):
self.wfile.write(encode_text(self.client.js_body_end))
self.wfile.write(encode_text("</body>\n</html>"))
el... | Fix index error for groups matched Minor fix regarding the index into the groups matching | py |
diff --git a/aupyom/sound.py b/aupyom/sound.py
index <HASH>..<HASH> 100644
--- a/aupyom/sound.py
+++ b/aupyom/sound.py
@@ -102,8 +102,8 @@ class Sound(object):
N = len(freq)
shifted_freq = numpy.zeros(N, freq.dtype)
- S = shift if shift > 0 else N + shift
- s = N - shift if shift > 0 e... | Fix a roundup issue in the pitch shifting. | py |
diff --git a/pyemma/coordinates/data/feature_reader.py b/pyemma/coordinates/data/feature_reader.py
index <HASH>..<HASH> 100644
--- a/pyemma/coordinates/data/feature_reader.py
+++ b/pyemma/coordinates/data/feature_reader.py
@@ -180,12 +180,17 @@ class FeatureReader(ReaderInterface):
... | [coor/feature-reader] if trajectory is too short to be seeked to lag frames, a user friendly exception is being raised. | py |
diff --git a/schedule/models/events.py b/schedule/models/events.py
index <HASH>..<HASH> 100644
--- a/schedule/models/events.py
+++ b/schedule/models/events.py
@@ -134,10 +134,15 @@ class Event(models.Model):
if self.end_recurring_period and self.end_recurring_period < end:
end = self.end_r... | Fixed bug when recurring event split in week view | py |
diff --git a/src/cr/cube/crunch_cube.py b/src/cr/cube/crunch_cube.py
index <HASH>..<HASH> 100644
--- a/src/cr/cube/crunch_cube.py
+++ b/src/cr/cube/crunch_cube.py
@@ -1070,7 +1070,7 @@ class CrunchCube(DataTable):
std_res = self._calculate_std_res(counts, total, colsum, rowsum, slice_)
res.app... | Only deflate pvals for ndim < 3 | py |
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/dimension.py
+++ b/holoviews/core/dimension.py
@@ -1090,7 +1090,7 @@ class Dimensioned(LabelledData):
if isinstance(options, basestring):
try:
options = OptsSpec... | Opts method now only catches SyntaxError when parsing | py |
diff --git a/src/python/twitter/common/python/http/link.py b/src/python/twitter/common/python/http/link.py
index <HASH>..<HASH> 100644
--- a/src/python/twitter/common/python/http/link.py
+++ b/src/python/twitter/common/python/http/link.py
@@ -198,9 +198,13 @@ class EggLink(ExtendedLink):
matcher = EGG_NAME(filenam... | Detect versionless egg links and fail fast. (sapling split of <I>f<I>dc<I>c<I>cf<I>b<I>de<I>eb<I>a<I>e) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(
include_package_data=True,
install_requires=[
"boto==2.25.0",
- "pymongo==2.6.3",
+ "pymongo==2.8",
"requests==2.4.3",
"GloboNetworkAPI==0.2.2",
], | Supporting mongo <I> | py |
diff --git a/test/unittest_lint.py b/test/unittest_lint.py
index <HASH>..<HASH> 100644
--- a/test/unittest_lint.py
+++ b/test/unittest_lint.py
@@ -183,14 +183,19 @@ class PyLinterTC(TestCase):
sys.stdout = sys.__stdout__
def test_lint_ext_module_with_file_output(self):
+ if sys.version_info <... | py3k: fix test (module StringIO disappeared) | py |
diff --git a/src/rasterstats/main.py b/src/rasterstats/main.py
index <HASH>..<HASH> 100644
--- a/src/rasterstats/main.py
+++ b/src/rasterstats/main.py
@@ -257,12 +257,12 @@ def zonal_stats(vectors, raster, layer_num=0, band_num=1, nodata_value=None,
feature_stats['median'] = float(np.median(masked.comp... | cast to float; fixes #<I> | py |
diff --git a/webview/serving.py b/webview/serving.py
index <HASH>..<HASH> 100644
--- a/webview/serving.py
+++ b/webview/serving.py
@@ -37,8 +37,13 @@ class WSGIRequestHandler11(wsgiref.simple_server.WSGIRequestHandler):
protocol_version = "HTTP/1.1"
-class ThreadingWSGIServer(http.server.ThreadingHTTPServer, w... | serving.py: Handle <I> http.server.ThreadingHTTPServer is new to <I> | py |
diff --git a/dvc/version.py b/dvc/version.py
index <HASH>..<HASH> 100644
--- a/dvc/version.py
+++ b/dvc/version.py
@@ -6,7 +6,7 @@
import os
import subprocess
-_BASE_VERSION = "1.0.0a9"
+_BASE_VERSION = "1.0.0a10"
def _generate_version(base_version): | dvc: bump to <I>a<I> | py |
diff --git a/tornado/platform/asyncio.py b/tornado/platform/asyncio.py
index <HASH>..<HASH> 100644
--- a/tornado/platform/asyncio.py
+++ b/tornado/platform/asyncio.py
@@ -14,9 +14,9 @@ loops.
.. note::
- Tornado requires the `~asyncio.BaseEventLoop.add_reader` family of methods,
- so it is not compatible with ... | Update reference to asyncio's add_reader doc | py |
diff --git a/refcycle/test/test_directed_graph.py b/refcycle/test/test_directed_graph.py
index <HASH>..<HASH> 100644
--- a/refcycle/test/test_directed_graph.py
+++ b/refcycle/test/test_directed_graph.py
@@ -58,6 +58,20 @@ class TestDirectedGraph(unittest.TestCase):
self.assertItemsEqual(vertices, [1, 2, 3, 4, ... | Test for DirectedGraph.to_dot | py |
diff --git a/safe/impact_functions/generic/categorical_hazard_building.py b/safe/impact_functions/generic/categorical_hazard_building.py
index <HASH>..<HASH> 100644
--- a/safe/impact_functions/generic/categorical_hazard_building.py
+++ b/safe/impact_functions/generic/categorical_hazard_building.py
@@ -97,7 +97,8 @@ cla... | Make sure the aggregator gets the correct damaged buildings | py |
diff --git a/astrobase/hatpilc.py b/astrobase/hatpilc.py
index <HASH>..<HASH> 100644
--- a/astrobase/hatpilc.py
+++ b/astrobase/hatpilc.py
@@ -234,7 +234,7 @@ def concatenate_textlcs(lclist):
else:
for col in lcdict['columns']:
- lcdict[col] = np.concatenate((lcdict[col], thislcf[... | hatpilc: bug fixing | py |
diff --git a/can/interfaces/slcan.py b/can/interfaces/slcan.py
index <HASH>..<HASH> 100644
--- a/can/interfaces/slcan.py
+++ b/can/interfaces/slcan.py
@@ -140,7 +140,10 @@ class slcanBus(BusABC):
# if we still don't have a complete message, do a blocking read
start = time.time()
time_left = t... | fix faulty if in read of slcanBus | py |
diff --git a/tests/unit/algorithms/ReactiveTransportTest.py b/tests/unit/algorithms/ReactiveTransportTest.py
index <HASH>..<HASH> 100644
--- a/tests/unit/algorithms/ReactiveTransportTest.py
+++ b/tests/unit/algorithms/ReactiveTransportTest.py
@@ -26,6 +26,21 @@ class ReactiveTransportTest:
self.alg = op.algori... | Add test for ReactiveTransport.setup | py |
diff --git a/zake/fake_client.py b/zake/fake_client.py
index <HASH>..<HASH> 100644
--- a/zake/fake_client.py
+++ b/zake/fake_client.py
@@ -262,6 +262,13 @@ class FakeClient(object):
def set(self, path, value, version=-1):
self.verify()
+ if not isinstance(path, basestring):
+ raise Typ... | Add type checking to set function This commit check the type of the set() function parameters as done in Kazoo. | py |
diff --git a/troposphere/autoscaling.py b/troposphere/autoscaling.py
index <HASH>..<HASH> 100644
--- a/troposphere/autoscaling.py
+++ b/troposphere/autoscaling.py
@@ -53,7 +53,7 @@ class AutoScalingGroup(AWSObject):
'LaunchConfigurationName': (basestring, True),
'LoadBalancerNames': (list, False),
... | Instead of just list for MetricsCollection, use [MetricsCollection] | py |
diff --git a/src/rasterstats/io.py b/src/rasterstats/io.py
index <HASH>..<HASH> 100644
--- a/src/rasterstats/io.py
+++ b/src/rasterstats/io.py
@@ -244,7 +244,6 @@ class Raster(object):
col, row = [math.floor(a) for a in (~self.affine * (x, y))]
return row, col
-
def read(self, bounds=None, wind... | not implemented yet, masked and nan_as_nodata | py |
diff --git a/panc/src/main/scripts/panlint/tests.py b/panc/src/main/scripts/panlint/tests.py
index <HASH>..<HASH> 100755
--- a/panc/src/main/scripts/panlint/tests.py
+++ b/panc/src/main/scripts/panlint/tests.py
@@ -91,5 +91,18 @@ class TestPanlint(unittest.TestCase):
self.assertEqual(lc.whitespace_around_opera... | Test first line checking part of lint_line | py |
diff --git a/blimpy/bl_scrunch.py b/blimpy/bl_scrunch.py
index <HASH>..<HASH> 100755
--- a/blimpy/bl_scrunch.py
+++ b/blimpy/bl_scrunch.py
@@ -34,9 +34,9 @@ def bl_scrunch(in_path, out_dir='./', new_filename='', max_load=None, f_scrunch=
wf = Waterfall(in_path, max_load=max_load)
if new_filename == '':
... | Remove superfluous period (.) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -9,6 +9,7 @@ files = [
'pyontutils/hierarchies.py',
'pyontutils/ilx_utils.py',
'pyontutils/neurons.py',
+ 'pyontutils/neuron_lang.py',
'pyontutils/nif_load.py',
'pyontutils/obo_io.py',
'pyontut... | neuron lang was missing from setup.py include list | py |
diff --git a/cartoframes/data/dataset/registry/dataframe_dataset.py b/cartoframes/data/dataset/registry/dataframe_dataset.py
index <HASH>..<HASH> 100644
--- a/cartoframes/data/dataset/registry/dataframe_dataset.py
+++ b/cartoframes/data/dataset/registry/dataframe_dataset.py
@@ -72,6 +72,8 @@ class DataFrameDataset(Base... | Fix dataframe column names to include index Take into account a named index may or may not be a column also | py |
diff --git a/test/test_signature.py b/test/test_signature.py
index <HASH>..<HASH> 100644
--- a/test/test_signature.py
+++ b/test/test_signature.py
@@ -470,7 +470,7 @@ run:
#
for t in range(10, 12):
with open('myfile_{}.txt'.format(t)) as tmp:
- self.assertEqual(tmp.read(), ... | Tweak tests for windows/AppVeyor | py |
diff --git a/redbeat/schedulers.py b/redbeat/schedulers.py
index <HASH>..<HASH> 100644
--- a/redbeat/schedulers.py
+++ b/redbeat/schedulers.py
@@ -195,7 +195,9 @@ class RedBeatScheduler(Scheduler):
for key in client.smembers(self.app.conf.REDBEAT_STATICS_KEY))
removed = previous.differe... | Remove old static schedule entries from ':statics' set in Redis as well | py |
diff --git a/karaage/people/models.py b/karaage/people/models.py
index <HASH>..<HASH> 100644
--- a/karaage/people/models.py
+++ b/karaage/people/models.py
@@ -380,6 +380,7 @@ class Person(models.Model):
set_person_password(self, password)
for ua in self.account_set.filter(date_deleted__isnull=True):
... | Log changed passwords. Change-Id: I<I>d5eb<I>ed<I>ecd5cee<I>ef2da<I>ff0ee<I> | py |
diff --git a/cellpy/_version.py b/cellpy/_version.py
index <HASH>..<HASH> 100644
--- a/cellpy/_version.py
+++ b/cellpy/_version.py
@@ -1,2 +1,2 @@
-version_info = (0, 1, 22, "b2")
+version_info = (0, 1, 22, "b3")
__version__ = '.'.join(map(str, version_info)) | bump to <I>.b3 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -61,7 +61,7 @@ extras["test"] = (
extras["all"],
"tox",
"flake8",
- "pytest",
+ "pytest<6.1.0",
"pytest-cov",
"pytest-rerunfailures",
"pytest-xdist", | fix: pin pytest version <<I> to avoid pytest-rerunfailures breaking changes (#<I>) | py |
diff --git a/salt/master.py b/salt/master.py
index <HASH>..<HASH> 100644
--- a/salt/master.py
+++ b/salt/master.py
@@ -769,7 +769,7 @@ class AESFuncs(object):
if any(key not in clear_load for key in ('fun', 'arg', 'tgt', 'ret', 'tok', 'id')):
return False
# If the command will make a recu... | No reason for a regex, the intent is to stop publish events calling publish. The regex we had (publish.*) actually checks if publish is in the string, we care if it starts with publish. | py |
diff --git a/c7n/resources/asg.py b/c7n/resources/asg.py
index <HASH>..<HASH> 100644
--- a/c7n/resources/asg.py
+++ b/c7n/resources/asg.py
@@ -206,7 +206,7 @@ class ConfigValidFilter(Filter, LaunchConfigFilterBase):
return set([e['LoadBalancerName'] for e in manager.resources()])
def get_appelb_target_g... | fix asg invalid, should be examining target groups (#<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -64,7 +64,7 @@ pytest_runner = ['pytest-runner'] if 'ptr' in sys.argv else []
setup_params = dict(
name = 'keyring',
- use_vcs_version=True,
+ use_vcs_version=dict(increment='1.0'),
description = "Store and ... | Set default increment to <I> for this branch. | py |
diff --git a/py/selenium/webdriver/firefox/firefox_binary.py b/py/selenium/webdriver/firefox/firefox_binary.py
index <HASH>..<HASH> 100644
--- a/py/selenium/webdriver/firefox/firefox_binary.py
+++ b/py/selenium/webdriver/firefox/firefox_binary.py
@@ -20,7 +20,6 @@ from subprocess import Popen, PIPE
from selenium.commo... | DavidBurns, on behalf of RobertBuchholz, changing the way we kill the browser, it *should* be cleaner. Fixes issue <I> r<I> | py |
diff --git a/bold_identification/BOLD_identification.py b/bold_identification/BOLD_identification.py
index <HASH>..<HASH> 100755
--- a/bold_identification/BOLD_identification.py
+++ b/bold_identification/BOLD_identification.py
@@ -7,8 +7,8 @@ import time
import os
import argparse
from Bio import SeqIO
-from bold_eng... | fix a bug when install with pip | py |
diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py
index <HASH>..<HASH> 100644
--- a/spyderlib/widgets/editor.py
+++ b/spyderlib/widgets/editor.py
@@ -344,7 +344,8 @@ class EditorStack(QWidget):
def __get_sorting_func(self):
if self.fullpath_sorting_enabled:
- retur... | Editor: fixed full path sorting (was not sorting filenames inside a given directory) | py |
diff --git a/deltas/__init__.py b/deltas/__init__.py
index <HASH>..<HASH> 100644
--- a/deltas/__init__.py
+++ b/deltas/__init__.py
@@ -5,4 +5,4 @@ from .algorithms import sequence_matcher, SequenceMatcher
from .tokenizers import Tokenizer, RegexTokenizer, text_split, wikitext_split
from .segmenters import Segmenter, ... | Increments version to <I> | py |
diff --git a/test_elasticsearch_dsl/test_integration/test_search.py b/test_elasticsearch_dsl/test_integration/test_search.py
index <HASH>..<HASH> 100644
--- a/test_elasticsearch_dsl/test_integration/test_search.py
+++ b/test_elasticsearch_dsl/test_integration/test_search.py
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
fro... | Python 2 fix for tests with non-ascii letters | py |
diff --git a/credentials/backends.py b/credentials/backends.py
index <HASH>..<HASH> 100644
--- a/credentials/backends.py
+++ b/credentials/backends.py
@@ -14,7 +14,10 @@ class JsonFileBackend(object):
self._path = path
def load(self, key):
- with open(self._path, 'r') as f:
- doc = jso... | Do not fail if creds file is absent. | py |
diff --git a/docker/client.py b/docker/client.py
index <HASH>..<HASH> 100644
--- a/docker/client.py
+++ b/docker/client.py
@@ -352,9 +352,9 @@ class BuilderClient(object):
self.config['Image'] = self.image
if id is None:
cmd = self.config['Cmd']
- self.config.Cmd = ['true']
+ ... | Fix typo -- config is a dictionary `self.config` is a dictionary, not an object. References to `self.config.Cmd` should be `self.config['Cmd']`. | py |
diff --git a/salt/modules/cp.py b/salt/modules/cp.py
index <HASH>..<HASH> 100644
--- a/salt/modules/cp.py
+++ b/salt/modules/cp.py
@@ -72,7 +72,7 @@ def get_file(path, dest, env='base', template=None, gzip_compression=None):
fp_.write(contents)
data = salt.utils.templates.template_registry... | Update the use of template function to match changed call signature. | py |
diff --git a/scripts/publish-gh-release-notes.py b/scripts/publish-gh-release-notes.py
index <HASH>..<HASH> 100644
--- a/scripts/publish-gh-release-notes.py
+++ b/scripts/publish-gh-release-notes.py
@@ -61,7 +61,9 @@ def parse_changelog(tag_name):
def convert_rst_to_md(text):
- return pypandoc.convert_text(text... | Use --wrap=preserve in release notes script Follow up to #<I> after premature merge | py |
diff --git a/gwpy/plotter/core.py b/gwpy/plotter/core.py
index <HASH>..<HASH> 100644
--- a/gwpy/plotter/core.py
+++ b/gwpy/plotter/core.py
@@ -720,11 +720,11 @@ class Plot(object):
kwargs.setdefault('label', spectrogram.name)
im = spectrogram.data.T
nf, nt = im.shape
- freqs = spectrog... | Plot: minor change to add_spectrogram | py |
diff --git a/htmlutils.py b/htmlutils.py
index <HASH>..<HASH> 100644
--- a/htmlutils.py
+++ b/htmlutils.py
@@ -274,7 +274,9 @@ def tidy_html(html_buffer, cleaning_lib='utidylib'):
if CFG_TIDY_INSTALLED and cleaning_lib == 'utidylib':
options = dict(output_xhtml=1,
- show_body_only=... | htmlutils: tidy_html() better preserves original * When tidying up HTML input, be more conservative and preserve line breaks and <div> as much as possible, as they might be meaninful in the context of WebComment. | py |
diff --git a/zinnia/sitemaps.py b/zinnia/sitemaps.py
index <HASH>..<HASH> 100644
--- a/zinnia/sitemaps.py
+++ b/zinnia/sitemaps.py
@@ -66,7 +66,7 @@ class EntryRelatedSitemap(ZinniaSitemap):
return self.model.published.annotate(
count_entries_published=Count('entries')).annotate(
last... | Fix the order of the sitemap related items | py |
diff --git a/img_proof/ipa_gce.py b/img_proof/ipa_gce.py
index <HASH>..<HASH> 100644
--- a/img_proof/ipa_gce.py
+++ b/img_proof/ipa_gce.py
@@ -240,7 +240,7 @@ class GCECloud(IpaCloud):
)
)
except GoogleBaseError as error:
- if error.value['reason'] == 'quotaExceeded':
+... | consider location restrictions as retryable in GCE | py |
diff --git a/torf/_torrent.py b/torf/_torrent.py
index <HASH>..<HASH> 100644
--- a/torf/_torrent.py
+++ b/torf/_torrent.py
@@ -196,8 +196,8 @@ class Torrent():
files = (utils.File(info['name'], size=self.size),)
elif self.mode == 'multifile':
basedir = self.name
- files = (... | Torrent.files: Get size directly from metainfo This makes this property <I> % less silly. | py |
diff --git a/bcloud/Downloader.py b/bcloud/Downloader.py
index <HASH>..<HASH> 100644
--- a/bcloud/Downloader.py
+++ b/bcloud/Downloader.py
@@ -276,7 +276,8 @@ class Downloader(threading.Thread, GObject.GObject):
json.dump(status, fh)
if row[STATE_COL] == State.CANCELED:
- os.remove(tm... | Fixed: check tmp_filepath exists | py |
diff --git a/tests/test_msvc9compiler.py b/tests/test_msvc9compiler.py
index <HASH>..<HASH> 100644
--- a/tests/test_msvc9compiler.py
+++ b/tests/test_msvc9compiler.py
@@ -104,7 +104,7 @@ class msvc9compilerTestCase(support.TempdirManager,
unittest.TestCase):
def test_no_compiler(self... | Issue #<I>: use 'raise' exceptions, don't 'throw'. Patch by Serhiy Storchaka. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -58,7 +58,9 @@ else:
url=URL,
packages=PACKAGES,
install_requires=['numpy', 'scipy', 'pandas==0.12.0', 'pysam'],
- scripts=['bin/permutation_test.py', 'bin/extract_gene_seq.py'],
+ ... | Added other scripts to setup.py for package installation | py |
diff --git a/gns3server/version.py b/gns3server/version.py
index <HASH>..<HASH> 100644
--- a/gns3server/version.py
+++ b/gns3server/version.py
@@ -23,8 +23,8 @@
# or negative for a release candidate or beta (after the base version
# number has been incremented)
-__version__ = "2.2.19"
-__version_info__ = (2, 2, 19,... | Development on <I>dev1 | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -90,6 +90,9 @@ _CLASSIFIERS = ["Development Status :: 4 - Beta",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License"]
+TESTS_REQ = [l.rstrip() for l in open("pkg/test_requirements... | make test time dependency resolved automatically from pkg/test_requirements.txt | py |
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index <HASH>..<HASH> 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -18,6 +18,11 @@ from setuptools.py31compat import unittest_main
class ScanningLoader(TestLoader):
+
+ def __init__(self):
+ TestLoader.__in... | fix `test` command running tests twice | py |
diff --git a/pybromo/__init__.py b/pybromo/__init__.py
index <HASH>..<HASH> 100644
--- a/pybromo/__init__.py
+++ b/pybromo/__init__.py
@@ -19,3 +19,4 @@ from .tests import test_diffusion
from .diffusion import Box, Particles, ParticlesSimulation, hash_
from .psflib import GaussianPSF, NumericPSF
+from .timestamps i... | Import TimestampSimulation in the base package | py |
diff --git a/tests/test_source.py b/tests/test_source.py
index <HASH>..<HASH> 100644
--- a/tests/test_source.py
+++ b/tests/test_source.py
@@ -13,7 +13,7 @@ class StyleTest(TimedTestCase):
import exchangelib
flake8.defaults.MAX_LINE_LENGTH = 120
app = flake8.main.application.Application()
- ... | Disable multiprocessing in flake8 tests - doesn't work well with multiproces test runners | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,12 +1,6 @@
-from codecs import open as codecs_open
from setuptools import setup
-# Get the long description from the relevant file
-with codecs_open('README.md', encoding='utf-8') as f:
- long_description = f.read()... | Simplify setup.py Remove reading of README.md | py |
diff --git a/Lib/fontbakery/specifications/googlefonts.py b/Lib/fontbakery/specifications/googlefonts.py
index <HASH>..<HASH> 100644
--- a/Lib/fontbakery/specifications/googlefonts.py
+++ b/Lib/fontbakery/specifications/googlefonts.py
@@ -581,9 +581,12 @@ def com_google_fonts_test_019(ttFont):
@condition
def style(fo... | make sure the "style" condition returns None when stylename is not canonical. This fixes errors we were getting at com.google.fonts/test/<I> (issue #<I>) | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -46,7 +46,7 @@ setup(
scripts=['pkg/tmuxp.bash', 'pkg/tmuxp.zsh', 'pkg/tmuxp.tcsh'],
entry_points=dict(console_scripts=['tmuxp=tmuxp:cli.main']),
classifiers=[
- 'Development Status :: 3 - Alpha',
+ ... | setup.py: Dev status Production/Stable | py |
diff --git a/photon.py b/photon.py
index <HASH>..<HASH> 100644
--- a/photon.py
+++ b/photon.py
@@ -156,6 +156,8 @@ else:
except:
main_url = 'http://' + main_inp
+schema = main_url.split('//')[0] # https: or http:?
+
storage.add(main_url) # adding the root url to storage for crawling
domain_name = ur... | Fixed a bug that caused mishandling of "//" urls | py |
diff --git a/script/jekyllmarkdowngen.py b/script/jekyllmarkdowngen.py
index <HASH>..<HASH> 100644
--- a/script/jekyllmarkdowngen.py
+++ b/script/jekyllmarkdowngen.py
@@ -476,11 +476,14 @@ class JekyllMarkdownGenerator(MarkdownGenerator):
full_path = sfx(self.namespaces._base) + (sfx(typ.imported_from)... | add types directory prefix to fix doc links for types. second half of this issue will be in markdowngen.py in linkml | py |
diff --git a/scraper/util.py b/scraper/util.py
index <HASH>..<HASH> 100644
--- a/scraper/util.py
+++ b/scraper/util.py
@@ -1,7 +1,7 @@
import logging
import os
-from subprocess import Popen, PIPE, STDOUT
+from subprocess import Popen, PIPE, STDOUT # nosec
logger = logging.getLogger(__name__)
@@ -14,6 +14,6 @@... | Added #nosec mark for Popen | py |
diff --git a/nailgun/entities.py b/nailgun/entities.py
index <HASH>..<HASH> 100644
--- a/nailgun/entities.py
+++ b/nailgun/entities.py
@@ -341,7 +341,7 @@ class ComputeResource(
# generate an URL pointing to a docker server
if provider.lower() == 'docker':
if 'url' not in vars(self):
- ... | Fix a bug in ComputeResource.create_missing The docker daemon listens for connections on port <I> by default. Make method `ComputeResource.create_missing` set `url` to "server_url:<I>" by default, instead of "server_url". | py |
diff --git a/mplstereonet/kinematic_analysis.py b/mplstereonet/kinematic_analysis.py
index <HASH>..<HASH> 100644
--- a/mplstereonet/kinematic_analysis.py
+++ b/mplstereonet/kinematic_analysis.py
@@ -163,7 +163,7 @@ def _rotate_shape(shape, strike):
return np.array([lon, lat])
-class PlanarSliding():
+class Pla... | Make classes in kinematic_analysis explicitly inherit from object | py |
diff --git a/scoop/__main__.py b/scoop/__main__.py
index <HASH>..<HASH> 100644
--- a/scoop/__main__.py
+++ b/scoop/__main__.py
@@ -181,7 +181,7 @@ try:
for n in range(min(maximum_workers[host], workers_left)):
# Setting up environment variables
env_vars = {'IS_ORIGIN': '0' if worker... | Fixed multiple workers with the same name. | py |
diff --git a/tensorflow_probability/python/internal/dtype_util.py b/tensorflow_probability/python/internal/dtype_util.py
index <HASH>..<HASH> 100644
--- a/tensorflow_probability/python/internal/dtype_util.py
+++ b/tensorflow_probability/python/internal/dtype_util.py
@@ -82,7 +82,7 @@ def common_dtype(args_list, dtype_h... | Fixes an issue with migrating from tf.contrib.distributions to tfp.distributions. In some cases the dtype inference will come up with tf.float<I>_ref and pass this along to random_normal, which complains. PiperOrigin-RevId: <I> | py |
diff --git a/sgp4/tests.py b/sgp4/tests.py
index <HASH>..<HASH> 100644
--- a/sgp4/tests.py
+++ b/sgp4/tests.py
@@ -61,7 +61,7 @@ VANGUARD_ATTRS = {
'no_kozai': 0.04722944544077857,
'nodeo': 6.08638547138321,
}
-VANGUARD_EPOCH = 18441.7849506199999894
+VANGUARD_EPOCH = 18441.78495062
# Handle deprecated as... | Replace overly precise test float with equivalent | py |
diff --git a/grip/server.py b/grip/server.py
index <HASH>..<HASH> 100644
--- a/grip/server.py
+++ b/grip/server.py
@@ -14,7 +14,7 @@ def serve(directory='.', readme_file='README'):
# Flask application
app = Flask('grip')
app.config.from_pyfile('config.py')
- app.config.from_pyfile('../local_config.py'... | Look for local_config.py from code directory. | py |
diff --git a/test_colr.py b/test_colr.py
index <HASH>..<HASH> 100755
--- a/test_colr.py
+++ b/test_colr.py
@@ -77,6 +77,8 @@ def gradient_mix_tests():
print(Colr('\n'.join(lines)).gradient(name='black'))
lines = ['This is a block made into a long sad rainbow' for _ in range(5)]
print(Colr('\n'.join(lines... | Add test for named gradient linemode. | py |
diff --git a/patroni/__init__.py b/patroni/__init__.py
index <HASH>..<HASH> 100644
--- a/patroni/__init__.py
+++ b/patroni/__init__.py
@@ -80,7 +80,7 @@ def main():
use_env = config_env is not None
if not use_env:
print('Usage: {0} config.yml'.format(sys.argv[0]))
- print('\tPa... | Fix a typo in the help message. | py |
diff --git a/tests/backends/test_Windows.py b/tests/backends/test_Windows.py
index <HASH>..<HASH> 100644
--- a/tests/backends/test_Windows.py
+++ b/tests/backends/test_Windows.py
@@ -21,6 +21,9 @@ class TestWinVaultKeyring(BackendBasicTests):
def init_keyring(self):
return keyring.backends.Windows.WinVaul... | Add test to trigger the undesirable behavior. Ref #<I>. | py |
diff --git a/reliure/engine.py b/reliure/engine.py
index <HASH>..<HASH> 100644
--- a/reliure/engine.py
+++ b/reliure/engine.py
@@ -648,7 +648,7 @@ class Block(object):
# some logging
argstr = [repr(arg)[:100].replace('\n', '') for arg in inputs]
- self._logger.info("""'%s' playing... | Change "Playing Block" log from INFO to DEBUG | py |
diff --git a/src/sos/Julia/kernel.py b/src/sos/Julia/kernel.py
index <HASH>..<HASH> 100644
--- a/src/sos/Julia/kernel.py
+++ b/src/sos/Julia/kernel.py
@@ -235,7 +235,7 @@ end
class sos_Julia:
- background_color = '#ff99ff'
+ background_color = '#FCEDF4'
supported_kernels = {'Julia': ['julia-0.6']}
... | change the color of julia in jupyter notebook | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.