diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/nipap/nipap/xmlrpc.py b/nipap/nipap/xmlrpc.py
index <HASH>..<HASH> 100755
--- a/nipap/nipap/xmlrpc.py
+++ b/nipap/nipap/xmlrpc.py
@@ -133,7 +133,7 @@ class NipapXMLRPC:
@requires_auth
- def version(self):
+ def version(self, args):
""" Returns nipapd version
Returns a... | Fix version function of nipapd Mismatch in number of expected arguments lead to this function never working. Now fixed! That was easy! Fixes #<I>. | py |
diff --git a/assess_autoload_credentials.py b/assess_autoload_credentials.py
index <HASH>..<HASH> 100755
--- a/assess_autoload_credentials.py
+++ b/assess_autoload_credentials.py
@@ -439,9 +439,9 @@ def write_openstack_config_file(tmp_dir, user, credential_details):
def ensure_openstack_personal_cloud_exists(clien... | Improve sanity check for writing clouds.yaml. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -5,13 +5,13 @@ from setuptools.command.test import test as TestCommand
import sys
reqs = [
- "aiohttp==0.22.0a0",
- "arrow==0.8.0",
- "defusedxml==0.4.1",
- "frozendict==0.6",
- "jsonschema==2.5.1",
- "ta... | unpin requirements in setup.py; use requirements-prod.txt for that | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ def read(fname):
setup(
name = "pyokc",
- version = "0.2.2",
+ version = "0.2.3",
packages = find_packages(),
install_requires = ['lxml', 'requests'],
@@ -22,11 +22,11 @@ setup(
lice... | Fix README filename in setup | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup(
license='LGPLv3',
description='Parse the National Weather Service Emergency Alerts Feed (NWS CAP format), do useful stuff with it',
long_description=readme,
- install_requires=['requests... | pinning dateutils version due to upstream error | py |
diff --git a/tests/test_flask_relayer.py b/tests/test_flask_relayer.py
index <HASH>..<HASH> 100644
--- a/tests/test_flask_relayer.py
+++ b/tests/test_flask_relayer.py
@@ -1,4 +1,5 @@
import json
+import uuid
import flask
@@ -47,6 +48,15 @@ class FlaskRelayerTestCase(BaseTestCase):
message = json.loads(me... | Add test to cover get correct request id | py |
diff --git a/SpiffWorkflow/task.py b/SpiffWorkflow/task.py
index <HASH>..<HASH> 100644
--- a/SpiffWorkflow/task.py
+++ b/SpiffWorkflow/task.py
@@ -20,7 +20,8 @@ from builtins import object
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston... | Never ever recurse forever. | py |
diff --git a/src/transformers/trainer_seq2seq.py b/src/transformers/trainer_seq2seq.py
index <HASH>..<HASH> 100644
--- a/src/transformers/trainer_seq2seq.py
+++ b/src/transformers/trainer_seq2seq.py
@@ -196,9 +196,12 @@ class Seq2SeqTrainer(Trainer):
if self.args.prediction_loss_only:
return (loss... | Add a condition for checking labels (#<I>) | py |
diff --git a/xapian_backend.py b/xapian_backend.py
index <HASH>..<HASH> 100755
--- a/xapian_backend.py
+++ b/xapian_backend.py
@@ -2,7 +2,7 @@ from __future__ import unicode_literals
import time
import datetime
-import cPickle as pickle
+import pickle
import os
import re
import shutil | Dropped usage of cPickle to use just pickle. | py |
diff --git a/bitex/api/WSS/bitfinex.py b/bitex/api/WSS/bitfinex.py
index <HASH>..<HASH> 100644
--- a/bitex/api/WSS/bitfinex.py
+++ b/bitex/api/WSS/bitfinex.py
@@ -285,6 +285,7 @@ class BitfinexWSS(WSSAPI):
try:
raw = self.conn.recv()
except WebSocketTimeoutExceptio... | Prevent deadlock on timeout If the recv() call throws a WebSocketTimeoutException, the _receiver_lock must be released before continuing or else the running loop will deadlock. The same applies for the AttributeError. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -25,7 +25,7 @@ setup(
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
],
- install_requires=['cython', 'scikit-learn', 'py... | Added py-lz4framed dependency | py |
diff --git a/streamcorpus_pipeline/_s3_storage.py b/streamcorpus_pipeline/_s3_storage.py
index <HASH>..<HASH> 100644
--- a/streamcorpus_pipeline/_s3_storage.py
+++ b/streamcorpus_pipeline/_s3_storage.py
@@ -8,6 +8,7 @@ putting them out into local storage.
'''
from __future__ import absolute_import, division, print_fu... | adding support for s3 files that are gzip compressed | py |
diff --git a/sandbox/oubiwann/mypkg/interp.py b/sandbox/oubiwann/mypkg/interp.py
index <HASH>..<HASH> 100644
--- a/sandbox/oubiwann/mypkg/interp.py
+++ b/sandbox/oubiwann/mypkg/interp.py
@@ -38,7 +38,7 @@ class Interpreter(object):
def connectionMade(self, *args, **kwargs):
connectionMadeOrig(self)
# As a ge... | Fixed a typo in a comment. | py |
diff --git a/examples/text_filter_example.py b/examples/text_filter_example.py
index <HASH>..<HASH> 100644
--- a/examples/text_filter_example.py
+++ b/examples/text_filter_example.py
@@ -18,7 +18,7 @@ bot = Bot(token=API_TOKEN)
dp = Dispatcher(bot)
-# if the text from user in the list
+# if the text is equal to an... | Fixed example description (#<I>) | py |
diff --git a/examples/providers/coroutine.py b/examples/providers/coroutine.py
index <HASH>..<HASH> 100644
--- a/examples/providers/coroutine.py
+++ b/examples/providers/coroutine.py
@@ -2,7 +2,7 @@
import asyncio
-from dependency_injector import providers
+from dependency_injector import containers, providers
... | Add container usage for coroutine provider example | py |
diff --git a/openstack_controller/setup.py b/openstack_controller/setup.py
index <HASH>..<HASH> 100644
--- a/openstack_controller/setup.py
+++ b/openstack_controller/setup.py
@@ -18,7 +18,7 @@ with open(path.join(HERE, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
-CHECKS_BASE_REQ = 'datado... | Pin datadog_checks_base to `>=<I>` which includes `openstacksdk` dependency (#<I>) | py |
diff --git a/schema_salad/main.py b/schema_salad/main.py
index <HASH>..<HASH> 100644
--- a/schema_salad/main.py
+++ b/schema_salad/main.py
@@ -443,7 +443,7 @@ def main(argsl: Optional[List[str]] = None) -> int:
json_dump(doc_metadata, fp=sys.stdout, indent=4, default=str)
return 0
- print(f"Docum... | Make schema salad main log with logger if doc is valid (#<I>) | py |
diff --git a/riak/datatypes/set.py b/riak/datatypes/set.py
index <HASH>..<HASH> 100644
--- a/riak/datatypes/set.py
+++ b/riak/datatypes/set.py
@@ -5,8 +5,7 @@ __all__ = ['Set']
class Set(collections.Set, Datatype):
- """
- A convergent datatype representing a Set with observed-remove
+ """A convergent dat... | Tweak the Set class documentation. | py |
diff --git a/vyper/functions.py b/vyper/functions.py
index <HASH>..<HASH> 100644
--- a/vyper/functions.py
+++ b/vyper/functions.py
@@ -156,15 +156,12 @@ def floor(expr, args, kwargs, context):
)
-@signature(('num', 'decimal'))
+@signature(('num'))
def decimal(expr, args, kwargs, context):
- if args[0].typ.... | Only allow decimal() to be used with num. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ with open("README.md", "r") as fh:
setup(
name='django-cra-helper',
- version='1.2.1',
+ version='1.2.2',
description='The missing piece of the Django + React puzzle',
long_description=lo... | Bump package version to <I> | py |
diff --git a/launch_control/testing/call_helper.py b/launch_control/testing/call_helper.py
index <HASH>..<HASH> 100644
--- a/launch_control/testing/call_helper.py
+++ b/launch_control/testing/call_helper.py
@@ -139,8 +139,6 @@ class CallHelper(object):
# Now check keyword arguments
for arg_name in kwa... | Remove inaccurate parts of a comment in CallHelper._fill_args | py |
diff --git a/kconfigtest.py b/kconfigtest.py
index <HASH>..<HASH> 100644
--- a/kconfigtest.py
+++ b/kconfigtest.py
@@ -543,7 +543,9 @@ def get_arch_configs():
def add_arch(ARCH, res):
os.environ["SRCARCH"] = archdir
os.environ["ARCH"] = ARCH
- res.append(kconfiglib.Config(base_dir = "."))
... | Display arch names as they are loaded in test suite. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -63,13 +63,12 @@ def main():
'install': Cmd,
}
setup_kwargs = {
- "name": "pyam",
+ "name": "pyam-iamc",
"version": INFO['version'],
- "description": 'Analyze Integrated Assessm... | fix some stuff in setup.py | py |
diff --git a/prof/init.py b/prof/init.py
index <HASH>..<HASH> 100644
--- a/prof/init.py
+++ b/prof/init.py
@@ -6,13 +6,23 @@ prof_session = requests.Session()
def initiate_session(login, password):
- """Initiate a session globally used in prof. Log and retrieve the cookie"""
- prof_session.get(baseurl+"/inde... | Exit gracefully if no connection available | py |
diff --git a/tests/test_module.py b/tests/test_module.py
index <HASH>..<HASH> 100644
--- a/tests/test_module.py
+++ b/tests/test_module.py
@@ -121,7 +121,7 @@ class TestModule(unittest.TestCase):
except Exception as e:
result = e
self.assertIsInstance(result, ValueError)
- self.ass... | updated wording in test for DNS error response | py |
diff --git a/blox/compile.py b/blox/compile.py
index <HASH>..<HASH> 100644
--- a/blox/compile.py
+++ b/blox/compile.py
@@ -47,7 +47,7 @@ def build(factory):
def string(html):
'''Returns a blox template from an html string'''
- return _to_template(fromstring(shpaml.convert_text(html)))
+ return _to_templat... | Fix the compilation process to use a fresh namespace | py |
diff --git a/pygsp/plotting.py b/pygsp/plotting.py
index <HASH>..<HASH> 100644
--- a/pygsp/plotting.py
+++ b/pygsp/plotting.py
@@ -397,7 +397,6 @@ def plot_filter(filters, npoints=1000, line_width=4, x_width=3,
if show_sum:
ax.plot(x, np.sum(y**2, 1), 'k', linewidth=line_width)
- ax.set_ylim(-0.1, 1.... | plotting: do not fix ylim Because some filters have max smaller than 1, e.g. <I> for Mexican hat. | py |
diff --git a/treetime/utils.py b/treetime/utils.py
index <HASH>..<HASH> 100644
--- a/treetime/utils.py
+++ b/treetime/utils.py
@@ -238,7 +238,7 @@ def parse_dates(date_file, name_col=None, date_col=None):
try:
# read the metadata file into pandas dataframe.
- df = pd.read_csv(date_file, sep=full_... | utils: parse metadata as strings to avoid mis-interpretation of numerical taxon names | py |
diff --git a/salt/modules/rh_service.py b/salt/modules/rh_service.py
index <HASH>..<HASH> 100644
--- a/salt/modules/rh_service.py
+++ b/salt/modules/rh_service.py
@@ -32,7 +32,7 @@ def _runlevel():
'''
Return the current runlevel
'''
- out = __salt__['cmd.run']('runlevel')
+ out = __salt__['cmd.run... | hardcode runlevel path. On rhel/centos < 6 this is not in the default path and all services show as disabled | py |
diff --git a/spyderlib/start_app.py b/spyderlib/start_app.py
index <HASH>..<HASH> 100644
--- a/spyderlib/start_app.py
+++ b/spyderlib/start_app.py
@@ -5,6 +5,7 @@ import socket
import time
import atexit
import random
+import sys
# Local imports
from spyderlib.cli_options import get_options
@@ -44,7 +45,14... | Mac app: Don't create spyder.lock to verify a single instance Update Issue <I> Status: Fixed - Since the OS is in charge of maintaining a single instance, we don't need to create spyder.lock to check it. | py |
diff --git a/phy/cluster/manual/view_model.py b/phy/cluster/manual/view_model.py
index <HASH>..<HASH> 100644
--- a/phy/cluster/manual/view_model.py
+++ b/phy/cluster/manual/view_model.py
@@ -72,6 +72,10 @@ class BaseViewModel(object):
self._view = _create_view(self._view_class,
... | Added left/right keyboard shortcuts in trace view model. | py |
diff --git a/gcloud/datastore/test_connection.py b/gcloud/datastore/test_connection.py
index <HASH>..<HASH> 100644
--- a/gcloud/datastore/test_connection.py
+++ b/gcloud/datastore/test_connection.py
@@ -524,8 +524,9 @@ class TestConnection(unittest2.TestCase):
request.ParseFromString(cw['body'])
self.... | Updating to new default for ReadOptions.ReadConsistency. | py |
diff --git a/chevron/renderer.py b/chevron/renderer.py
index <HASH>..<HASH> 100644
--- a/chevron/renderer.py
+++ b/chevron/renderer.py
@@ -251,7 +251,8 @@ def render(template='', data={}, partials_path='.', partials_ext='mustache',
'end': '/',
'partial':... | Fix the rendering of lambdas Variables are the most common tag types, yet they were not handled during the generation of template text for lambda scopes. | py |
diff --git a/isilib/record.py b/isilib/record.py
index <HASH>..<HASH> 100644
--- a/isilib/record.py
+++ b/isilib/record.py
@@ -266,7 +266,9 @@ class Record(object):
> Each string in the list is a line from the record associated with _tag_ or None if not found.
"""
- tag = tag.upper()
+
+ ... | Fixed bug with getTag/csver | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,7 +10,7 @@ def read(fname):
setupconf = dict(
name='aldjemy',
- version="0.4.0",
+ version="0.4.1",
license='BSD',
url='https://github.com/Deepwalker/aldjemy/',
author='Mihail Krivushin', | Version <I>. Backref support. | py |
diff --git a/src/infi/clickhouse_orm/database.py b/src/infi/clickhouse_orm/database.py
index <HASH>..<HASH> 100644
--- a/src/infi/clickhouse_orm/database.py
+++ b/src/infi/clickhouse_orm/database.py
@@ -58,7 +58,7 @@ class Database(object):
def select(self, query, model_class=None, settings=None):
query... | stream only SELECTs, to prevent "connection reset by peer" errors | py |
diff --git a/pandas/io/tests/test_parsers.py b/pandas/io/tests/test_parsers.py
index <HASH>..<HASH> 100644
--- a/pandas/io/tests/test_parsers.py
+++ b/pandas/io/tests/test_parsers.py
@@ -1356,14 +1356,25 @@ a,b,c,d
@slow
@network
def test_url(self):
- # HTTP(S)
- url = 'https://raw.github.c... | TST: skip another @network test if no internet connection | py |
diff --git a/tools/make_metadata.py b/tools/make_metadata.py
index <HASH>..<HASH> 100755
--- a/tools/make_metadata.py
+++ b/tools/make_metadata.py
@@ -7,6 +7,7 @@ from saml2.metadata import entities_descriptor
from saml2.metadata import sign_entity_descriptor
from saml2.sigver import SecurityContext
+from saml2.sig... | Modified to work with the refactored crypto backend. | py |
diff --git a/phoebe/parameters/create.py b/phoebe/parameters/create.py
index <HASH>..<HASH> 100644
--- a/phoebe/parameters/create.py
+++ b/phoebe/parameters/create.py
@@ -343,7 +343,7 @@ def make_body_from_parametersets(ps):
body1.prepare_reflection()
body2.prepare_reflection()
#-- pu... | create.from_library now automatically sets label of bodybag to be same as orbit | py |
diff --git a/src/molecule/driver/delegated.py b/src/molecule/driver/delegated.py
index <HASH>..<HASH> 100644
--- a/src/molecule/driver/delegated.py
+++ b/src/molecule/driver/delegated.py
@@ -148,6 +148,9 @@ class Delegated(Driver):
@property
def login_cmd_template(self):
+ if "login_cmd_template" in ... | src/molecule/driver/delegated.py: Allow to set login_cmd_template in managed case (#<I>) The current code only allows to configure the login command if molecule is configured to use non managed instance but it may be helpful to be able to set it even if the instance is managed. For instance, if the instance (eg a... | py |
diff --git a/pandoc_fignos.py b/pandoc_fignos.py
index <HASH>..<HASH> 100644
--- a/pandoc_fignos.py
+++ b/pandoc_fignos.py
@@ -241,6 +241,9 @@ def get_attrs(value, n):
"""
# Note: Pandoc does not allow for there to be a space between the image
# and its attributes.
+
+ # Fix me: This currently does no... | Added a fix me reminder. | py |
diff --git a/baron/test_space_grouper.py b/baron/test_space_grouper.py
index <HASH>..<HASH> 100644
--- a/baron/test_space_grouper.py
+++ b/baron/test_space_grouper.py
@@ -1,8 +1,10 @@
+from itertools import izip_longest
from space_grouper import group as _group
def group(inp, out):
- assert _group(inp) == out
... | [enh] better debugging assert | py |
diff --git a/buildbot/test/test_slavecommand.py b/buildbot/test/test_slavecommand.py
index <HASH>..<HASH> 100644
--- a/buildbot/test/test_slavecommand.py
+++ b/buildbot/test/test_slavecommand.py
@@ -102,9 +102,14 @@ class ShellBase(SignalMixin):
self.assertEquals(got, contents)
def getrc(self):
- ... | [test_slavecommand.py: undo breakage triggered by the elapsedTime patch.] Make test more flexible, by not assuming the rc will be in the last update. | py |
diff --git a/charmhelpers/contrib/hardening/audits/file.py b/charmhelpers/contrib/hardening/audits/file.py
index <HASH>..<HASH> 100644
--- a/charmhelpers/contrib/hardening/audits/file.py
+++ b/charmhelpers/contrib/hardening/audits/file.py
@@ -338,8 +338,10 @@ class TemplatedFile(BaseFileAudit):
if not stored_c... | Gotta flush the unitdata.kv() if you want it to persist. | py |
diff --git a/tests/parser/types/numbers/test_sqrt.py b/tests/parser/types/numbers/test_sqrt.py
index <HASH>..<HASH> 100644
--- a/tests/parser/types/numbers/test_sqrt.py
+++ b/tests/parser/types/numbers/test_sqrt.py
@@ -142,6 +142,13 @@ def test(a: decimal) -> decimal:
return c
+@pytest.mark.parametrize('value'... | add upper and lower bound test cases for sqrt | py |
diff --git a/vtki/utilities.py b/vtki/utilities.py
index <HASH>..<HASH> 100644
--- a/vtki/utilities.py
+++ b/vtki/utilities.py
@@ -232,7 +232,13 @@ def read(filename):
"""Use VTK's legacy reader to read a file"""
reader = vtk.vtkDataSetReader()
reader.SetFileName(filename)
+ # Ensure a... | Force legacy reader to always read all avaialable data | py |
diff --git a/ndio/remote/ndingest.py b/ndio/remote/ndingest.py
index <HASH>..<HASH> 100644
--- a/ndio/remote/ndingest.py
+++ b/ndio/remote/ndingest.py
@@ -283,7 +283,9 @@ class NDIngest:
dims = ()
try:
if (image_type.lower() == 'png'):
- dims = ndpng.load('{}{}'.format(imag... | Fix for PNG (#<I>) | py |
diff --git a/hdbscan/validity.py b/hdbscan/validity.py
index <HASH>..<HASH> 100644
--- a/hdbscan/validity.py
+++ b/hdbscan/validity.py
@@ -324,6 +324,9 @@ def validity_index(X, labels, metric='euclidean',
for cluster_id in range(max_cluster_id):
+ if np.sum(labels == cluster_id) == 0:
+ conti... | Shouldn't have size zero clusters -- but we should handle them gracefully none the less. | py |
diff --git a/howdoi/howdoi.py b/howdoi/howdoi.py
index <HASH>..<HASH> 100755
--- a/howdoi/howdoi.py
+++ b/howdoi/howdoi.py
@@ -341,7 +341,11 @@ def _get_questions(links):
def _get_answer(args, link): # pylint: disable=too-many-branches
cache_key = _get_cache_key(link)
- page = cache.get(cache_key) # pylint... | Workaround FileNotFoundError thrown by cachelib | py |
diff --git a/troposphere/apigateway.py b/troposphere/apigateway.py
index <HASH>..<HASH> 100644
--- a/troposphere/apigateway.py
+++ b/troposphere/apigateway.py
@@ -352,7 +352,7 @@ class RestApi(AWSObject):
"CloneFrom": (basestring, False),
"Description": (basestring, False),
"EndpointConfigura... | Change ApiGateway::RestApi FailOnWarnings from basestring to boolean (Fixes #<I>) | py |
diff --git a/Adafruit_BluefruitLE/corebluetooth/provider.py b/Adafruit_BluefruitLE/corebluetooth/provider.py
index <HASH>..<HASH> 100644
--- a/Adafruit_BluefruitLE/corebluetooth/provider.py
+++ b/Adafruit_BluefruitLE/corebluetooth/provider.py
@@ -289,7 +289,7 @@ class CoreBluetoothProvider(Provider):
"""
... | corebluetooth: Properly raise exceptions Currently, `CoreBluetoothProvider._raise_error` improperly passes the exception traceback as `value` to `raise_`, causing `TypeError: instance exception may not have a separate value` to be thrown instead of the real exception. This patch fixes that error, matching the behav... | py |
diff --git a/linkcheck/fileutil.py b/linkcheck/fileutil.py
index <HASH>..<HASH> 100644
--- a/linkcheck/fileutil.py
+++ b/linkcheck/fileutil.py
@@ -196,6 +196,8 @@ def init_mimedb():
add_mimetype(mimedb, 'text/plain', '.adr')
# To recognize PHP files as HTML with content check.
add_mimetype(mimedb, 'appli... | Recognize WML files on Windows. | py |
diff --git a/mistletoe/span_token.py b/mistletoe/span_token.py
index <HASH>..<HASH> 100644
--- a/mistletoe/span_token.py
+++ b/mistletoe/span_token.py
@@ -21,6 +21,8 @@ class Emphasis(SpanToken):
class InlineCode(SpanToken):
pattern = re.compile(r"`(.+?)`")
+ def __init__(self, content):
+ self.childr... | 🐛 fixed: InlineCode should have RawText as children | py |
diff --git a/GPy/__init__.py b/GPy/__init__.py
index <HASH>..<HASH> 100644
--- a/GPy/__init__.py
+++ b/GPy/__init__.py
@@ -25,3 +25,15 @@ from core.parameterization import Param, Parameterized, ObsAr
@nottest
def tests():
Tester(testing).test(verbose=10)
+
+
+def load(file_path):
+ """
+ Load a previously ... | [pickling] load added to gpy, allows for easy loading of pickled models | py |
diff --git a/messages/views.py b/messages/views.py
index <HASH>..<HASH> 100644
--- a/messages/views.py
+++ b/messages/views.py
@@ -80,6 +80,8 @@ def compose(request, recipient=None, form_class=ComposeForm,
message=_(u"Message successfully sent."))
if success_url is None:
s... | Fixed issue <I> - add next GET var to messages.views.compose view | py |
diff --git a/tests/unit/grains/core_test.py b/tests/unit/grains/core_test.py
index <HASH>..<HASH> 100644
--- a/tests/unit/grains/core_test.py
+++ b/tests/unit/grains/core_test.py
@@ -485,10 +485,11 @@ PATCHLEVEL = 3
log.debug(
'Testing Docker cgroup substring \'%s\'', cgrou... | fix mock for opensuse Opensuse needs a run_all in here, mock it so we don't see an error, and still test the docker stuff | py |
diff --git a/src/toil/test/provisioners/aws/awsProvisionerTest.py b/src/toil/test/provisioners/aws/awsProvisionerTest.py
index <HASH>..<HASH> 100644
--- a/src/toil/test/provisioners/aws/awsProvisionerTest.py
+++ b/src/toil/test/provisioners/aws/awsProvisionerTest.py
@@ -72,7 +72,7 @@ class AWSProvisionerTest(ToilTest):... | Tighten IAM role deletion assertions | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@ from setuptools import find_packages, setup
setup(
name='liveboxplaytv',
- version='1.5.1',
+ version='1.5.2',
license='GPL3',
description='Python bindings for the Orange Livebox Play TV ap... | Require an up to date version of pyteleloisirs | py |
diff --git a/fuse.py b/fuse.py
index <HASH>..<HASH> 100644
--- a/fuse.py
+++ b/fuse.py
@@ -387,12 +387,18 @@ class FUSE(object):
op = partial(self._wrapper, getattr(self, name))
setattr(fuse_ops, name, prototype(op))
- old_handler = signal(SIGINT, SIG_DFL)
+ try:
+ ... | safely save and restore signal handler calls to `signal.signal` not on the main thread would raise a `ValueError`. Resolving by catching that exception and continuing | py |
diff --git a/rtpipe/parsecands.py b/rtpipe/parsecands.py
index <HASH>..<HASH> 100644
--- a/rtpipe/parsecands.py
+++ b/rtpipe/parsecands.py
@@ -160,7 +160,7 @@ def merge_cands(pkllist, outroot='', remove=[], snrmin=0, snrmax=999):
mergetimes.append(times[i])
mergeloc = n.array(mergeloc)
- mergepro... | merge_cands now assumes prop is array | py |
diff --git a/rshell/version.py b/rshell/version.py
index <HASH>..<HASH> 100644
--- a/rshell/version.py
+++ b/rshell/version.py
@@ -1 +1 @@
-__version__ = '0.0.4'
+__version__ = '0.0.5' | Bumped version to <I> | py |
diff --git a/pgmpy/models/DynamicBayesianNetwork.py b/pgmpy/models/DynamicBayesianNetwork.py
index <HASH>..<HASH> 100644
--- a/pgmpy/models/DynamicBayesianNetwork.py
+++ b/pgmpy/models/DynamicBayesianNetwork.py
@@ -486,7 +486,7 @@ class DynamicBayesianNetwork(DirectedGraph):
>>> student.add_nodes_from(['D', 'G... | Fix Example Probabilities must sum to one, or it throws! | py |
diff --git a/pymux/main.py b/pymux/main.py
index <HASH>..<HASH> 100644
--- a/pymux/main.py
+++ b/pymux/main.py
@@ -13,7 +13,6 @@ from prompt_toolkit.interface import CommandLineInterface
from prompt_toolkit.key_binding.vi_state import InputMode, ViState
from prompt_toolkit.layout.screen import Size
from prompt_toolk... | Set render postpone time to <I> (This improves the performance.) | py |
diff --git a/src/urh/controller/OptionsController.py b/src/urh/controller/OptionsController.py
index <HASH>..<HASH> 100644
--- a/src/urh/controller/OptionsController.py
+++ b/src/urh/controller/OptionsController.py
@@ -47,6 +47,8 @@ class OptionsController(QDialog):
self.ui.checkBoxDefaultFuzzingPause.setCheck... | show value of align_labels in checkbox | py |
diff --git a/integration_tests/setup.py b/integration_tests/setup.py
index <HASH>..<HASH> 100755
--- a/integration_tests/setup.py
+++ b/integration_tests/setup.py
@@ -28,6 +28,7 @@ setup(
include_package_data=True,
install_requires=[
'blockstack>=0.14.2',
+ 'pybitcoin>=0.9.8',
'xmlrun... | integration tests depend on pybitcoin, which isn't installed in blockstack-core anymore | py |
diff --git a/Lib/glyphs2ufo/torf.py b/Lib/glyphs2ufo/torf.py
index <HASH>..<HASH> 100644
--- a/Lib/glyphs2ufo/torf.py
+++ b/Lib/glyphs2ufo/torf.py
@@ -179,7 +179,7 @@ def generate_base_fonts(data, italic):
rfont.info.versionMinor = version_minor
if copyright:
- rfont.info.copyright = copy... | catch some encoding problems in Glyph <I> I stopped escaping none ASCII characters in most places. This is most noticeable in the copyright string with the ©-symbol. And the file I used for testing had some illegal chars in the metrics keys. I’ll try to prevent this in the future... | py |
diff --git a/pandas/tests/groupby/test_groupby.py b/pandas/tests/groupby/test_groupby.py
index <HASH>..<HASH> 100644
--- a/pandas/tests/groupby/test_groupby.py
+++ b/pandas/tests/groupby/test_groupby.py
@@ -2658,3 +2658,26 @@ def test_pad_backfill_deprecation():
s.groupby(level=0).backfill()
with tm.asser... | TST: Add test case for groupby where by column contains values with same starting value (#<I>) GH<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -1,17 +1,28 @@
from distutils.core import setup
+short_description = 'Robot Framework wrapper for faker, a fake test data generator'
+try:
+ description = open('README.md').read()
+except IOError:
+ description = sh... | Fixing setup.py to allow for repackaging on 3rd party PyPi servers | py |
diff --git a/tower_cli/cli/transfer/send.py b/tower_cli/cli/transfer/send.py
index <HASH>..<HASH> 100644
--- a/tower_cli/cli/transfer/send.py
+++ b/tower_cli/cli/transfer/send.py
@@ -769,7 +769,12 @@ class Sender(LoggingCommand):
continue
# Build an asset for this node
- built... | Fixed issue where failure to create a workflow node would cause an unhandled exception | py |
diff --git a/modelforge/index.py b/modelforge/index.py
index <HASH>..<HASH> 100644
--- a/modelforge/index.py
+++ b/modelforge/index.py
@@ -1,6 +1,7 @@
import json
import logging
import os
+import shutil
from typing import Optional
from urllib.parse import urlparse
@@ -107,8 +108,17 @@ class GitIndex:
... | Remove the index cache if there is a problem Fixes #<I> | py |
diff --git a/mysql/toolkit/components/connector.py b/mysql/toolkit/components/connector.py
index <HASH>..<HASH> 100644
--- a/mysql/toolkit/components/connector.py
+++ b/mysql/toolkit/components/connector.py
@@ -84,7 +84,6 @@ class Connector:
return rows[0] if len(rows) == 1 else rows
excep... | Removed disconnect call from _fetch method exception | py |
diff --git a/devassistant/bin.py b/devassistant/bin.py
index <HASH>..<HASH> 100644
--- a/devassistant/bin.py
+++ b/devassistant/bin.py
@@ -1,2 +1,18 @@
+from devassistant import argument
+from devassistant import assistant_base
+from devassistant import settings
+
+# for now, import Assistants by hand, but we may want ... | Basic setup code for bin, proof of concept that the assistant chain is loaded properly | py |
diff --git a/runtests.py b/runtests.py
index <HASH>..<HASH> 100755
--- a/runtests.py
+++ b/runtests.py
@@ -1,11 +1,10 @@
#!/usr/bin/env python
import optparse
+import os
import sys
import unittest
-from walrus import tests
-
def runtests(verbose=False, failfast=False, names=None):
if names:
suite... | Add test-runner option to run zpop* tests. | py |
diff --git a/zengine/lib/catalog_data.py b/zengine/lib/catalog_data.py
index <HASH>..<HASH> 100644
--- a/zengine/lib/catalog_data.py
+++ b/zengine/lib/catalog_data.py
@@ -65,6 +65,18 @@ class CatalogData(object):
"""
return self._get_from_local_cache(cat) or self._get_from_cache(cat) or self._get_from... | ADD, catalog_data_results as dict implementation is taken to under catalog data manager. | py |
diff --git a/openquake/utils/db/loader.py b/openquake/utils/db/loader.py
index <HASH>..<HASH> 100644
--- a/openquake/utils/db/loader.py
+++ b/openquake/utils/db/loader.py
@@ -534,9 +534,8 @@ class SourceModelLoader(object):
# for now, just skip this object
continue
- data ... | re-enabled database serialization Former-commit-id: <I>b7aece<I>da<I>d5bbfcc<I>ac2fd<I>bd0 | py |
diff --git a/maintain/release/aggregate.py b/maintain/release/aggregate.py
index <HASH>..<HASH> 100644
--- a/maintain/release/aggregate.py
+++ b/maintain/release/aggregate.py
@@ -52,7 +52,7 @@ class AggregateReleaser(Releaser):
for releaser in self.releasers:
next_version = releaser.determine_curr... | [release] Allow unreleased releasers when checking consistency | py |
diff --git a/salt/states/mount.py b/salt/states/mount.py
index <HASH>..<HASH> 100644
--- a/salt/states/mount.py
+++ b/salt/states/mount.py
@@ -319,10 +319,12 @@ def mounted(name,
mount_invisible_keys = [
'actimeo',
'comment',
+ 'credentials',... | Add credentials and secretfile to mount.mounted mount_invisible_keys Add 'credentails' and 'secretfile' to mount_invisible_keys because these keys don't appear in /proc/self/mountinfo and therefore trigger a forced remount of the share every time the state is run. Fixes #<I> and #<I> | py |
diff --git a/imagen/patterngenerator.py b/imagen/patterngenerator.py
index <HASH>..<HASH> 100644
--- a/imagen/patterngenerator.py
+++ b/imagen/patterngenerator.py
@@ -643,6 +643,3 @@ class ComposeChannels(ChannelGenerator):
self._channel_data = c(self._channel_data)
return sum(act for act in sel... | Default Pattern colormap is now 'hot' instead of grayscale | py |
diff --git a/eli5/lime/samplers.py b/eli5/lime/samplers.py
index <HASH>..<HASH> 100644
--- a/eli5/lime/samplers.py
+++ b/eli5/lime/samplers.py
@@ -131,6 +131,7 @@ class MultivariateKernelDensitySampler(_BaseKernelDensitySampler):
def sample_near(self, doc, n_samples=1):
# XXX: it doesn't sample only near ... | support lists in MultivariateKernelDensitySampler.sample_near | py |
diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py
index <HASH>..<HASH> 100644
--- a/saltapi/netapi/rest_cherrypy/app.py
+++ b/saltapi/netapi/rest_cherrypy/app.py
@@ -1022,13 +1022,13 @@ class Events(object):
browser may instead pass the :mailheader:`X-Auth-Token` value as a... | Add -N flag to all curl examples for consuming an HTTP stream | py |
diff --git a/plenum/persistence/req_id_to_txn.py b/plenum/persistence/req_id_to_txn.py
index <HASH>..<HASH> 100644
--- a/plenum/persistence/req_id_to_txn.py
+++ b/plenum/persistence/req_id_to_txn.py
@@ -40,7 +40,7 @@ class ReqIdrToTxn:
return int(parse_data[0]), int(parse_data[1])
def _get_value(self, l... | INDY-<I>: fix bug with strings concatenation | py |
diff --git a/tests/test_aio.py b/tests/test_aio.py
index <HASH>..<HASH> 100644
--- a/tests/test_aio.py
+++ b/tests/test_aio.py
@@ -1,6 +1,8 @@
import pytest
import six
import struct
+import warnings
+import sys
import asyncio
import consul
@@ -365,3 +367,18 @@ class TestAsyncioConsul(object):
c.clos... | not working test for __del__ method | py |
diff --git a/snipsmanagercore/state_handler.py b/snipsmanagercore/state_handler.py
index <HASH>..<HASH> 100644
--- a/snipsmanagercore/state_handler.py
+++ b/snipsmanagercore/state_handler.py
@@ -36,5 +36,5 @@ class StateHandler:
elif state == State.session_started:
pass
elif state == Stat... | Removing the sound when the session is ended | py |
diff --git a/torchvision/ops/giou_loss.py b/torchvision/ops/giou_loss.py
index <HASH>..<HASH> 100644
--- a/torchvision/ops/giou_loss.py
+++ b/torchvision/ops/giou_loss.py
@@ -37,9 +37,6 @@ def generalized_box_iou_loss(
x1, y1, x2, y2 = boxes1.unbind(dim=-1)
x1g, y1g, x2g, y2g = boxes2.unbind(dim=-1)
- as... | remove debugging asserts (#<I>) fixes issue #<I> | py |
diff --git a/nipap/nipap/nipap.py b/nipap/nipap/nipap.py
index <HASH>..<HASH> 100644
--- a/nipap/nipap/nipap.py
+++ b/nipap/nipap/nipap.py
@@ -1713,6 +1713,9 @@ class Nipap:
else:
col_prefix = table_name + "."
+ if 'val1' not in query or 'val2' not in query:
+ raise NipapInputE... | query must contain val1 and val2.. | py |
diff --git a/jaraco/util/input.py b/jaraco/util/input.py
index <HASH>..<HASH> 100644
--- a/jaraco/util/input.py
+++ b/jaraco/util/input.py
@@ -1,11 +1,18 @@
+"""
+This module currently provides a cross-platform getch function
+"""
+
try:
- # Win32
+ # Windows
from msvcrt import getch
except ImportError:
- # UNIX
... | Refactored input (imports now happen once) | py |
diff --git a/src/classdiff.py b/src/classdiff.py
index <HASH>..<HASH> 100644
--- a/src/classdiff.py
+++ b/src/classdiff.py
@@ -876,12 +876,12 @@ def _opt_cb_ignore(_opt, _opt_str, value, parser):
ignore = getattr(options, "ignore", None)
if ignore is None:
- options.ignore = value
- else:
- ... | tweaking the --ignore option to be stored as a list rather than a string. Also make sure that it works from multiple invocations | py |
diff --git a/pyontutils/core.py b/pyontutils/core.py
index <HASH>..<HASH> 100644
--- a/pyontutils/core.py
+++ b/pyontutils/core.py
@@ -974,9 +974,6 @@ class makeGraph:
qname = ':'.join((prefix, name))
return qname
except (KeyError, ValueError) as e:
- for k, v in self.g.nam... | the problem was indeed fixed in rdflib turns out I had rdflib -b2 installed instead of -b4 installed in <I> | py |
diff --git a/cnxepub/html_parsers.py b/cnxepub/html_parsers.py
index <HASH>..<HASH> 100644
--- a/cnxepub/html_parsers.py
+++ b/cnxepub/html_parsers.py
@@ -21,7 +21,7 @@ def _squash_to_text(elm):
for child in elm.getchildren():
value.append(etree.tostring(child).decode('utf-8'))
value.append(child... | Allow html within the nav parsed titles | py |
diff --git a/lhc/database/snpcdf.py b/lhc/database/snpcdf.py
index <HASH>..<HASH> 100644
--- a/lhc/database/snpcdf.py
+++ b/lhc/database/snpcdf.py
@@ -180,6 +180,7 @@ class NetCDFMarkerSet(object):
npos = sum(len(chm_poss) for chm, chm_poss in poss.iteritems())
self.data.createDimension('gens', None)
... | Still having problems with netCDF. Trying to initialise gens variable early. | py |
diff --git a/PyFunceble/cli/system/launcher.py b/PyFunceble/cli/system/launcher.py
index <HASH>..<HASH> 100644
--- a/PyFunceble/cli/system/launcher.py
+++ b/PyFunceble/cli/system/launcher.py
@@ -817,13 +817,14 @@ class SystemLauncher(SystemBase):
Starts our core processes.
"""
- self.producer... | Fix issue with preloading. Indeed, before this patch, there was a bug which was preventing the preloading of multiple files. In other words, when multiple files are given with the --preload argument the preloading of the second file stopped abruptly because I was trying to start our core processes. But, they already e... | py |
diff --git a/estnltk/taggers/web_tagger.py b/estnltk/taggers/web_tagger.py
index <HASH>..<HASH> 100644
--- a/estnltk/taggers/web_tagger.py
+++ b/estnltk/taggers/web_tagger.py
@@ -11,7 +11,7 @@ class WebTagger(Tagger):
__slots__ = []
conf_param = ['url']
- def _make_layer(self, text: Text, layers: Mutable... | extracted post_request from WebTagger._make_layer | py |
diff --git a/dimod/decorators.py b/dimod/decorators.py
index <HASH>..<HASH> 100644
--- a/dimod/decorators.py
+++ b/dimod/decorators.py
@@ -65,7 +65,7 @@ def bqm_index_labelled_input(var_labels_arg_name, samples_arg_names):
specified sample-like inputs are index labelled and consistent.
Args:
- sample... | Correct typo in decorator docstring | py |
diff --git a/aikif/toolbox/file_tools.py b/aikif/toolbox/file_tools.py
index <HASH>..<HASH> 100644
--- a/aikif/toolbox/file_tools.py
+++ b/aikif/toolbox/file_tools.py
@@ -46,13 +46,13 @@ def copy_file(src, dest):
except Exception as ex:
print('ERROR copying ' + src + '\n to ' + dest + str(ex))
-def ... | copy files to folder takes xtn filter as param instead of hard code to *.txt | py |
diff --git a/s3transfer/futures.py b/s3transfer/futures.py
index <HASH>..<HASH> 100644
--- a/s3transfer/futures.py
+++ b/s3transfer/futures.py
@@ -196,8 +196,10 @@ class BoundedExecutor(object):
The executor will block if the number of tasks that have been
submitted and is currently working on is past... | Update a docstring about the bounded executor | py |
diff --git a/chess/__init__.py b/chess/__init__.py
index <HASH>..<HASH> 100644
--- a/chess/__init__.py
+++ b/chess/__init__.py
@@ -1310,7 +1310,7 @@ class BaseBoard(object):
@classmethod
def from_chess960_sp(cls, sharnagl):
"""
- Creates a new empty board, initialized to a Chess960 starting po... | Fix cut and paste error: New board is not empty | py |
diff --git a/runcommands/run.py b/runcommands/run.py
index <HASH>..<HASH> 100644
--- a/runcommands/run.py
+++ b/runcommands/run.py
@@ -3,7 +3,7 @@ import sys
from configparser import ConfigParser
from . import __version__
-from .command import Command
+from .command import command, Command
from .const import DEFAU... | Allow Command to be passed to read_run_args_from_file() When a `Command` is passed, the section to read is derived from the command's name. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -13,6 +13,7 @@ def read(name):
setup(name='WSGIProxy2',
version=version,
long_description=read('README.rst') + '\n' + read('CHANGES.rst'),
+ description='A WSGI Proxy with various http client backends',
... | Update setup.py Adding description to setup.py | py |
diff --git a/Lib/glyphsLib/builder/glyph.py b/Lib/glyphsLib/builder/glyph.py
index <HASH>..<HASH> 100644
--- a/Lib/glyphsLib/builder/glyph.py
+++ b/Lib/glyphsLib/builder/glyph.py
@@ -260,7 +260,7 @@ def to_ufo_glyph(self, ufo_glyph, layer, glyph, do_color_layers=True): # noqa:
if metric_layer:
w... | I had changed that earlier, now changing it back | py |
diff --git a/source/rafcon/statemachine/start.py b/source/rafcon/statemachine/start.py
index <HASH>..<HASH> 100755
--- a/source/rafcon/statemachine/start.py
+++ b/source/rafcon/statemachine/start.py
@@ -47,7 +47,9 @@ def post_setup_plugins(parser_result):
:param dict parser_result: Dictionary with the parsed arg... | Allow to call post_setup_plugins with a dict | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.