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
@@ -15,6 +15,7 @@ setup(
packages=[
'bors',
'bors.api',
+ 'bors.api.adapter',
'bors.app',
'bors.common',
'bors.generics', | Updated setup.py with package info | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -8,7 +8,7 @@ from setuptools import setup, find_packages
setup(
name='SATOSA',
- version='0.3',
+ version='0.3.1',
description='',
author='DIRG',
author_email='dirg@its.umu.se', | Update version in setup.py. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,16 +17,13 @@ except ImportError:
readme = lambda f: open(f, "r").read()
requirements = [
- "fuzzywuzzy==0.3.2"
-]
-
-test_requirements = [
- "fuzzywuzzy==0.3.2"
+ "fuzzywuzzy==0.4.0",
+ "requests-oauthl... | Updated version number for the <I> release. | py |
diff --git a/ddsc/core/ddsapi.py b/ddsc/core/ddsapi.py
index <HASH>..<HASH> 100644
--- a/ddsc/core/ddsapi.py
+++ b/ddsc/core/ddsapi.py
@@ -19,7 +19,7 @@ This may be due to an incompatible DukeDS API change.
Try upgrading ddsclient: pip install --upgrade DukeDSClient
"""
-DEFAULT_RESULTS_PER_PAGE = 10000
+DEFAULT_RE... | lower results per page threadshold to prevent <I> heroku timeout errors | py |
diff --git a/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py b/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py
index <HASH>..<HASH> 100644
--- a/contrib/go/src/python/pants/contrib/go/subsystems/go_distribution.py
+++ b/contrib/go/src/python/pants/contrib/go/subsystems/go_distr... | Bump the default Go distribution to <I>. Testing Done: CI went green here: <URL> | py |
diff --git a/src/feat/database/conflicts.py b/src/feat/database/conflicts.py
index <HASH>..<HASH> 100644
--- a/src/feat/database/conflicts.py
+++ b/src/feat/database/conflicts.py
@@ -427,7 +427,8 @@ def cleanup_logs(connection, rconnection):
in_conflict, raw_doc = yield _check_conflict(connection, owner_id)
... | One more fix for the cleanup_logs() call for a removed document. | py |
diff --git a/aiogram/dispatcher/webhook.py b/aiogram/dispatcher/webhook.py
index <HASH>..<HASH> 100644
--- a/aiogram/dispatcher/webhook.py
+++ b/aiogram/dispatcher/webhook.py
@@ -67,7 +67,6 @@ class WebhookRequestHandler(web.View):
"""
data = await self.request.json()
update = types.Update(**... | Bot object has no longer provide prepare_object | py |
diff --git a/kubernetes/client/ws_client.py b/kubernetes/client/ws_client.py
index <HASH>..<HASH> 100644
--- a/kubernetes/client/ws_client.py
+++ b/kubernetes/client/ws_client.py
@@ -168,11 +168,13 @@ class WSClient:
data = frame.data
if six.PY3:
data = data.decode... | Remove channel id from exec response in blocking mode | py |
diff --git a/ohapi/api.py b/ohapi/api.py
index <HASH>..<HASH> 100644
--- a/ohapi/api.py
+++ b/ohapi/api.py
@@ -166,8 +166,7 @@ def delete_file(access_token, project_member_id, base_url=OH_BASE_URL,
raise ValueError(
"One (and only one) of the following must be specified: "
"file_basen... | Fix bug in delete_file (#<I>) | py |
diff --git a/pupa/models/schemas/bill.py b/pupa/models/schemas/bill.py
index <HASH>..<HASH> 100644
--- a/pupa/models/schemas/bill.py
+++ b/pupa/models/schemas/bill.py
@@ -118,7 +118,8 @@ schema = {
"session": {"type": "string", "description": "Session of related bill."},
"name"... | Add replaced-by and replaces relation (Closes: #<I>) | py |
diff --git a/requirements.py b/requirements.py
index <HASH>..<HASH> 100644
--- a/requirements.py
+++ b/requirements.py
@@ -1,5 +1,5 @@
install_requires = [
- 'docker-py==1.7.0',
+ 'docker-py==1.7.2',
'PyYAML==3.11',
'PrettyTable==0.7.0',
'github3.py==1.3.0', | Upgrade docker-py to <I> Fixes issue when docker’s config.json is present | py |
diff --git a/troposphere/iam.py b/troposphere/iam.py
index <HASH>..<HASH> 100644
--- a/troposphere/iam.py
+++ b/troposphere/iam.py
@@ -79,6 +79,7 @@ class Role(AWSObject):
'ManagedPolicyArns': ([basestring], False),
'MaxSessionDuration': (integer, False),
'Path': (iam_path, False),
+ '... | Adds support for Permissions Boundaries on AWS::IAM::Role and AWS::IAM::User (#<I>) | py |
diff --git a/beprof/profile.py b/beprof/profile.py
index <HASH>..<HASH> 100644
--- a/beprof/profile.py
+++ b/beprof/profile.py
@@ -138,6 +138,7 @@ class LateralProfile(Profile):
return
self.metadata = getattr(obj, 'metadata', {})
+
def left_penumbra(self, upper=0.9, lower=0.1):
ret... | Changed all array_finalize Now it should all work as it is supposed to | py |
diff --git a/tests/test_asymetric.py b/tests/test_asymetric.py
index <HASH>..<HASH> 100644
--- a/tests/test_asymetric.py
+++ b/tests/test_asymetric.py
@@ -51,6 +51,17 @@ class TestUtil(unittest.TestCase):
self.pkcs11.closeAllSessions(self.slot)
del self.pkcs11
+ def test_sign_integer(self):
+ ... | test_asymetric: check sign(.., integer, ..) Check it is not possible to call sign() with an integer as value for data. An integer value shall be converted to a list of bytes by the application. | py |
diff --git a/pybase16_builder/updater.py b/pybase16_builder/updater.py
index <HASH>..<HASH> 100644
--- a/pybase16_builder/updater.py
+++ b/pybase16_builder/updater.py
@@ -74,14 +74,14 @@ def update(custom_sources=False, verbose=False):
if not custom_sources:
print("Creating sources.yaml…")
... | Fix to allow full usage of a custom sources.yaml. | py |
diff --git a/docs/source/conf.py b/docs/source/conf.py
index <HASH>..<HASH> 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -38,6 +38,7 @@ extensions = [
'sphinxcontrib.napoleon',
]
+mathjax_path = 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
#autosummary_gener... | Fix displaying equations on readthedocs. Was requesting mathjax via http on https site. See sphinx-doc/sphinx#<I> | py |
diff --git a/tests/test_task.py b/tests/test_task.py
index <HASH>..<HASH> 100644
--- a/tests/test_task.py
+++ b/tests/test_task.py
@@ -45,7 +45,7 @@ class TestTaskToBeCreated:
assert task.enabled is True
assert task.__repr__() == "Daily task 'myscript.py' ready to be created"
- def test_instantia... | #<I> removes unnecessary mocker from tasks test. by Piotr | py |
diff --git a/pyecore/commands.py b/pyecore/commands.py
index <HASH>..<HASH> 100644
--- a/pyecore/commands.py
+++ b/pyecore/commands.py
@@ -281,7 +281,8 @@ class Delete(AbstractCommand):
def can_execute(self):
self.feature = self.owner.eContainmentFeature()
self.references = {}
- elements =... | Fix python <I>/<I> compatibility The expension syntax had been introduced in python <I>: >>> elements = {self.owner, *self.owner.eAllContents()} is not compatible with python <I>/<I>. This commit changes this statement to a double one: >>> elements = {self.owner} >>> elements.update(self.eAllContents()) | py |
diff --git a/bfg9000/builtins/__init__.py b/bfg9000/builtins/__init__.py
index <HASH>..<HASH> 100644
--- a/bfg9000/builtins/__init__.py
+++ b/bfg9000/builtins/__init__.py
@@ -31,4 +31,5 @@ def bind(build_inputs, env):
result = {}
for k, v in _all_builtins.iteritems():
result[k] = v.bind(build_inputs,... | Make the Environment object available to build.bfg files | py |
diff --git a/tibiapy/highscores.py b/tibiapy/highscores.py
index <HASH>..<HASH> 100644
--- a/tibiapy/highscores.py
+++ b/tibiapy/highscores.py
@@ -234,6 +234,8 @@ class Highscores(abc.Serializable):
cols_raw = row.find_all('td')
if "There is currently no data" in cols_raw[0].text:
... | Fixed highscores parsing | py |
diff --git a/salt/utils/parsers.py b/salt/utils/parsers.py
index <HASH>..<HASH> 100644
--- a/salt/utils/parsers.py
+++ b/salt/utils/parsers.py
@@ -867,8 +867,11 @@ class DaemonMixIn(six.with_metaclass(MixInMeta, object)):
)
def _mixin_before_exit(self):
- if self.check_pidfile():
- os.... | Fix max recursion error when passed flags like `--version` or `--help` The recursion happened because the merged config dictionary is not evaluated for those kind of flags. | py |
diff --git a/dallinger/prolific.py b/dallinger/prolific.py
index <HASH>..<HASH> 100644
--- a/dallinger/prolific.py
+++ b/dallinger/prolific.py
@@ -1,6 +1,6 @@
import logging
import requests
-from typing import Optional
+from typing import List, Optional
logger = logging.getLogger(__file__)
@@ -33,7 +33,7 @@ clas... | Attempt to do type hints compatibly with python <I> | py |
diff --git a/tests/test_frames.py b/tests/test_frames.py
index <HASH>..<HASH> 100644
--- a/tests/test_frames.py
+++ b/tests/test_frames.py
@@ -568,5 +568,5 @@ def test_get_collection(mongo_client):
assert False
def test_get_db(mongo_client):
- """@@ Return the database for the collection"""
- assert False... | Tests passing for get db | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -4,10 +4,15 @@
import os
import sys
import glob
+import shutil
import subprocess as sp
-from setuptools import setup, Extension
-from setuptools.command.build_ext import build_ext
+try:
+ from setuptools import setup,... | making build+install work with clean checkout | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -1148,6 +1148,7 @@ class RelatedFieldTests(BasePeeweeTestCase):
Blog: ['*'],
Entry: [peewee.Max('title', 'max_title')],
}).join(Entry).order_by(peewee.desc('max_title')).group_by(Blog)
+ ... | Adding a test case for custom aggregator | py |
diff --git a/anndata/base.py b/anndata/base.py
index <HASH>..<HASH> 100644
--- a/anndata/base.py
+++ b/anndata/base.py
@@ -454,6 +454,10 @@ class Raw(IndexMixin):
return X.flatten()
else:
return self._X
+
+ @property
+ def shape(self):
+ return sel... | Add a `shape` property for `Raw`. (#<I>) | py |
diff --git a/holoviews/plotting/mpl/chart3d.py b/holoviews/plotting/mpl/chart3d.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/mpl/chart3d.py
+++ b/holoviews/plotting/mpl/chart3d.py
@@ -167,7 +167,7 @@ class SurfacePlot(Plot3D):
style_opts = ['antialiased', 'cmap', 'color', 'shade',
'... | Expose edgecolors for 3D surface plots Because the default style in mpl <I> was changed from 'k' to 'w' I exposed the `edgecolors` style option to change it back if wanted. | py |
diff --git a/alot/account.py b/alot/account.py
index <HASH>..<HASH> 100644
--- a/alot/account.py
+++ b/alot/account.py
@@ -359,11 +359,11 @@ class SendmailAccount(Account):
def errb(failure):
"""The callback used on error."""
termobj = failure.value
- errmsg = '%s failed wi... | Print stderr of failed sendmail cmd in prompt. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -147,6 +147,13 @@ def extensions():
]
if USE_CYTHON: # if we have cython available now, cythonize module
exts = cythonize(exts)
+ else:
+ # replace pyx files by their pre generated c code.
... | [setup] use pre-cythonized files, if cython has not been requested during build. | py |
diff --git a/graftm/hmmer.py b/graftm/hmmer.py
index <HASH>..<HASH> 100644
--- a/graftm/hmmer.py
+++ b/graftm/hmmer.py
@@ -4,7 +4,7 @@ import itertools
import logging
import tempfile
import subprocess
-
+from Bio import Seq
from Bio import SeqIO
from Bio.Alphabet import generic_dna
from collections import Ordered... | Bootstrapping orfs called accurately now. | py |
diff --git a/yasi.py b/yasi.py
index <HASH>..<HASH> 100644
--- a/yasi.py
+++ b/yasi.py
@@ -1004,21 +1004,23 @@ def _after_indentation(indentation_state, options=None, fpath=''):
if opts.warning:
sys.stderr.write(message % tpl)
- if md5sum(indented_code.encode('utf-8')) == md5sum(original_code... | Fix: wasn't writing to output file when the source files code is already indented | py |
diff --git a/lore/__init__.py b/lore/__init__.py
index <HASH>..<HASH> 100644
--- a/lore/__init__.py
+++ b/lore/__init__.py
@@ -17,7 +17,7 @@ __author__ = 'Montana Low and Jeremy Stanley'
__copyright__ = 'Copyright © 2017, Instacart'
__credits__ = ['Montana Low', 'Jeremy Stanley', 'Emmanuel Turlay', 'Shrikar Archak']
... | fix for multiprocessing pipeline encoders | py |
diff --git a/glances/glances.py b/glances/glances.py
index <HASH>..<HASH> 100755
--- a/glances/glances.py
+++ b/glances/glances.py
@@ -44,7 +44,7 @@ import json
import collections
# Somes libs depends of OS
-is_Bsd = sys.platform.endswith('bsd')
+is_Bsd = sys.platform.find('bsd') != -1
is_Linux = sys.platform.star... | Correct #Issue #<I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -68,7 +68,7 @@ setup(license="Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)",
"wheel",
],
tests_require=[
- "pytest>=5.6",
+ "pytest>=5.3",
"pytest-cov>=2... | fixed bogus version pin in setup.py | py |
diff --git a/pysoundfile.py b/pysoundfile.py
index <HASH>..<HASH> 100644
--- a/pysoundfile.py
+++ b/pysoundfile.py
@@ -1146,7 +1146,7 @@ class SoundFile(object):
if self.seekable():
curr = self.seek(0, SEEK_CUR)
func = getattr(_snd, funcname + ffi_type)
- ptr = _ffi.cast(ffi_type +... | Use __array_interface__ instead of array.ctypes.data Currently, PyPy doesn't support latter. | py |
diff --git a/runtests.py b/runtests.py
index <HASH>..<HASH> 100755
--- a/runtests.py
+++ b/runtests.py
@@ -165,6 +165,14 @@ class TracGitHubTests(unittest.TestCase):
conf.set('repositories', 'nogh.dir', os.path.realpath('%s/.git' % NOGHGIT))
conf.set('repositories', 'nogh.type', 'git')
+ # Sh... | tests: Add test coverage for GitHubPolicy GitHubPolicy.check_permission did not yet have test coverage. Enable a few options that will at least run the code. | 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
@@ -36,7 +36,7 @@ import geoalchemy
import numpy
import sqlalchemy
-from openquake import java
+from openquake import java, xml
from openquake.u... | Set openquake.nrml.schema for SourceModelReader. | py |
diff --git a/holoviews/streams.py b/holoviews/streams.py
index <HASH>..<HASH> 100644
--- a/holoviews/streams.py
+++ b/holoviews/streams.py
@@ -135,12 +135,20 @@ class Stream(param.Parameterized):
needs to be called once.
"""
# Union of stream contents
- items = [stream.contents.items()... | De-duplicating stream contents by value (#<I>) | py |
diff --git a/progressbar/__about__.py b/progressbar/__about__.py
index <HASH>..<HASH> 100644
--- a/progressbar/__about__.py
+++ b/progressbar/__about__.py
@@ -19,7 +19,7 @@ A Python Progressbar library to provide visual (yet text based) progress to
long running operations.
'''.strip().split())
__email__ = 'wolph@wol... | Incrementing version to <I> | 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
@@ -1380,7 +1380,8 @@ class EditorStack(QWidget):
if self.inspector is not None and self.inspector.dockwidget.isVisible():
# Objec... | Fixed Issue <I>: after calling object inspector automatically (with 'object inspector link' feature), the editor was loosing focus | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -136,6 +136,6 @@ setup(
ext_modules=extensions,
setup_requires=['numpy'],
install_requires=['numpy>=1.9.2', 'six'],
- tests_require=['nose', 'decorator', 'trollius', 'netifaces'],
+ tests_require=['nose', ... | Remove accidentally added netifaces dependency | py |
diff --git a/fades/pipmanager.py b/fades/pipmanager.py
index <HASH>..<HASH> 100644
--- a/fades/pipmanager.py
+++ b/fades/pipmanager.py
@@ -83,5 +83,7 @@ class PipManager():
logger.debug("Installing PIP manually in the virtualenv")
python_exe = os.path.join(self.env_bin_path, "python")
- helpe... | Make pip install pip where we need to and not where it wrongly assumes when it's inside a venv. | py |
diff --git a/gffutils/db.py b/gffutils/db.py
index <HASH>..<HASH> 100644
--- a/gffutils/db.py
+++ b/gffutils/db.py
@@ -170,24 +170,13 @@ class GFFDBCreator(DBCreator):
fout = open(tmp, 'w')
for parent in c:
parent = parent[0]
-
- # Here we get the first-level child from the ini... | better nested query for updating parent/child relations | py |
diff --git a/vulture/core.py b/vulture/core.py
index <HASH>..<HASH> 100644
--- a/vulture/core.py
+++ b/vulture/core.py
@@ -38,7 +38,7 @@ import sys
from vulture import lines
from vulture import utils
-__version__ = '0.23'
+__version__ = '0.24'
DEFAULT_CONFIDENCE = 60 | Update version number to <I> for release. | py |
diff --git a/jax/lax/lax_control_flow.py b/jax/lax/lax_control_flow.py
index <HASH>..<HASH> 100644
--- a/jax/lax/lax_control_flow.py
+++ b/jax/lax/lax_control_flow.py
@@ -277,6 +277,16 @@ batching.primitive_batchers[while_p] = _while_loop_batching_rule
### cond
def cond(pred, true_operand, true_fun, false_operand, ... | Minimal docstring for lax.cond This could be improved further by adding Args/Returns, but this should suffice for most purposes. | py |
diff --git a/icekit/publishing/managers.py b/icekit/publishing/managers.py
index <HASH>..<HASH> 100644
--- a/icekit/publishing/managers.py
+++ b/icekit/publishing/managers.py
@@ -54,6 +54,11 @@ class DraftItemBoobyTrap(object):
'pk',
'language_code',
'get_current_language',
+ # Fields ... | anyurl_field accesses get_absolute_url on the chosen instance which is a draft, so as an interim approach we need to add it to DEFAULT_PERMITTED_ATTRS. There's an edge case bug which is if the URLs are different between draft and published versions, this will break. | py |
diff --git a/hwt/serializer/vhdl/ops.py b/hwt/serializer/vhdl/ops.py
index <HASH>..<HASH> 100644
--- a/hwt/serializer/vhdl/ops.py
+++ b/hwt/serializer/vhdl/ops.py
@@ -178,7 +178,7 @@ class VhdlSerializer_ops():
op0 = cls._as_Bits(ops[0], ctx)
op1 = cls._as_Bits(ops[1], ctx)
... | vhdl: fix missing parenthesis around different operator in sequence | py |
diff --git a/opinel/__init__.py b/opinel/__init__.py
index <HASH>..<HASH> 100644
--- a/opinel/__init__.py
+++ b/opinel/__init__.py
@@ -1,2 +1,2 @@
__author__ = 'l01cd3v'
-__version__ = '3.0.8'
+__version__ = '3.0.9' | Bump opinel version | py |
diff --git a/lhc/tools.py b/lhc/tools.py
index <HASH>..<HASH> 100644
--- a/lhc/tools.py
+++ b/lhc/tools.py
@@ -4,6 +4,9 @@ from collections import deque
from itertools import repeat
class enum(set):
+ def __contains__(self, key):
+ return super(enum, self).__contains__(key)
+
def __getitem__(self... | added __contains__ to enum | py |
diff --git a/organizations/backends/forms.py b/organizations/backends/forms.py
index <HASH>..<HASH> 100644
--- a/organizations/backends/forms.py
+++ b/organizations/backends/forms.py
@@ -47,6 +47,13 @@ class UserRegistrationForm(forms.ModelForm):
super(UserRegistrationForm, self).__init__(*args, **kwargs)
... | Adding clean function to UserRegistrationForm to check password_confirm. The UserRegistrationForm used by both the included RegistrationBackend and InvitationBackend contains a password_confirm field, but does not actually verify that the password and password_confirm fields match before accepting the form submission ... | py |
diff --git a/nodeconductor/iaas/models.py b/nodeconductor/iaas/models.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/iaas/models.py
+++ b/nodeconductor/iaas/models.py
@@ -280,3 +280,33 @@ class Purchase(core_models.UuidMixin, models.Model):
'date': self.date,
}
+
+class InstanceSecurityGroup... | InstanceSecurityGroup model | py |
diff --git a/tools/watch_performance.py b/tools/watch_performance.py
index <HASH>..<HASH> 100755
--- a/tools/watch_performance.py
+++ b/tools/watch_performance.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# This file is part of VoltDB.
-# Copyright (C) 2008-2016 VoltDB Inc.
+# Copyright (C) 2008-2017 VoltDB Inc.
#
# ... | copyright update (cherry picked from commit f<I>f9b8ce<I>c5ca<I>f<I>cd<I>f<I>b) | py |
diff --git a/sos/plugins/pacemaker.py b/sos/plugins/pacemaker.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/pacemaker.py
+++ b/sos/plugins/pacemaker.py
@@ -45,6 +45,8 @@ class Pacemaker(Plugin):
self.add_cmd_output([
"pcs config",
"pcs status",
+ "pcs stonith sbd status"... | [pacemaker] only run pcs commands on systems that support it pcs commands should be run in pcs_setup() rather than setup(), so they are only called on distributions that ship pcs Related: #<I> | py |
diff --git a/ayrton/tests/test_ayrton.py b/ayrton/tests/test_ayrton.py
index <HASH>..<HASH> 100644
--- a/ayrton/tests/test_ayrton.py
+++ b/ayrton/tests/test_ayrton.py
@@ -340,6 +340,10 @@ echo (a.exit_code ())''')
self.assertEqual (self.r.read (), b'yes!\n0\n')
# ayrton.runner.wait_for_pending_childre... | [*] separate remote() tests to its own class. | py |
diff --git a/validator/txnserver/validator.py b/validator/txnserver/validator.py
index <HASH>..<HASH> 100644
--- a/validator/txnserver/validator.py
+++ b/validator/txnserver/validator.py
@@ -403,8 +403,10 @@ class Validator(object):
if not self._connect_to_peers():
reactor.callLater(2.0, self.init... | skip journal transfer if journal has been restored If we have local state, we do not want to overwrite it. We've performed the following manual QA at this commit: -- tested that Endpoint Registry state is properly restored via the http interface (by temporarily disabling self registration on a va... | py |
diff --git a/metanl/freeling.py b/metanl/freeling.py
index <HASH>..<HASH> 100644
--- a/metanl/freeling.py
+++ b/metanl/freeling.py
@@ -8,7 +8,7 @@ UNSAFE_RE = re.compile('[' + UNSAFE_CHARS + ']')
class FreelingWrapper(ProcessWrapper):
"""
- Handle Spanish, Italian, Portuguese, or Welsh text by calling an
+ ... | oh right, English is a language too | py |
diff --git a/Lib/fontParts/base/glyph.py b/Lib/fontParts/base/glyph.py
index <HASH>..<HASH> 100644
--- a/Lib/fontParts/base/glyph.py
+++ b/Lib/fontParts/base/glyph.py
@@ -1975,11 +1975,6 @@ class BaseGlyph(BaseObject, TransformationMixin, DeprecatedGlyph):
"""
)
- def _get_base_lib(self):
- li... | remove unused parts in glyph to retreive the lib also very confusing | py |
diff --git a/senic/cryptoyaml/commands.py b/senic/cryptoyaml/commands.py
index <HASH>..<HASH> 100644
--- a/senic/cryptoyaml/commands.py
+++ b/senic/cryptoyaml/commands.py
@@ -4,6 +4,14 @@ from os import path
from . import api
+def get_context(filepath, key, keyfile):
+ try:
+ return api.CryptoYAML(filepa... | Implement creating a new encrypted file from the CLI | py |
diff --git a/src/dam1021.py b/src/dam1021.py
index <HASH>..<HASH> 100644
--- a/src/dam1021.py
+++ b/src/dam1021.py
@@ -69,7 +69,7 @@ class Connection(object):
self.umanager_prompt = '# '
self.umanager_errtxt = 'invalid command'
self.umanager_opened = False
- self.buf_on_exit = '{}\r\n'... | firmware <I>: exit from umanager does not echo termination command | py |
diff --git a/holoviews/operation/element.py b/holoviews/operation/element.py
index <HASH>..<HASH> 100644
--- a/holoviews/operation/element.py
+++ b/holoviews/operation/element.py
@@ -394,10 +394,14 @@ class contours(ElementOperation):
filled = param.Boolean(default=False, doc="""
Whether to generate fille... | Added overlaid option to contours operation | py |
diff --git a/tests/gdb_cli_tests.py b/tests/gdb_cli_tests.py
index <HASH>..<HASH> 100644
--- a/tests/gdb_cli_tests.py
+++ b/tests/gdb_cli_tests.py
@@ -168,9 +168,9 @@ def test_backtrace():
assert res.frames[0]['index'] == 0
-def test_write_memory():
- value = six.b("AAAAAAAA")
- res = client.perform_requ... | Disable GDB write memory test as it's not finished | py |
diff --git a/gtfspy/routing/node_profile.py b/gtfspy/routing/node_profile.py
index <HASH>..<HASH> 100644
--- a/gtfspy/routing/node_profile.py
+++ b/gtfspy/routing/node_profile.py
@@ -9,13 +9,10 @@ class NodeProfile:
that stores information on the Pareto-Optimal (departure_time_this_node, arrival_time_target_node) ... | Remove count_transfers from node_profile | py |
diff --git a/jax/version.py b/jax/version.py
index <HASH>..<HASH> 100644
--- a/jax/version.py
+++ b/jax/version.py
@@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "0.1.52"
+__version__ = "0.1.53" | update version for pypi | py |
diff --git a/unittests.py b/unittests.py
index <HASH>..<HASH> 100644
--- a/unittests.py
+++ b/unittests.py
@@ -1547,6 +1547,20 @@ class TestLoadSave(TestAutomatonBase):
self.assertEqual(AV, BV)
+class TestLongIterString(TestAutomatonBase):
+ def test_match(self):
+ A = ahocorasick.Automaton()... | Add unit test for iter_long | py |
diff --git a/pyemma/msm/estimators/implied_timescales.py b/pyemma/msm/estimators/implied_timescales.py
index <HASH>..<HASH> 100644
--- a/pyemma/msm/estimators/implied_timescales.py
+++ b/pyemma/msm/estimators/implied_timescales.py
@@ -219,7 +219,7 @@ class ImpliedTimescales(Estimator, NJobsMixIn, SerializableMixIn):
... | [its] fix handling of failed models. | py |
diff --git a/spyder/plugins/outlineexplorer/tests/test_widgets.py b/spyder/plugins/outlineexplorer/tests/test_widgets.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/outlineexplorer/tests/test_widgets.py
+++ b/spyder/plugins/outlineexplorer/tests/test_widgets.py
@@ -228,7 +228,6 @@ def test_go_to_last_item(outlinee... | Remove a line that was not needed anymore | py |
diff --git a/buffer/user.py b/buffer/user.py
index <HASH>..<HASH> 100644
--- a/buffer/user.py
+++ b/buffer/user.py
@@ -1,2 +1,9 @@
-class User(object):
- pass
+from response import ResponseObject
+
+class User(ResponseObject):
+ REQUEST_URL = 'user.json'
+
+ def __init__(self, api):
+ response = api.get(self.REQU... | Using responseObject, send and parse a simple request for user resouce | py |
diff --git a/swift/storage.py b/swift/storage.py
index <HASH>..<HASH> 100644
--- a/swift/storage.py
+++ b/swift/storage.py
@@ -182,7 +182,7 @@ class SwiftStorage(Storage):
buf.mode = mode
return File(buf)
- def _save(self, name, content):
+ def _save(self, name, content, headers=None):
... | allow passing extra headers on save (#<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(
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
- install_requires=['prot... | add missing hedgehog-utils dependency, pull in protobuf and pyzmq via extras | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100755
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -35,7 +35,8 @@ sys.path.insert(0, project_root)
import modulefaker
for module in ('cinder', 'os_brick', 'oslo_utils', 'oslo_versionedobjects',
- 'oslo_concurrency', 'oslo_log', 'stevedore'):
+... | Fix doc build We broke the doc build when updating the documentation on commit 3aa<I>a7e<I>ccc<I>a<I>c7aeb<I>b<I> by running the automodule on the DBMS persistence module that uses some packages we don't have installed on the automated doc build. Fix it now by faking oslo_db and cinder.db.sqlalchemy modules. | py |
diff --git a/sphinxcontrib/needs/directives/needpie.py b/sphinxcontrib/needs/directives/needpie.py
index <HASH>..<HASH> 100644
--- a/sphinxcontrib/needs/directives/needpie.py
+++ b/sphinxcontrib/needs/directives/needpie.py
@@ -9,6 +9,8 @@ from pkg_resources import parse_version
import matplotlib
+from sphinxcontri... | Moved import statement to top of file | py |
diff --git a/zengine/views/crud.py b/zengine/views/crud.py
index <HASH>..<HASH> 100644
--- a/zengine/views/crud.py
+++ b/zengine/views/crud.py
@@ -293,16 +293,15 @@ class CrudView(BaseView):
@obj_filter()
def _get_list_obj(self, obj, result):
+
fields = self.object.Meta.list_fields
if fiel... | improved readability of "list" and "show" screens | py |
diff --git a/atlassian/confluence.py b/atlassian/confluence.py
index <HASH>..<HASH> 100644
--- a/atlassian/confluence.py
+++ b/atlassian/confluence.py
@@ -118,7 +118,7 @@ class Confluence(AtlassianRestAPI):
"""
params = {}
if expand:
- params = {expand: expand}
+ params ... | Confluence: unquoted expand params dictionary key prevented expansions in get_page_by_id | py |
diff --git a/slither/slithir/variables/reference.py b/slither/slithir/variables/reference.py
index <HASH>..<HASH> 100644
--- a/slither/slithir/variables/reference.py
+++ b/slither/slithir/variables/reference.py
@@ -36,7 +36,7 @@ class ReferenceVariable(ChildNode, Variable):
# Member or Index operator
... | Allow reference to other SolidityVariableComposed | py |
diff --git a/holoviews/core/io.py b/holoviews/core/io.py
index <HASH>..<HASH> 100644
--- a/holoviews/core/io.py
+++ b/holoviews/core/io.py
@@ -97,7 +97,7 @@ class Pickler(Exporter):
def save(self, obj, basename):
with open(basename+'.pkl', 'w') as f:
- pickle.dump(obj, f, protocol=self.protoc... | Fixed bug in Pickler.save method | py |
diff --git a/lwr/managers/util/cli/job/torque.py b/lwr/managers/util/cli/job/torque.py
index <HASH>..<HASH> 100644
--- a/lwr/managers/util/cli/job/torque.py
+++ b/lwr/managers/util/cli/job/torque.py
@@ -20,7 +20,8 @@ __all__ = ('Torque',)
from logging import getLogger
log = getLogger(__name__)
-argmap = {'Execution... | Bring in updates from CLI runner in Galaxy. | py |
diff --git a/test/test_cursor.py b/test/test_cursor.py
index <HASH>..<HASH> 100644
--- a/test/test_cursor.py
+++ b/test/test_cursor.py
@@ -817,6 +817,7 @@ class TestCursor(IntegrationTest):
self.assertEqual(2, collection.find().hint("x_1").count())
self.assertEqual(2, collection.find().hint([(... | PYTHON-<I> Skip failing $where test on <I> | py |
diff --git a/example/settings.py b/example/settings.py
index <HASH>..<HASH> 100644
--- a/example/settings.py
+++ b/example/settings.py
@@ -170,11 +170,8 @@ PAGE_USE_SITE_ID = False
# haystack dev version
HAYSTACK_CONNECTIONS = {
'default': {
- # I just want to silence haystack
- 'ENGINE': 'haystack... | use whoosh for dev version | py |
diff --git a/lib/autokey/service.py b/lib/autokey/service.py
index <HASH>..<HASH> 100644
--- a/lib/autokey/service.py
+++ b/lib/autokey/service.py
@@ -420,7 +420,7 @@ class PhraseRunner:
bindings cannot be assumed to result in the actions "select all text, then replace with clipboard content",
the und... | Case fold the expansion to also find special keys in upper case. | py |
diff --git a/python-example.py b/python-example.py
index <HASH>..<HASH> 100755
--- a/python-example.py
+++ b/python-example.py
@@ -40,7 +40,7 @@ np.savetxt("SGOutput.txt", Y, delimiter=' ')
# Perform the sensitivity analysis using the model output
# Specify which column of the output file to analyze (zero-indexed... | clean up and test examples. more explanation in the python example. | py |
diff --git a/categories/__init__.py b/categories/__init__.py
index <HASH>..<HASH> 100644
--- a/categories/__init__.py
+++ b/categories/__init__.py
@@ -1,7 +1,7 @@
__version_info__ = {
'major': 0,
'minor': 4,
- 'micro': 5,
+ 'micro': 6,
'releaselevel': 'final',
'serial': 0
} | Bumped versino to <I> | py |
diff --git a/openquake/engine/db/models.py b/openquake/engine/db/models.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/db/models.py
+++ b/openquake/engine/db/models.py
@@ -700,10 +700,10 @@ class HazardCalculation(djm.Model):
null=True,
blank=True,
)
- truncation_level = djm.FloatField(... | db/models: `truncation_level` is optional, so I changed the model field type to NullFloatField. Former-commit-id: a9bd<I>c<I>aaf9e<I>f8ed<I>c<I>af<I>d<I>aefd | py |
diff --git a/condoor/version.py b/condoor/version.py
index <HASH>..<HASH> 100644
--- a/condoor/version.py
+++ b/condoor/version.py
@@ -1,3 +1,3 @@
"""Version information."""
-__version__ = '1.0.0b2'
+__version__ = '1.0.0b3' | Bumped version number to <I>b3 | py |
diff --git a/blockstack_cli_0.14.1/blockstore_client/blockstore_cli.py b/blockstack_cli_0.14.1/blockstore_client/blockstore_cli.py
index <HASH>..<HASH> 100644
--- a/blockstack_cli_0.14.1/blockstore_client/blockstore_cli.py
+++ b/blockstack_cli_0.14.1/blockstore_client/blockstore_cli.py
@@ -452,6 +452,27 @@ def run_cli(... | display only latest queue when state moves from one queue to the next | py |
diff --git a/openid/test/test_server.py b/openid/test/test_server.py
index <HASH>..<HASH> 100644
--- a/openid/test/test_server.py
+++ b/openid/test/test_server.py
@@ -603,7 +603,7 @@ class TestEncode(unittest.TestCase):
form_markup = response.toFormMarkup({'foo':'bar'})
self.failUnless(' foo="bar"' ... | [project @ whitespace normalization] | py |
diff --git a/tools/vis.py b/tools/vis.py
index <HASH>..<HASH> 100755
--- a/tools/vis.py
+++ b/tools/vis.py
@@ -13,7 +13,6 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.realpath(__file__))) +
os.sep + 'tests/scripts/')
import time
-import numpy as np
import matplotlib
matplotlib.use('A... | Remove unused lib from stats visualizer. | py |
diff --git a/deploy-cluster-aws/example_deploy_conf.py b/deploy-cluster-aws/example_deploy_conf.py
index <HASH>..<HASH> 100644
--- a/deploy-cluster-aws/example_deploy_conf.py
+++ b/deploy-cluster-aws/example_deploy_conf.py
@@ -27,6 +27,11 @@ BRANCH="master"
# What do you want to deploy?
WHAT_TO_DEPLOY="servers"
+# ... | Added SSH_KEY_NAME to example_deploy_conf.py | py |
diff --git a/test/cluster/sandbox/vitess_kubernetes_sandbox.py b/test/cluster/sandbox/vitess_kubernetes_sandbox.py
index <HASH>..<HASH> 100755
--- a/test/cluster/sandbox/vitess_kubernetes_sandbox.py
+++ b/test/cluster/sandbox/vitess_kubernetes_sandbox.py
@@ -185,12 +185,15 @@ class VitessKubernetesSandbox(sandbox.Sandb... | Fix vttablet UIDs generated for helm configs. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@ setup(
packages=find_packages(),
include_package_data=True,
- install_requires=map(lambda x: x.replace('==', '>='), open("requirements.txt").readlines()),
+ install_requires=list(map(lambda x: ... | fix setup.py not work in Python 3 | py |
diff --git a/tests/test_packaging.py b/tests/test_packaging.py
index <HASH>..<HASH> 100644
--- a/tests/test_packaging.py
+++ b/tests/test_packaging.py
@@ -16,7 +16,9 @@ def test_requirements_files():
key = req_file.rsplit(os.path.sep, 1)[-1]
with open(req_file) as f:
req_set_dict[key] = {... | [BUGFIX] Fix packaging test | py |
diff --git a/examples_flask/static_ex/app.py b/examples_flask/static_ex/app.py
index <HASH>..<HASH> 100644
--- a/examples_flask/static_ex/app.py
+++ b/examples_flask/static_ex/app.py
@@ -9,7 +9,7 @@ static_ex/
"""
import os
-from flask import Flask, render_template, request
+from flask import Flask, escape, render_... | Fix the error running by CodeQL. (#<I>) * Create codeql-analysis.yml * Update README.rst * Update app.py * Fix by isort * Delete codeql-analysis.yml * Apply suggestions from code review | py |
diff --git a/b2handle/__init__.py b/b2handle/__init__.py
index <HASH>..<HASH> 100644
--- a/b2handle/__init__.py
+++ b/b2handle/__init__.py
@@ -1,5 +1,5 @@
-__version__ = "1.0.3"
+__version__ = "1.0.4-dev0"
# The version as used in setup.py and docs/source/conf.py. | Added dev tag and incremented version number to continue work on devel. | py |
diff --git a/tests.py b/tests.py
index <HASH>..<HASH> 100644
--- a/tests.py
+++ b/tests.py
@@ -627,10 +627,14 @@ class TestValidatorMixin(unittest.TestCase):
class TestRefResolver(unittest.TestCase):
+
+ base_uri = ""
+ stored_uri = "foo://stored"
+ stored_schema = {"stored" : "schema"}
+
def setUp(s... | Missed testing __init__'s store. | py |
diff --git a/metnet/datasource/native.py b/metnet/datasource/native.py
index <HASH>..<HASH> 100644
--- a/metnet/datasource/native.py
+++ b/metnet/datasource/native.py
@@ -78,6 +78,8 @@ class CompoundEntry(object):
self._name = self._properties.get('name')
self._formula = self._properties.get('formula'... | native: Add kegg and cas properties to CompoundEntry | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -7,7 +7,7 @@ try:
except IOError:
README = ''
-version = "0.0.1a"
+version = "0.0.1a2"
setup(name='backlash',
version=version, | new minor release due to email report improvements | py |
diff --git a/ella/newman/options.py b/ella/newman/options.py
index <HASH>..<HASH> 100644
--- a/ella/newman/options.py
+++ b/ella/newman/options.py
@@ -6,6 +6,7 @@ from django.contrib import admin
from django.contrib.contenttypes.models import ContentType
from django.contrib.admin.options import InlineModelAdmin, Inco... | ugly new and terrible hack to work with new message system in django | py |
diff --git a/anndata/_core/anndata.py b/anndata/_core/anndata.py
index <HASH>..<HASH> 100644
--- a/anndata/_core/anndata.py
+++ b/anndata/_core/anndata.py
@@ -1632,11 +1632,12 @@ class AnnData(metaclass=utils.DeprecationMixinMeta):
if len(adatas) == 0:
return self
elif len(adatas) == 1 an... | temporarily mute warning about concatenate of Iterable[AnnData] | py |
diff --git a/pgmpy/independencies/Independencies.py b/pgmpy/independencies/Independencies.py
index <HASH>..<HASH> 100644
--- a/pgmpy/independencies/Independencies.py
+++ b/pgmpy/independencies/Independencies.py
@@ -52,6 +52,8 @@ class Independencies(object):
__repr__ = __str__
def __eq__(self, other):
+ ... | fixed __eq__ in Independencies | py |
diff --git a/uncompyle6/semantics/make_function.py b/uncompyle6/semantics/make_function.py
index <HASH>..<HASH> 100644
--- a/uncompyle6/semantics/make_function.py
+++ b/uncompyle6/semantics/make_function.py
@@ -504,7 +504,7 @@ def make_function3(self, node, is_lambda, nested=1, codeNode=None):
# FIXME: there i... | look for "closure" node from the end... Fix previous commit. Looking from the beginning fails because there are a variable number of default values. From the end though seems fixed. | py |
diff --git a/gandi/cli/commands/certificate.py b/gandi/cli/commands/certificate.py
index <HASH>..<HASH> 100644
--- a/gandi/cli/commands/certificate.py
+++ b/gandi/cli/commands/certificate.py
@@ -6,6 +6,24 @@ from gandi.cli.core.utils import output_cert
from gandi.cli.core.params import pass_gandi
+@cli.command(opt... | Add packages method to know which certificate packages exist. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.