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
@@ -38,7 +38,7 @@ with open(os.path.join(base_path, 'webdriver_test_tools', '__about__.py')) as f:
install_requires = [
'selenium>={}'.format(about['__selenium__']),
'colour-runner>=0.1.1,<0.2',
- 'randomuser>=1.5.0... | bumped required version of randomuser to <I> This version fixes bugs caused by changes in API version <I> | py |
diff --git a/rest_framework_mongoengine/serializers.py b/rest_framework_mongoengine/serializers.py
index <HASH>..<HASH> 100644
--- a/rest_framework_mongoengine/serializers.py
+++ b/rest_framework_mongoengine/serializers.py
@@ -341,6 +341,9 @@ class DocumentSerializer(serializers.ModelSerializer):
kwargs['r... | get_field_kwargs automatically sets 'allow_null' based on 'null' model field kwarg (new in ME <I>) | py |
diff --git a/opbeat/base.py b/opbeat/base.py
index <HASH>..<HASH> 100644
--- a/opbeat/base.py
+++ b/opbeat/base.py
@@ -164,7 +164,7 @@ class Client(object):
# servers may be set to a NoneType (for Django)
if self.servers and not (organization_id and app_id and secret_token):
- msg = 'Miss... | Updating message to indicate that the message is coming from Opbeat | py |
diff --git a/lib/topology_lib_ip/library.py b/lib/topology_lib_ip/library.py
index <HASH>..<HASH> 100644
--- a/lib/topology_lib_ip/library.py
+++ b/lib/topology_lib_ip/library.py
@@ -160,5 +160,6 @@ def ping(enode, count, destination):
__all__ = [
'interface',
'add_route',
+ 'add_6_route',
'ping'
] | fix: dev: Forgot to add to public interface. | py |
diff --git a/tests/test_instaLooter.py b/tests/test_instaLooter.py
index <HASH>..<HASH> 100644
--- a/tests/test_instaLooter.py
+++ b/tests/test_instaLooter.py
@@ -38,7 +38,11 @@ class TestInstaLooterProfileDownload(unittest.TestCase):
def _test(self):
looter = instaLooter.InstaLooter(self.tmpdir, ... | Fix general use case tests to work with multiposts | py |
diff --git a/agentml/agentml.py b/agentml/agentml.py
index <HASH>..<HASH> 100644
--- a/agentml/agentml.py
+++ b/agentml/agentml.py
@@ -3,7 +3,7 @@ import re
import logging
from time import time
from lxml import etree
-from typewriter import typewrite
+# from typewriter import typewrite
from agentml.common import sc... | Our typewriter package is not yet on pip, so until then, we should just use print in the interpreter | py |
diff --git a/site_scons/get_libs.py b/site_scons/get_libs.py
index <HASH>..<HASH> 100755
--- a/site_scons/get_libs.py
+++ b/site_scons/get_libs.py
@@ -11,8 +11,10 @@ def get_lib_paths():
lib_paths = set(os.environ['PATH'].split(';'))
else:
lib_paths = set()
- lib_paths.update(os.environ['L... | Only add LIBRARY_PATH and LD_LIBRARY_PATH env variables if they exist This prevents scons from crashing on a linux sytem where these variables are undefined. | py |
diff --git a/esptool.py b/esptool.py
index <HASH>..<HASH> 100755
--- a/esptool.py
+++ b/esptool.py
@@ -516,7 +516,7 @@ def main():
choices=['40m', '26m', '20m', '80m'], default='40m')
parser_write_flash.add_argument('--flash_mode', '-fm', help='SPI Flash mode',
... | Make flash_size option for write_flash case insensitive So it's possible to map flash_size directly from Arduino´s `platform.txt` file (which prints out an upper case M): --flash_size {build.flash_size} | py |
diff --git a/tests/integration/modules/test_cp.py b/tests/integration/modules/test_cp.py
index <HASH>..<HASH> 100644
--- a/tests/integration/modules/test_cp.py
+++ b/tests/integration/modules/test_cp.py
@@ -22,6 +22,9 @@ from tests.support.helpers import (
from tests.support.unit import skipIf
import tests.support.pa... | Skip test_getI_file_templated_paths on Windows/Py3 | py |
diff --git a/proso/release.py b/proso/release.py
index <HASH>..<HASH> 100644
--- a/proso/release.py
+++ b/proso/release.py
@@ -1 +1 @@
-VERSION = '3.3.0'
+VERSION = '3.4.0.dev' | start working on <I>.dev | py |
diff --git a/dbmail/admin.py b/dbmail/admin.py
index <HASH>..<HASH> 100644
--- a/dbmail/admin.py
+++ b/dbmail/admin.py
@@ -222,7 +222,10 @@ class SignalAdmin(admin.ModelAdmin):
list_display = (
'name', 'model', 'signal', 'template', 'interval', 'receive_once',
'is_active', 'group', 'updated', 'cr... | signals: admin filters and editable fields | py |
diff --git a/pandas/util/testing.py b/pandas/util/testing.py
index <HASH>..<HASH> 100644
--- a/pandas/util/testing.py
+++ b/pandas/util/testing.py
@@ -1170,18 +1170,21 @@ def assert_frame_equal(left, right, check_dtype=True,
>>> df2 = pd.DataFrame({'a': [1, 2], 'b': [3.0, 4.0]})
df1 equals itself.
+
>>... | fix docstring examples for assert_frame_equal (#<I>) | py |
diff --git a/nipap-cli/nipap_cli/command.py b/nipap-cli/nipap_cli/command.py
index <HASH>..<HASH> 100755
--- a/nipap-cli/nipap_cli/command.py
+++ b/nipap-cli/nipap_cli/command.py
@@ -209,8 +209,11 @@ class Command:
# if we are in scoop-rest-mode, place elements not matching
# anythin... | Add CLI input validation for extraneous arguments If extraneous arguments are sent to the command parser an exception is now raised. I hope this doesn't break anything else. The unittest is so far from complete when it comes to command parsing that it won't help. I've done some manual testing which didn't show anythin... | py |
diff --git a/util/plot.py b/util/plot.py
index <HASH>..<HASH> 100644
--- a/util/plot.py
+++ b/util/plot.py
@@ -515,7 +515,7 @@ def save_and_close_fig(fig, file, transparent=True, dpi=800, make_read_only=True
file.parent.mkdir(parents=True, exist_ok=True)
if overwrite and file.exists():
file.unlink()
... | ENH: util.plot: borders around plot reduced | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ def readme():
configuration = {
'name' : 'umap-learn',
- 'version': '0.3.4',
+ 'version': '0.4.0',
'description' : 'Uniform Manifold Approximation and Projection',
'long_description' : read... | <I> is setup.py | py |
diff --git a/py3status/modules/mail.py b/py3status/modules/mail.py
index <HASH>..<HASH> 100644
--- a/py3status/modules/mail.py
+++ b/py3status/modules/mail.py
@@ -138,6 +138,8 @@ import mailbox
from imaplib import IMAP4_SSL
from os.path import exists, expanduser, expandvars
STRING_MISSING = 'missing {} {}'
+STRING_W... | mail module: report account name collision with folder names (#<I>) | py |
diff --git a/envy/application.py b/envy/application.py
index <HASH>..<HASH> 100644
--- a/envy/application.py
+++ b/envy/application.py
@@ -57,11 +57,9 @@ def back_up(venv_pkg_path, pkg_path):
def get_editor():
- if 'EDITOR' in os.environ:
- return os.environ['EDITOR']
-
- print ("No $EDITOR system env... | update get_editor() to handle issues with vim | py |
diff --git a/skflow/io/dask_io.py b/skflow/io/dask_io.py
index <HASH>..<HASH> 100644
--- a/skflow/io/dask_io.py
+++ b/skflow/io/dask_io.py
@@ -20,14 +20,14 @@ except ImportError:
HAS_DASK = False
def extract_dask_data(data):
- """Extract data from dask.dataframe for predictors"""
- if isinstance(data, dd.... | Switched to dd.Series | py |
diff --git a/tests/input/logictree_test.py b/tests/input/logictree_test.py
index <HASH>..<HASH> 100644
--- a/tests/input/logictree_test.py
+++ b/tests/input/logictree_test.py
@@ -1009,7 +1009,7 @@ class GMPELogicTreeBrokenInputTestCase(unittest.TestCase):
exc = self._assert_logic_tree_error('gmpe', gmpe, 'base... | tests/input/logictree_test: Fixed the expected error message in a test. | py |
diff --git a/lsstprojectmeta/cli/technote.py b/lsstprojectmeta/cli/technote.py
index <HASH>..<HASH> 100644
--- a/lsstprojectmeta/cli/technote.py
+++ b/lsstprojectmeta/cli/technote.py
@@ -36,7 +36,7 @@ def main():
args = parser.parse_args()
if args.mongodb_uri is not None:
- mongo_client = AsyncIOMoto... | Explicitly force ssl=True MongoDB client I think this was implicitly true, but I want to be sure. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -94,8 +94,10 @@ def get_tesseract_version():
"""Try to extract version from tesseract otherwise default min version."""
config = {'libraries': ['tesseract', 'lept']}
try:
- p = subprocess.Popen(['tesserac... | fix tesseract -v with stdout | py |
diff --git a/unyt/unit_object.py b/unyt/unit_object.py
index <HASH>..<HASH> 100644
--- a/unyt/unit_object.py
+++ b/unyt/unit_object.py
@@ -14,6 +14,10 @@ A class that represents a unit symbol.
import copy
+try:
+ from functools import lru_cache
+except ImportError:
+ from backports.functools_lru_cache import... | decorate _check_em_conversions with lru_cache for a nice speedup | py |
diff --git a/pyemma/util/annotators.py b/pyemma/util/annotators.py
index <HASH>..<HASH> 100644
--- a/pyemma/util/annotators.py
+++ b/pyemma/util/annotators.py
@@ -11,11 +11,12 @@ class Foo(object):
class Bar(Foo):
@doc_inherit
def foo(self):
- pass
+ pass
Now, Bar.foo.__doc__ == Bar().foo._... | [decorators] added depreacted function decorator | py |
diff --git a/scripts/experiments/run_experiments.py b/scripts/experiments/run_experiments.py
index <HASH>..<HASH> 100644
--- a/scripts/experiments/run_experiments.py
+++ b/scripts/experiments/run_experiments.py
@@ -161,8 +161,9 @@ class DepParseExpParamsRunner(ExpParamsRunner):
ilpform = DPExpParam... | Adding commented lines for SIMPLEX testing git-svn-id: svn+ssh://external.hltcoe.jhu.edu/home/hltcoe/mgormley/public/repos/dep_parse_filtered/trunk@<I> <I>f-cb4b-<I>-8b<I>-c<I>bcb<I> | py |
diff --git a/setupext/sdist.py b/setupext/sdist.py
index <HASH>..<HASH> 100644
--- a/setupext/sdist.py
+++ b/setupext/sdist.py
@@ -25,7 +25,7 @@ class BuildSourceDistribution(sdist):
copy_tree(src, dest)
# Collect the sources
- super(sdist, self).run()
+ sdist.run(self)
# Cl... | Need to work with old style classes as well. | py |
diff --git a/application/briefkasten/tests/test_dropbox.py b/application/briefkasten/tests/test_dropbox.py
index <HASH>..<HASH> 100644
--- a/application/briefkasten/tests/test_dropbox.py
+++ b/application/briefkasten/tests/test_dropbox.py
@@ -49,8 +49,8 @@ def test_dropbox_is_created_if_it_does_not_exist():
@fixtu... | add_dropbox now requires a pre-computed id | py |
diff --git a/cmd2/argcomplete_bridge.py b/cmd2/argcomplete_bridge.py
index <HASH>..<HASH> 100644
--- a/cmd2/argcomplete_bridge.py
+++ b/cmd2/argcomplete_bridge.py
@@ -16,6 +16,7 @@ else:
except AttributeError:
DEFAULT_COMPLETER = argcomplete.completers.FilesCompleter()
+ from cmd2.argparse_completer ... | Added back bash_complete() helper function to argcomplete_bridge.py This is intended to be used once a new example is added to show how to use the code present in argcomplete_bridge. This was previously used by the subcommands.py example, but I deleted the argcomplete_bridge code from there to simplify that example a... | py |
diff --git a/src/transformers/models/speech_to_text_2/modeling_speech_to_text_2.py b/src/transformers/models/speech_to_text_2/modeling_speech_to_text_2.py
index <HASH>..<HASH> 100755
--- a/src/transformers/models/speech_to_text_2/modeling_speech_to_text_2.py
+++ b/src/transformers/models/speech_to_text_2/modeling_speec... | [Fix doc example] Fix checkpoint name in docstring example in Speech2Text2 (#<I>) * Fix checkpoint name in docstring example | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -24,7 +24,9 @@ setup(
include_package_data=False,
zip_safe=False,
install_requires=[
- "requests>=2.3.0"
+ "requests>=2.3.0",
+ "CacheControl>=0.10.2",
+ "lockfile>=0.9.1"
],
... | include some caching libraries for the HTTP part | py |
diff --git a/halo/halo.py b/halo/halo.py
index <HASH>..<HASH> 100644
--- a/halo/halo.py
+++ b/halo/halo.py
@@ -31,6 +31,7 @@ class Halo(object):
self._frame_index = 0
self._spinner_thread = None
self._stop_spinner = None
+ self._spinner_id = None
self._enabled = options['enabl... | Halo: Identify spinner by name and avoid multiple calls to start | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -68,8 +68,10 @@ setup(name='iPOPO',
'pelix.internals',
'pelix.ipopo',
'pelix.ipopo.handlers',
+ 'pelix.misc',
'pelix.remote',
... | Added new packages to setup.py - pelix.misc (containing Jabsorb translation methods) - pelix.remote.transport (that will contain future RPC implementations) | py |
diff --git a/seqcluster/seqbuster/__init__.py b/seqcluster/seqbuster/__init__.py
index <HASH>..<HASH> 100644
--- a/seqcluster/seqbuster/__init__.py
+++ b/seqcluster/seqbuster/__init__.py
@@ -124,6 +124,8 @@ def _read_gtf(gtf):
"""
Load GTF file with precursor positions on genome
"""
+ if not gtf:
+ ... | Add function to read GTF precursors. | py |
diff --git a/raiden/transfer/mediated_transfer/mediation_fee.py b/raiden/transfer/mediated_transfer/mediation_fee.py
index <HASH>..<HASH> 100644
--- a/raiden/transfer/mediated_transfer/mediation_fee.py
+++ b/raiden/transfer/mediated_transfer/mediation_fee.py
@@ -126,7 +126,7 @@ def _mediation_fee_func(
assert (
... | Skip fee calc when no tokens can be received Regression test in <URL> | py |
diff --git a/atlassian/bitbucket/cloud/base.py b/atlassian/bitbucket/cloud/base.py
index <HASH>..<HASH> 100644
--- a/atlassian/bitbucket/cloud/base.py
+++ b/atlassian/bitbucket/cloud/base.py
@@ -78,6 +78,9 @@ class BitbucketCloudBase(BitbucketBase):
break
# From now on we have abso... | [Bitbucket] Fix pagination for cloud requests **FIX BLACK** (#<I>) * [Bitbucket] Fix pagination for cloud requests Exception raised when requesting pull requests which exceed single page: requests.exceptions.HTTPError: <I> Client Error: Bad Request for url: <URL> | py |
diff --git a/twilio/rest/exceptions.py b/twilio/rest/exceptions.py
index <HASH>..<HASH> 100644
--- a/twilio/rest/exceptions.py
+++ b/twilio/rest/exceptions.py
@@ -43,7 +43,7 @@ class TwilioRestException(TwilioException):
return u("\033[36m\033[49m%s\033[0m") % words
def get_uri(code):
- ... | Make .format() work with older Python versions | py |
diff --git a/molecule/provisioners.py b/molecule/provisioners.py
index <HASH>..<HASH> 100644
--- a/molecule/provisioners.py
+++ b/molecule/provisioners.py
@@ -476,8 +476,8 @@ class DockerProvisioner(BaseProvisioner):
dockerfile = '''
FROM {}:{}
- RUN bash -c 'if [ -x "$(command -v... | Would never update RHEL based images (#<I>) Required a `-y` flag to `yum update`. Also, added `yum makecache` prior to upgrade. | py |
diff --git a/rash/database.py b/rash/database.py
index <HASH>..<HASH> 100644
--- a/rash/database.py
+++ b/rash/database.py
@@ -223,9 +223,13 @@ class DataBase(object):
All attributes of `crec` except for `environ` are concerned.
"""
- keys = ['command', 'cwd', 'terminal', 'start', 'stop', 'ex... | Fill command_history_id in select_by_command_record The failing test is passed. | py |
diff --git a/ReText/xsettings.py b/ReText/xsettings.py
index <HASH>..<HASH> 100644
--- a/ReText/xsettings.py
+++ b/ReText/xsettings.py
@@ -128,6 +128,7 @@ def get_raw_xsettings(display=0):
if reply is not None:
length = xcb.xcb_get_property_value_length(reply)
pointer = xcb.xcb_get_property_value(reply) if leng... | xsettings: Fetch the result before freeing the reply This fixes some bytes being randomly replaced with 0xCB byte. | py |
diff --git a/pymatgen/core/lattice.py b/pymatgen/core/lattice.py
index <HASH>..<HASH> 100644
--- a/pymatgen/core/lattice.py
+++ b/pymatgen/core/lattice.py
@@ -455,7 +455,7 @@ class Lattice(MSONable):
@property
@deprecated(message="Use Lattice.parameters instead. This will be removed in v2020.*")
- def le... | Ignore types for deprecated property. | py |
diff --git a/pyxmpp/iq.py b/pyxmpp/iq.py
index <HASH>..<HASH> 100644
--- a/pyxmpp/iq.py
+++ b/pyxmpp/iq.py
@@ -17,7 +17,7 @@
import libxml2
-from utils import from_utf8,to_utf8
+from utils import from_utf8,to_utf8,get_node_ns_uri
from stanza import Stanza,StanzaError,gen_id
class Iq(Stanza):
@@ -54,8 +54,10 @@... | - return None from get_query() if no query is contained in the Iq stanza. The same for get_query_ns() | py |
diff --git a/mappet/helpers.py b/mappet/helpers.py
index <HASH>..<HASH> 100644
--- a/mappet/helpers.py
+++ b/mappet/helpers.py
@@ -198,8 +198,8 @@ def etree_to_dict(t):
def dict_to_etree(d, root):
u"""Converts a dict to lxml.etree object.
- >>> dict_to_etree({'root': {'#text': 'node_text', '@attr': 'val'}}, ... | doctest fix with ELLIPSIS | py |
diff --git a/salt/modules/tls.py b/salt/modules/tls.py
index <HASH>..<HASH> 100644
--- a/salt/modules/tls.py
+++ b/salt/modules/tls.py
@@ -636,7 +636,7 @@ def create_self_signed_cert(tls_dir='tls',
'''
set_ca_path(cacert_path)
- if not os.path.exists('{0}/{1}/certs/'.format(cert_base_path(tls_dir))):
+ ... | fix error introduced in <I>c6aa<I>c | py |
diff --git a/hearthstone/hslog/parser.py b/hearthstone/hslog/parser.py
index <HASH>..<HASH> 100644
--- a/hearthstone/hslog/parser.py
+++ b/hearthstone/hslog/parser.py
@@ -648,6 +648,6 @@ class LogParser(PowerHandler, ChoicesHandler, OptionsHandler, SpectatorModeHandl
player = Player(id, playerid, hi, lo)
self.cur... | hslog: Pass the player instead of the entity id to CrateGame.Player `player.entity` must be the entity, not its id | py |
diff --git a/neurosynth/tests/test_base.py b/neurosynth/tests/test_base.py
index <HASH>..<HASH> 100644
--- a/neurosynth/tests/test_base.py
+++ b/neurosynth/tests/test_base.py
@@ -177,6 +177,11 @@ class TestBase(unittest.TestCase):
self.assertEqual(data['values'], [1.0])
self.assertEqual(len(data['indi... | adding test cases for get_features_by_ids | py |
diff --git a/nodeconductor/billing/tasks.py b/nodeconductor/billing/tasks.py
index <HASH>..<HASH> 100644
--- a/nodeconductor/billing/tasks.py
+++ b/nodeconductor/billing/tasks.py
@@ -15,7 +15,7 @@ from celery import shared_task
from nodeconductor.backup.models import Backup
from nodeconductor.billing.backend import B... | Fix debit_customers task (NC-<I>) | py |
diff --git a/cumulusci/tasks/salesforce/GetInstalledPackages.py b/cumulusci/tasks/salesforce/GetInstalledPackages.py
index <HASH>..<HASH> 100644
--- a/cumulusci/tasks/salesforce/GetInstalledPackages.py
+++ b/cumulusci/tasks/salesforce/GetInstalledPackages.py
@@ -1,7 +1,13 @@
from cumulusci.salesforce_api.metadata impo... | Log output for GetInstalledPackages. | py |
diff --git a/src/_pytest/skipping.py b/src/_pytest/skipping.py
index <HASH>..<HASH> 100644
--- a/src/_pytest/skipping.py
+++ b/src/_pytest/skipping.py
@@ -71,7 +71,7 @@ def pytest_configure(config: Config) -> None:
"skipif(condition, ..., *, reason=...): "
"skip the given test function if any of the c... | skipping: better links in --markers output Suggested by Bruno. | py |
diff --git a/salt/state.py b/salt/state.py
index <HASH>..<HASH> 100644
--- a/salt/state.py
+++ b/salt/state.py
@@ -796,11 +796,12 @@ class State(object):
'a list').format(
name,
body['__sls__']))
- ... | Make the change on *both* verify_high calls | py |
diff --git a/pug/miner/models.py b/pug/miner/models.py
index <HASH>..<HASH> 100644
--- a/pug/miner/models.py
+++ b/pug/miner/models.py
@@ -34,8 +34,7 @@ class AggregatedResults(DateMixin):
"""
name = models.CharField(max_length=2000, default='', blank=False)
slug = models.CharField(ma... | pug.miner.models AggregatedResults bumped the max_length for name, slug, uri to <I> characters. | py |
diff --git a/tapioca/tapioca.py b/tapioca/tapioca.py
index <HASH>..<HASH> 100755
--- a/tapioca/tapioca.py
+++ b/tapioca/tapioca.py
@@ -64,7 +64,9 @@ class TapiocaClient(object):
resource_mapping = self._api.resource_mapping
if name in resource_mapping:
resource = resource_mapping[name]
- ... | using a method to get api root from adapter | py |
diff --git a/salt/modules/win_status.py b/salt/modules/win_status.py
index <HASH>..<HASH> 100644
--- a/salt/modules/win_status.py
+++ b/salt/modules/win_status.py
@@ -68,7 +68,13 @@ def _get_process_info(proc):
def _get_process_owner(process):
owner = {}
- domain, error_code, user = process.GetOwner()
+ d... | Fix failing test for checking get_owner | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -100,7 +100,8 @@ class ExtensionBuilder(distutils.command.build_ext.build_ext, build_ext_options)
else:
platform_name = 'linux'
for e in self.extensions:
- e.libraries.append('pthreads... | Only link to pthreads on Windows | py |
diff --git a/versions/admin.py b/versions/admin.py
index <HASH>..<HASH> 100644
--- a/versions/admin.py
+++ b/versions/admin.py
@@ -163,7 +163,7 @@ class VersionedAdmin(admin.ModelAdmin):
def get_urls(self):
"""needed to add the will_not_clone url to the admin site"""
- not_clone_url = [url(r'^(.+... | Cleanup of unneeded name for url | py |
diff --git a/python/ray/services.py b/python/ray/services.py
index <HASH>..<HASH> 100644
--- a/python/ray/services.py
+++ b/python/ray/services.py
@@ -1231,7 +1231,7 @@ def build_java_worker_command(
"""
assert java_worker_options is not None
- command = "java ".format(java_worker_options)
+ command =... | Drop duplicated string format (#<I>) This string format is unnecessary. java_worker_options has been appended to the commandline later. | py |
diff --git a/instana/instrumentation/psycopg2.py b/instana/instrumentation/psycopg2.py
index <HASH>..<HASH> 100644
--- a/instana/instrumentation/psycopg2.py
+++ b/instana/instrumentation/psycopg2.py
@@ -25,6 +25,14 @@ try:
return wrapped(*args_clone, **kwargs)
+ @wrapt.patch_function_wrapper('psycopg2._... | Assure register_json gets original args (#<I>) | py |
diff --git a/openstack_auth/forms.py b/openstack_auth/forms.py
index <HASH>..<HASH> 100644
--- a/openstack_auth/forms.py
+++ b/openstack_auth/forms.py
@@ -158,6 +158,4 @@ class Login(django_auth_forms.AuthenticationForm):
{'username': username, 'domain': domain,
'remote_ip':... | trivial: Remove dead code We only support Django >= <I> now. Who cares about Django < <I>. Change-Id: I<I>b<I>b<I>ef9e5bb<I>bda<I>e4b6e8 | py |
diff --git a/jarn/mkrelease/scm.py b/jarn/mkrelease/scm.py
index <HASH>..<HASH> 100644
--- a/jarn/mkrelease/scm.py
+++ b/jarn/mkrelease/scm.py
@@ -523,7 +523,7 @@ class Git(SCM):
key = 'branch.%(branch)s.merge=' % locals()
for line in reversed(lines):
if line.startswith(key):
... | Rid some code warts. | py |
diff --git a/pyvista/_version.py b/pyvista/_version.py
index <HASH>..<HASH> 100644
--- a/pyvista/_version.py
+++ b/pyvista/_version.py
@@ -1,6 +1,6 @@
"""Version info for pyvista."""
# major, minor, patch
-version_info = 0, 24, 0
+version_info = 0, 24, 1
# Nice string for the version
__version__ = '.'.join(map(st... | version bump <I> (#<I>) | py |
diff --git a/salt/modules/status.py b/salt/modules/status.py
index <HASH>..<HASH> 100644
--- a/salt/modules/status.py
+++ b/salt/modules/status.py
@@ -3,19 +3,19 @@
Module for returning various status data about a minion.
These data can be useful for compiling into stats later.
'''
-from __future__ import absolute_i... | List call not needed. Changing it back to what it was | py |
diff --git a/libvcs/git.py b/libvcs/git.py
index <HASH>..<HASH> 100644
--- a/libvcs/git.py
+++ b/libvcs/git.py
@@ -21,6 +21,7 @@ from __future__ import absolute_import, print_function, unicode_literals
import logging
import os
import re
+import subprocess
from . import exc
from ._compat import urlparse
@@ -185,7... | libvcs.git: Fix call to rev-list when revision is passed as <remote>/<branch> | py |
diff --git a/tracer/tracer.py b/tracer/tracer.py
index <HASH>..<HASH> 100644
--- a/tracer/tracer.py
+++ b/tracer/tracer.py
@@ -243,6 +243,8 @@ class Tracer(object):
self.path_group = self.path_group.stash_not_addr(
self.trace[self.bb_cnt],
... | Fix an issue with two paths of the same address appearing in the trace, only one is satisfiable however | py |
diff --git a/holoviews/plotting/bokeh/util.py b/holoviews/plotting/bokeh/util.py
index <HASH>..<HASH> 100644
--- a/holoviews/plotting/bokeh/util.py
+++ b/holoviews/plotting/bokeh/util.py
@@ -212,6 +212,9 @@ def delete_refs(obj, locs, delete):
Delete all references to specific model types by recursively
traver... | Added comment to delete delete_refs function once bokeh is fixed | py |
diff --git a/spyder/plugins/explorer/widgets/explorer.py b/spyder/plugins/explorer/widgets/explorer.py
index <HASH>..<HASH> 100644
--- a/spyder/plugins/explorer/widgets/explorer.py
+++ b/spyder/plugins/explorer/widgets/explorer.py
@@ -33,7 +33,7 @@ from qtpy.QtWidgets import (QApplication, QDialog, QDialogButtonBox,
f... | Files: Remove unnecessary usage of running_under_pytest | py |
diff --git a/ella/ellaexports/templatetags/ellaexports.py b/ella/ellaexports/templatetags/ellaexports.py
index <HASH>..<HASH> 100644
--- a/ella/ellaexports/templatetags/ellaexports.py
+++ b/ella/ellaexports/templatetags/ellaexports.py
@@ -5,6 +5,7 @@ from httplib import urlsplit
from django.conf import settings
fro... | Add rfc<I>_date template filter to ellaexports. | py |
diff --git a/scs_core/osio/config/project_source.py b/scs_core/osio/config/project_source.py
index <HASH>..<HASH> 100644
--- a/scs_core/osio/config/project_source.py
+++ b/scs_core/osio/config/project_source.py
@@ -58,7 +58,7 @@ class ProjectSource(object):
@classmethod
- def update(cls, existing, lat, lng,... | Added tags() method to ProjectSource. | py |
diff --git a/tests/scripts/exp_test.py b/tests/scripts/exp_test.py
index <HASH>..<HASH> 100755
--- a/tests/scripts/exp_test.py
+++ b/tests/scripts/exp_test.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2.6
# This file is part of VoltDB.
# Copyright (C) 2008-2012 VoltDB Inc.
@@ -551,4 +551,7 @@ if ... | Force it to use python<I>. Print out a summary to the screen. | py |
diff --git a/python_jsonschema_objects/__init__.py b/python_jsonschema_objects/__init__.py
index <HASH>..<HASH> 100644
--- a/python_jsonschema_objects/__init__.py
+++ b/python_jsonschema_objects/__init__.py
@@ -47,6 +47,7 @@ class ObjectBuilder(object):
resolver=self.resolver)
... | added a way to fetch a class by ref URI (#<I>) | py |
diff --git a/gns3server/crash_report.py b/gns3server/crash_report.py
index <HASH>..<HASH> 100644
--- a/gns3server/crash_report.py
+++ b/gns3server/crash_report.py
@@ -40,7 +40,7 @@ class CrashReport:
Report crash to a third party service
"""
- DSN = "sync+https://22979234ab4749ceabce08e6da4c1476:1432c8c7... | New crash report key Fix #<I> | py |
diff --git a/tests/applicationinsights_tests/TestTelemetryClient.py b/tests/applicationinsights_tests/TestTelemetryClient.py
index <HASH>..<HASH> 100644
--- a/tests/applicationinsights_tests/TestTelemetryClient.py
+++ b/tests/applicationinsights_tests/TestTelemetryClient.py
@@ -1,10 +1,14 @@
import unittest
import i... | Fixes #<I> Breaking test suite test_support becomes test.support in py3, support backport py2 | py |
diff --git a/source/rafcon/gui/interface.py b/source/rafcon/gui/interface.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/gui/interface.py
+++ b/source/rafcon/gui/interface.py
@@ -10,6 +10,7 @@
# Rico Belder <rico.belder@dlr.de>
import os
+import glib
from rafcon.core import interface as core_interface
from ra... | fix file chooser bug fix case if the same folder is added to the shortcut_folders of the FileChooserDialog twice | py |
diff --git a/simplemediawiki.py b/simplemediawiki.py
index <HASH>..<HASH> 100644
--- a/simplemediawiki.py
+++ b/simplemediawiki.py
@@ -55,7 +55,6 @@ class MediaWiki():
_high_limits = None
_namespaces = None
_psuedo_namespaces = None
- _mediawiki_version = None
def __init__(self, api_url, cookie... | Forget about version checking for right now | py |
diff --git a/py/src/ai/h2o/sparkling/Initializer.py b/py/src/ai/h2o/sparkling/Initializer.py
index <HASH>..<HASH> 100644
--- a/py/src/ai/h2o/sparkling/Initializer.py
+++ b/py/src/ai/h2o/sparkling/Initializer.py
@@ -193,6 +193,15 @@ class Initializer(object):
loader = loader.getParent()
@staticmethod... | [SW-<I>] Don't do version check in case user is using databricks-connect (#<I>) | py |
diff --git a/pycdlib/udf.py b/pycdlib/udf.py
index <HASH>..<HASH> 100644
--- a/pycdlib/udf.py
+++ b/pycdlib/udf.py
@@ -2757,9 +2757,9 @@ class UDFLogicalVolumeDescriptor(object):
# The generic partition map starts with 1 byte for the type and
# 1 byte for the length.
(map_type, ma... | Fixed check for remaining buffer in UDF partition maps parsing. (#<I>) | py |
diff --git a/test/runtest.py b/test/runtest.py
index <HASH>..<HASH> 100644
--- a/test/runtest.py
+++ b/test/runtest.py
@@ -479,8 +479,8 @@ class APITest(unittest.TestCase):
return x, y
a = f.remote(1)
b = f.remote(1)
- c = f.remote(a, b)
- c = f.remote(a, 1)
+ c = g.remote(a, b)
+ c = g.rem... | Small fix in test. (#<I>) | py |
diff --git a/openquake/engine/calculators/hazard/event_based/__init__.py b/openquake/engine/calculators/hazard/event_based/__init__.py
index <HASH>..<HASH> 100644
--- a/openquake/engine/calculators/hazard/event_based/__init__.py
+++ b/openquake/engine/calculators/hazard/event_based/__init__.py
@@ -25,9 +25,11 @@ by pos... | calcs/hazard/event_based: Added section hyperlinks for ses, gmf, and hazard curves. | py |
diff --git a/botornot/__init__.py b/botornot/__init__.py
index <HASH>..<HASH> 100644
--- a/botornot/__init__.py
+++ b/botornot/__init__.py
@@ -6,6 +6,12 @@ from functools import wraps
from tweepy import RateLimitError
+class NoTimelineError(ValueError):
+ def __init__(self, sn, *args, **kwargs):
+ msg = ... | Fix #2 by raising on no user tweets | py |
diff --git a/spacy/about.py b/spacy/about.py
index <HASH>..<HASH> 100644
--- a/spacy/about.py
+++ b/spacy/about.py
@@ -11,7 +11,7 @@ __email__ = 'contact@explosion.ai'
__license__ = 'MIT'
__release__ = False
-__docs_models__ = 'https://spacy.io/docs/usage/models'
+__docs_models__ = 'https://alpha.spacy.io/usage/mod... | Update docs link in about.py | py |
diff --git a/nion/swift/model/PlugInManager.py b/nion/swift/model/PlugInManager.py
index <HASH>..<HASH> 100644
--- a/nion/swift/model/PlugInManager.py
+++ b/nion/swift/model/PlugInManager.py
@@ -129,6 +129,8 @@ def load_plug_ins(app, root_dir):
plugin_dirs.extend([PlugInDir(plugins_dir, sorted_relative_pat... | Add startup info to describe plug-in locations that were not, but could be used. | py |
diff --git a/tests/test_toolbox_crypto_tools.py b/tests/test_toolbox_crypto_tools.py
index <HASH>..<HASH> 100644
--- a/tests/test_toolbox_crypto_tools.py
+++ b/tests/test_toolbox_crypto_tools.py
@@ -18,16 +18,13 @@ class TestTemplate(unittest.TestCase):
def setUp(self):
unittest.TestCase.setUp(self)
- ... | basic checks that encrypted message is actually different and not in result | py |
diff --git a/indra/tests/test_paths_graph.py b/indra/tests/test_paths_graph.py
index <HASH>..<HASH> 100644
--- a/indra/tests/test_paths_graph.py
+++ b/indra/tests/test_paths_graph.py
@@ -1,6 +1,6 @@
import networkx
import pygraphviz
-from indra.explanation import paths_graph
+from indra.explanation.paths_graph import... | Update paths_graph test to point to new module | py |
diff --git a/grpclib/protocol.py b/grpclib/protocol.py
index <HASH>..<HASH> 100644
--- a/grpclib/protocol.py
+++ b/grpclib/protocol.py
@@ -130,38 +130,6 @@ class Buffer:
for _ in range(self._unacked.qsize()))
-class StreamsLimit:
-
- def __init__(self, limit: Optional[int] = None) -> None:
- ... | Removed unused StreamsLimit class | py |
diff --git a/theanets/trainer.py b/theanets/trainer.py
index <HASH>..<HASH> 100644
--- a/theanets/trainer.py
+++ b/theanets/trainer.py
@@ -327,6 +327,30 @@ class Rprop(SGD):
yield step_tm1, step
+class RmsProp(SGD):
+ '''RmsProp scales the gradient with a moving RMS normalizer.
+
+ As gradients a... | Add a first attempt at implementing RmsProp. | py |
diff --git a/example/idp2/idp.py b/example/idp2/idp.py
index <HASH>..<HASH> 100755
--- a/example/idp2/idp.py
+++ b/example/idp2/idp.py
@@ -225,10 +225,11 @@ class SSO(Service):
:param query: The SAML query, transport encoded
:param binding: Which binding the query came in over
"""
+ re... | verify_request: fix return data. Calling code expects two element tuple returned. | py |
diff --git a/raiden/tests/conftest.py b/raiden/tests/conftest.py
index <HASH>..<HASH> 100644
--- a/raiden/tests/conftest.py
+++ b/raiden/tests/conftest.py
@@ -20,6 +20,15 @@ from raiden.tests.fixtures.variables import * # noqa: F401,F403
from raiden.tests.utils.transport import make_requests_insecure
from raiden.uti... | extended assert rewriting to the utils | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -41,7 +41,7 @@ def get_long_description():
setup(
name='pybadges',
- version='1.0.0',
+ version='1.0.1',
author='Brian Quinlan',
author_email='brian@sweetapp.com',
classifiers=[
@@ -63,6 +63,7 @@ s... | Don't install on Python 3. Fixes #4. | py |
diff --git a/openquake/commands/engine.py b/openquake/commands/engine.py
index <HASH>..<HASH> 100644
--- a/openquake/commands/engine.py
+++ b/openquake/commands/engine.py
@@ -20,6 +20,7 @@ import os
import sys
import getpass
import logging
+import codecs
from openquake.baselib import sap
from openquake.commonlib i... | Force output to utf-8 on Windows | py |
diff --git a/bl/user.py b/bl/user.py
index <HASH>..<HASH> 100644
--- a/bl/user.py
+++ b/bl/user.py
@@ -108,8 +108,8 @@ class User(Model):
def before_insert_or_update(self):
if self.name is not None:
self.name = re.sub('[^\w\s\.\-_]+', r'', self.name, flags=re.U)
- if self.password i... | bug fix in User.before_insert_or_update() as regards set_password() | py |
diff --git a/sim/main.py b/sim/main.py
index <HASH>..<HASH> 100644
--- a/sim/main.py
+++ b/sim/main.py
@@ -36,6 +36,6 @@ for argv in sys.argv[1:]: # Skip first argument, which is file name
###############################################################################
import network
-#network.runTrainTest4targets()... | debugged error where the startAng=ang (pointer), so changed for testing period | py |
diff --git a/stanza/utils/datasets/ner/prepare_ner_dataset.py b/stanza/utils/datasets/ner/prepare_ner_dataset.py
index <HASH>..<HASH> 100644
--- a/stanza/utils/datasets/ner/prepare_ner_dataset.py
+++ b/stanza/utils/datasets/ner/prepare_ner_dataset.py
@@ -402,7 +402,7 @@ def process_bsnlp(paths, short_name):
conver... | Use a constant instead of redefining it in the BG NER dataset script | py |
diff --git a/lib/python/vdm/tests/server/serverTest.py b/lib/python/vdm/tests/server/serverTest.py
index <HASH>..<HASH> 100644
--- a/lib/python/vdm/tests/server/serverTest.py
+++ b/lib/python/vdm/tests/server/serverTest.py
@@ -108,6 +108,7 @@ class CreateServer(Server):
"""
ensure GET server list
... | Added a comment in test_get_servers test of serverTest. | py |
diff --git a/pyinfra/api/state.py b/pyinfra/api/state.py
index <HASH>..<HASH> 100644
--- a/pyinfra/api/state.py
+++ b/pyinfra/api/state.py
@@ -207,6 +207,16 @@ class State(object):
@contextmanager
def limit(self, hosts):
+ logger.warning((
+ 'Use of `State.limit` is deprecated, '
+ ... | Replace `state.limit` with `state.hosts` (`state.limit` is now deprecated). | py |
diff --git a/master/buildbot/test/integration/test_worker_latent.py b/master/buildbot/test/integration/test_worker_latent.py
index <HASH>..<HASH> 100644
--- a/master/buildbot/test/integration/test_worker_latent.py
+++ b/master/buildbot/test/integration/test_worker_latent.py
@@ -1093,8 +1093,9 @@ class Tests(Timeoutable... | test: Always wait on the result of insubstantiate() | py |
diff --git a/katcp/server.py b/katcp/server.py
index <HASH>..<HASH> 100644
--- a/katcp/server.py
+++ b/katcp/server.py
@@ -1014,6 +1014,12 @@ class DeviceServerBase(object):
def async_reply(f):
try:
connection.reply(f.result(), msg)
+ ... | Deal with FailReply expetions raised by futre-based async handlers | py |
diff --git a/src/python/itkwasm/image.py b/src/python/itkwasm/image.py
index <HASH>..<HASH> 100644
--- a/src/python/itkwasm/image.py
+++ b/src/python/itkwasm/image.py
@@ -21,4 +21,5 @@ class Image:
size: Sequence[int]
origin: Sequence[float]
spacing: Sequence[float]
- direction: ArrayLike
\ No newline... | fix(Python): add name entry to Python itkwasm Image Added in itk-<I>rc4.post1 | py |
diff --git a/{{cookiecutter.repo_name}}/config/settings/production.py b/{{cookiecutter.repo_name}}/config/settings/production.py
index <HASH>..<HASH> 100644
--- a/{{cookiecutter.repo_name}}/config/settings/production.py
+++ b/{{cookiecutter.repo_name}}/config/settings/production.py
@@ -69,7 +69,7 @@ SECURE_SSL_REDIRECT... | Add ability to set ALLOWED_HOSTS | py |
diff --git a/intake/catalog/base.py b/intake/catalog/base.py
index <HASH>..<HASH> 100644
--- a/intake/catalog/base.py
+++ b/intake/catalog/base.py
@@ -319,7 +319,7 @@ class Catalog(DataSource):
up_names = set((up["name"] if isinstance(up, dict) else up.name)
for up in entry._user_param... | Safeguard Some code in driver packages sets the entry user parameters to {} | py |
diff --git a/pelix/rsa/providers/discovery/__init__.py b/pelix/rsa/providers/discovery/__init__.py
index <HASH>..<HASH> 100644
--- a/pelix/rsa/providers/discovery/__init__.py
+++ b/pelix/rsa/providers/discovery/__init__.py
@@ -233,6 +233,7 @@ class EndpointEvent(object):
# a service endpoint listener so that discovery... | Added constant alias for naming consistency | py |
diff --git a/termdown.py b/termdown.py
index <HASH>..<HASH> 100755
--- a/termdown.py
+++ b/termdown.py
@@ -9,7 +9,9 @@ import click
from dateutil.parser import parse
from pyfiglet import Figlet
-TIMEDELTA_REGEX = re.compile(r'((?P<hours>\d+)h ?)?'
+TIMEDELTA_REGEX = re.compile(r'((?P<years>\d+)y ?)?'
+ ... | allow days and years in timedelta STARTs | py |
diff --git a/galpy/potential/PowerSphericalPotentialwCutoff.py b/galpy/potential/PowerSphericalPotentialwCutoff.py
index <HASH>..<HASH> 100644
--- a/galpy/potential/PowerSphericalPotentialwCutoff.py
+++ b/galpy/potential/PowerSphericalPotentialwCutoff.py
@@ -227,9 +227,12 @@ class PowerSphericalPotentialwCutoff(Potenti... | Implement enclosed mass for PowerSphericalPotentialwCutoff using the hypergeometric function for more stable behavior at (the unphysical) alpha > 3 | py |
diff --git a/testsettings.py b/testsettings.py
index <HASH>..<HASH> 100644
--- a/testsettings.py
+++ b/testsettings.py
@@ -26,6 +26,7 @@ INSTALLED_APPS = [
# Third-party apps
'south',
'tastypie',
+ 'djcelery',
# Us
'subscription'
] | Update to include djcelery in apps for prereq migrations to run | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.