diff stringlengths 139 3.65k | message stringlengths 8 627 | diff_languages stringclasses 1
value |
|---|---|---|
diff --git a/pymc/tests/test_distributions.py b/pymc/tests/test_distributions.py
index <HASH>..<HASH> 100644
--- a/pymc/tests/test_distributions.py
+++ b/pymc/tests/test_distributions.py
@@ -13,9 +13,9 @@ Rplusbig = array([0, .5, .9, .99, 1, 1.5, 2, 20, inf])
Unit = array([0, .001, .1, .5, .75, .99, 1])
Runif = arr... | fix discrete unif problem when using int<I>: no idea what its about, but we should fix it at some point | py |
diff --git a/mackup.py b/mackup.py
index <HASH>..<HASH> 100755
--- a/mackup.py
+++ b/mackup.py
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
import argparse
import base64
-import os.path
+import os
import shutil
import stat
import subprocess
@@ -433,6 +433,17 @@ class Ma... | Exit if ST is running (thx @nZac) | py |
diff --git a/tests/test_logger.py b/tests/test_logger.py
index <HASH>..<HASH> 100644
--- a/tests/test_logger.py
+++ b/tests/test_logger.py
@@ -15,7 +15,7 @@
# For further info, check https://github.com/PyAr/fades
"""Tests for logger related code."""
-import logging
+import logassert
from fades.logger import set_u... | Replaced logging with loggassert | py |
diff --git a/wtframework/wtf/web/webdriver.py b/wtframework/wtf/web/webdriver.py
index <HASH>..<HASH> 100644
--- a/wtframework/wtf/web/webdriver.py
+++ b/wtframework/wtf/web/webdriver.py
@@ -291,7 +291,10 @@ class WebDriverManager(object):
Close current instance of webdriver.
"""
if self.webd... | add try/catch around web driver.quit | py |
diff --git a/discord/ext/tasks/__init__.py b/discord/ext/tasks/__init__.py
index <HASH>..<HASH> 100644
--- a/discord/ext/tasks/__init__.py
+++ b/discord/ext/tasks/__init__.py
@@ -584,12 +584,13 @@ class Loop(Generic[LF]):
time_now = (
now if now is not MISSING else datetime.datetime.now(datetime.t... | [tasks] Fix initial loop execution running prematurely | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -12,7 +12,7 @@ except IOError: readme = ''
setup(
name = 'pyaml',
- version = '16.9.0',
+ version = '16.11.0',
author = 'Mike Kazantsev',
author_email = 'mk.fraggod@gmail.com',
license = 'WTFPL',
@@ -26,7 +26,6 @@ s... | setup: drop "OSI Approved" classifier, WTFPL is not | py |
diff --git a/evohomeclient/__init__.py b/evohomeclient/__init__.py
index <HASH>..<HASH> 100644
--- a/evohomeclient/__init__.py
+++ b/evohomeclient/__init__.py
@@ -107,6 +107,9 @@ class EvohomeClient:
data=json.dumps(self.postdata),
headers=self... | ensure a consistent response to HTTP_STATUS_<I> | py |
diff --git a/can/viewer.py b/can/viewer.py
index <HASH>..<HASH> 100644
--- a/can/viewer.py
+++ b/can/viewer.py
@@ -366,8 +366,8 @@ def parse_args(args):
'\nNote that the IDs are always interpreted as hex values.'
'\nAn optional conversion from integers to ... | Fixed help text for the scaling in the viewer | py |
diff --git a/telephus/pool.py b/telephus/pool.py
index <HASH>..<HASH> 100644
--- a/telephus/pool.py
+++ b/telephus/pool.py
@@ -355,7 +355,7 @@ class CassandraPoolReconnectorFactory(protocol.ClientFactory):
return d
def clear_job(self, x):
- self.logstate('clear job %s (result %r)' % (self.jobphas... | Added a deferred string formatting option to the logstate method and modified clear_job to use it. This avoids unnecessary object stringifications when not running with "debugging" enabled. | py |
diff --git a/pymacaron/log.py b/pymacaron/log.py
index <HASH>..<HASH> 100644
--- a/pymacaron/log.py
+++ b/pymacaron/log.py
@@ -24,6 +24,7 @@ def setup_logger(celery=False):
logging.getLogger('boto3').setLevel(logging.WARNING)
logging.getLogger('botocore').setLevel(logging.WARNING)
logging.getLogger('brav... | Mute some bravado logs | py |
diff --git a/openfisca_core/simulation_builder.py b/openfisca_core/simulation_builder.py
index <HASH>..<HASH> 100644
--- a/openfisca_core/simulation_builder.py
+++ b/openfisca_core/simulation_builder.py
@@ -512,7 +512,7 @@ class SimulationBuilder(object):
axis_period = axis.get('period', self.default_p... | Forces axis period to be a string in input_buffer | py |
diff --git a/test/test_blocks.py b/test/test_blocks.py
index <HASH>..<HASH> 100644
--- a/test/test_blocks.py
+++ b/test/test_blocks.py
@@ -1,10 +1,11 @@
import pytest
-from numpy import arange, array, allclose, ones
+from numpy import arange, array, allclose, ones, float64
from thunder.images.readers import fromlis... | Added a test to map() in blocks | py |
diff --git a/python/phonenumbers/util.py b/python/phonenumbers/util.py
index <HASH>..<HASH> 100644
--- a/python/phonenumbers/util.py
+++ b/python/phonenumbers/util.py
@@ -53,7 +53,7 @@ if sys.version_info >= (3, 0): # pragma no cover
sep = kwargs.get('sep', ' ')
end = kwargs.get('end', '\n')
... | Build explicit dict for arguments. Python<I> does not support keyword arguments after *args | py |
diff --git a/netmiko/ruckus/ruckus_fastiron.py b/netmiko/ruckus/ruckus_fastiron.py
index <HASH>..<HASH> 100644
--- a/netmiko/ruckus/ruckus_fastiron.py
+++ b/netmiko/ruckus/ruckus_fastiron.py
@@ -45,8 +45,13 @@ class RuckusFastironBase(CiscoSSHConnection):
output += new_data
if "ssw... | Improve Ruckus handling of failed enable (#<I>) | py |
diff --git a/python_jsonschema_objects/classbuilder.py b/python_jsonschema_objects/classbuilder.py
index <HASH>..<HASH> 100644
--- a/python_jsonschema_objects/classbuilder.py
+++ b/python_jsonschema_objects/classbuilder.py
@@ -39,7 +39,7 @@ class ProtocolBase(collections.MutableMapping):
'boolean': bool,
... | bugfix: Make None->NoneType in schema type list | py |
diff --git a/pyOCD/target/cortex_m.py b/pyOCD/target/cortex_m.py
index <HASH>..<HASH> 100644
--- a/pyOCD/target/cortex_m.py
+++ b/pyOCD/target/cortex_m.py
@@ -956,6 +956,13 @@ class CortexM(Target):
# Clear Thumb bit in case it is set.
addr = addr & ~1
+ # Check for an existing breakpoint at ... | Check for an existing breakpoint before setting one. | py |
diff --git a/redis_metrics/models.py b/redis_metrics/models.py
index <HASH>..<HASH> 100644
--- a/redis_metrics/models.py
+++ b/redis_metrics/models.py
@@ -94,8 +94,10 @@ class R(object):
objects that differ by 1 second each.
"""
- if since is None: # Default to the last 7 day
- si... | changing the default date range again; a weeks worth of data makes sense, but a days worth makes more sense at the min/sec granularity | py |
diff --git a/gns3server/config.py b/gns3server/config.py
index <HASH>..<HASH> 100644
--- a/gns3server/config.py
+++ b/gns3server/config.py
@@ -48,12 +48,14 @@ class Config(object):
appdata = os.path.expandvars("%APPDATA%")
common_appdata = os.path.expandvars("%COMMON_APPDATA%")
+ ... | Fixes missing cloud settings on Windows. | py |
diff --git a/GPy/core/gp.py b/GPy/core/gp.py
index <HASH>..<HASH> 100644
--- a/GPy/core/gp.py
+++ b/GPy/core/gp.py
@@ -437,15 +437,22 @@ class GP(Model):
warnings.warn("Wrong naming, use predict_wishart_embedding instead. Will be removed in future versions!", DeprecationWarning)
return self.predict_wi... | [magnification] prediction now accepts dimensions | py |
diff --git a/insights/client/config.py b/insights/client/config.py
index <HASH>..<HASH> 100644
--- a/insights/client/config.py
+++ b/insights/client/config.py
@@ -701,9 +701,13 @@ class InsightsConfig(object):
if self.test_connection:
raise ValueError('Cannot run connection test in offline... | New parameters checked when offline is active (#<I>) | py |
diff --git a/tests/util.py b/tests/util.py
index <HASH>..<HASH> 100644
--- a/tests/util.py
+++ b/tests/util.py
@@ -53,7 +53,6 @@ class TestApp(threading.Thread):
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
env=env,
- close_fds=True,
universal_newlines=T... | do not close fds, windows doesn't like it when redirecting std handles | py |
diff --git a/PyKCS11/__init__.py b/PyKCS11/__init__.py
index <HASH>..<HASH> 100644
--- a/PyKCS11/__init__.py
+++ b/PyKCS11/__init__.py
@@ -731,6 +731,17 @@ class Session(object):
if rv != CKR_OK:
raise PyKCS11Error(rv)
+ def createObject(self, template):
+ """
+ C_CreateObject
+... | Add createObject() method Thanks to Jonas Borgstr?m for the patch | py |
diff --git a/indra/statements/delta.py b/indra/statements/delta.py
index <HASH>..<HASH> 100644
--- a/indra/statements/delta.py
+++ b/indra/statements/delta.py
@@ -91,8 +91,7 @@ class QuantitativeState(Delta):
def __init__(self, entity=None, value=None, unit=None, modifier=None,
text=None):
... | QunatitativeState.value should be a float or None | py |
diff --git a/wandb/data_types.py b/wandb/data_types.py
index <HASH>..<HASH> 100644
--- a/wandb/data_types.py
+++ b/wandb/data_types.py
@@ -1875,8 +1875,6 @@ class Graph(Media):
data = numpy_arrays_to_lists(data)
util.json_dump_safer(data, codecs.open(tmp_path, "w", encoding="utf-8"))
self._se... | [WB-<I>] Allow wandb.Graph objects to be bound more than once (#<I>) * Allow wandb.Graph objects to be bound more than once. * run linters | py |
diff --git a/tarbell/settings.py b/tarbell/settings.py
index <HASH>..<HASH> 100644
--- a/tarbell/settings.py
+++ b/tarbell/settings.py
@@ -51,5 +51,5 @@ class Settings:
Save settings.
"""
with open(self.path, "w") as f:
- self.config["project_templates"] = filter(lambda template: t... | Account for `filter` returning an iterable in Py3 Turns out PyYAML doesn't serialize a `filter` iterable so well. | py |
diff --git a/xbrl/xbrl.py b/xbrl/xbrl.py
index <HASH>..<HASH> 100644
--- a/xbrl/xbrl.py
+++ b/xbrl/xbrl.py
@@ -542,8 +542,8 @@ class XBRLParser(object):
ignore_errors, logger, context_ids)
net_cash_flows_investing_discontinued = \
- xbrl.find_all(name=re.compile("... | fixing net_cash_flows_investing_discontinued | py |
diff --git a/salt/modules/glance.py b/salt/modules/glance.py
index <HASH>..<HASH> 100644
--- a/salt/modules/glance.py
+++ b/salt/modules/glance.py
@@ -126,6 +126,8 @@ def _auth(profile=None, **connection_args):
try:
return client.Client(endpoint, **kwargs)
except exc.HTTPUnauthorized:
+ ... | fix retry w/ user/pass if token fails | py |
diff --git a/testing/test_config.py b/testing/test_config.py
index <HASH>..<HASH> 100644
--- a/testing/test_config.py
+++ b/testing/test_config.py
@@ -1,4 +1,5 @@
from __future__ import absolute_import, division, print_function
+import sys
import py
import pytest
@@ -483,8 +484,11 @@ def test_plugin_preparse_preve... | added test for #<I> fix | py |
diff --git a/PySimpleGUIQt/PySimpleGUIQt.py b/PySimpleGUIQt/PySimpleGUIQt.py
index <HASH>..<HASH> 100644
--- a/PySimpleGUIQt/PySimpleGUIQt.py
+++ b/PySimpleGUIQt/PySimpleGUIQt.py
@@ -3278,12 +3278,13 @@ class Window:
def Hide(self):
self._Hidden = True
+ self.QT_QMainWindow.hide()
# TODO... | Window Hide and UnHide methods | py |
diff --git a/admin.py b/admin.py
index <HASH>..<HASH> 100644
--- a/admin.py
+++ b/admin.py
@@ -10,19 +10,8 @@ from ip_assembler.models import IP
class IPAdmin(admin.ModelAdmin):
- actions = ['batch_process_ips', ]
ordering = ['seg_0', 'seg_1', 'seg_2', 'seg_3', ]
- # TODO: use a better way to get to t... | removed the batch action, refs #<I> | py |
diff --git a/spinoff/actor/node.py b/spinoff/actor/node.py
index <HASH>..<HASH> 100644
--- a/spinoff/actor/node.py
+++ b/spinoff/actor/node.py
@@ -109,3 +109,6 @@ class _Msg(object):
def send_failed(self):
if not (self.msg == ('_unwatched', ANY) or self.msg == ('_watched', ANY)):
Events.log(D... | Added __repr__ s.a.n._Msr for better debuggability | py |
diff --git a/tests/linalg_test.py b/tests/linalg_test.py
index <HASH>..<HASH> 100644
--- a/tests/linalg_test.py
+++ b/tests/linalg_test.py
@@ -324,7 +324,7 @@ class ScipyLinalgTest(jtu.JaxTestCase):
self.skipTest("No LU implementation available")
a = rng(shape, dtype)
- jtu.check_grads(jsp.linalg.lu, (... | Relax tolerance of LuGrad test to make it pass in jax_enable_x<I> mode. | py |
diff --git a/zenpy/lib/generator.py b/zenpy/lib/generator.py
index <HASH>..<HASH> 100644
--- a/zenpy/lib/generator.py
+++ b/zenpy/lib/generator.py
@@ -39,7 +39,7 @@ class BaseResultGenerator(object):
""" Handle retrieving and processing the next page of results. """
self._response_json = self.get_next... | Clear list in python2 compatible fashion. | py |
diff --git a/vod_metadata/__main__.py b/vod_metadata/__main__.py
index <HASH>..<HASH> 100644
--- a/vod_metadata/__main__.py
+++ b/vod_metadata/__main__.py
@@ -11,7 +11,7 @@ from vod_metadata.md_gen import generate_metadata
if __name__ == "__main__":
- for file_path in os.listdir():
+ for file_path in os.list... | Change to working directory in __main__ | py |
diff --git a/src/cnczPush.py b/src/cnczPush.py
index <HASH>..<HASH> 100644
--- a/src/cnczPush.py
+++ b/src/cnczPush.py
@@ -44,17 +44,24 @@ class CnczPushRH(BaseHTTPRequestHandler):
data = json.loads(raw_data)
occ = {}
for pc, state in data['data'].iteritems():
+ expect_session = Fa... | cnczPush: fix the transformation of state | py |
diff --git a/tools/jenkins/junit-stats.py b/tools/jenkins/junit-stats.py
index <HASH>..<HASH> 100644
--- a/tools/jenkins/junit-stats.py
+++ b/tools/jenkins/junit-stats.py
@@ -1075,8 +1075,12 @@ class Stats(object):
cursor.execute(query_last_build)
last_build_recorded = cursor.fetchone()[0]
lo... | ENG-<I>: Fifth set of tweaks to the JUnit Auto-filer: (#<I>) Just fixed a problem when there is no last_build_recorded (in the 'qa' database), which was affecting test-nextrelease-nonflaky-pro-junit builds. | py |
diff --git a/model1.py b/model1.py
index <HASH>..<HASH> 100644
--- a/model1.py
+++ b/model1.py
@@ -35,7 +35,7 @@ class Model1(object):
- def convertArgsToTokens(self, dic):
+ def convertArgsToTokens(self, data):
"""
this converts the readin lines from
sys to useable format, returns list
@@ -45,12 +4... | EM algo is almost done... now need to handle devwords | py |
diff --git a/GEOparse/utils.py b/GEOparse/utils.py
index <HASH>..<HASH> 100644
--- a/GEOparse/utils.py
+++ b/GEOparse/utils.py
@@ -97,7 +97,7 @@ def download_from_url(url, destination_path, force=False, aspera=False,
fn = wgetter.download(url, outdir=os.path.dirname(
destin... | add timeout to urlopen calls | py |
diff --git a/pmdarima/utils/tests/test_array.py b/pmdarima/utils/tests/test_array.py
index <HASH>..<HASH> 100644
--- a/pmdarima/utils/tests/test_array.py
+++ b/pmdarima/utils/tests/test_array.py
@@ -9,7 +9,6 @@ import pandas as pd
import numpy as np
x = np.arange(5)
-x_3d = np.array([[[1]]])
m = np.array([10, 5, 1... | Catch corner case where xi is malformed | py |
diff --git a/abilian/core/celery.py b/abilian/core/celery.py
index <HASH>..<HASH> 100644
--- a/abilian/core/celery.py
+++ b/abilian/core/celery.py
@@ -3,6 +3,7 @@
"""
from __future__ import absolute_import, print_function, division
+from multiprocessing.util import register_after_fork
from celery import task, Cele... | celery: dispose sqlalchemy engines after fork | py |
diff --git a/tests/toranj/wpan.py b/tests/toranj/wpan.py
index <HASH>..<HASH> 100644
--- a/tests/toranj/wpan.py
+++ b/tests/toranj/wpan.py
@@ -34,6 +34,7 @@ import weakref
import subprocess
import socket
import asyncore
+import inspect
#-----------------------------------------------------------------------------... | [toranj] update verify() to print line-no and test-name (#<I>) | py |
diff --git a/sphinx_gallery/gen_gallery.py b/sphinx_gallery/gen_gallery.py
index <HASH>..<HASH> 100644
--- a/sphinx_gallery/gen_gallery.py
+++ b/sphinx_gallery/gen_gallery.py
@@ -15,7 +15,6 @@ from __future__ import division, print_function, absolute_import
import copy
import re
import os
-import warnings
from . im... | Don't execute example fail summary on no-plot | py |
diff --git a/python-package/lightgbm/sklearn.py b/python-package/lightgbm/sklearn.py
index <HASH>..<HASH> 100644
--- a/python-package/lightgbm/sklearn.py
+++ b/python-package/lightgbm/sklearn.py
@@ -257,6 +257,8 @@ class LGBMModel(_LGBMModelBase):
----------
n_features_ : int
The number o... | [python][scikit-learn] add new attribute for used number of features (#<I>) * update number of features attribute Fixes issue related to <URL>. * Update sklearn.py * set public attribute in fit method Reverted ```n_features``` property, and inserted the public attribute ```n_features_in_```. * Update do... | py |
diff --git a/ryu/ofproto/nx_match.py b/ryu/ofproto/nx_match.py
index <HASH>..<HASH> 100644
--- a/ryu/ofproto/nx_match.py
+++ b/ryu/ofproto/nx_match.py
@@ -308,6 +308,9 @@ class ClsRule(object):
if not self.wc.wildcards & FWW_NW_ECN:
return ofproto_v1_0.NXFF_NXM
+ if self.wc.regs_bits > 0:... | of_v1_0: Fixed the flow format logic to set it correctly when registers matches are set | py |
diff --git a/djangoql/admin.py b/djangoql/admin.py
index <HASH>..<HASH> 100644
--- a/djangoql/admin.py
+++ b/djangoql/admin.py
@@ -23,7 +23,7 @@ except ImportError: # Django 2.0
from django.urls import reverse
try:
- from django.conf.urls import re_path
+ from django.urls import re_path
except ImportErr... | replaced the deprecated use of re_path alias at django.conf.urls django.conf.urls.re_path was depricated in django <I> in favor of django.urls.re_path() and is removed in django <I> ref: <URL> | py |
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py
index <HASH>..<HASH> 100644
--- a/OpenSSL/test/test_crypto.py
+++ b/OpenSSL/test/test_crypto.py
@@ -2603,7 +2603,7 @@ class CRLTests(TestCase):
def test_export_invalid(self):
"""
If :py:obj:`CRL.export` is used with an uniniti... | Fix an incorrect exception name in a test method docstring. | py |
diff --git a/polymodels/models.py b/polymodels/models.py
index <HASH>..<HASH> 100644
--- a/polymodels/models.py
+++ b/polymodels/models.py
@@ -44,7 +44,7 @@ class BasePolymorphicModel(models.Model):
class PolymorphicModel(BasePolymorphicModel):
CONTENT_TYPE_FIELD = 'content_type'
- content_type = models.Fore... | Avoid attaching a related object to `ContentType`. | py |
diff --git a/phy/gui/gui.py b/phy/gui/gui.py
index <HASH>..<HASH> 100644
--- a/phy/gui/gui.py
+++ b/phy/gui/gui.py
@@ -242,14 +242,16 @@ class DockWidget(QDockWidget):
def _default_buttons(self):
"""Create the default buttons on the right."""
- # Close button.
- @self.add_button(name='clos... | Only show the close button of a dock widget if it's closable | py |
diff --git a/flask_ldap_login/__init__.py b/flask_ldap_login/__init__.py
index <HASH>..<HASH> 100644
--- a/flask_ldap_login/__init__.py
+++ b/flask_ldap_login/__init__.py
@@ -235,7 +235,15 @@ class LDAPLoginManager(object):
log.debug("Connecting to ldap server %s" % self.config['URI'])
self.conn = lda... | Apply OPT_X_TLS_NEWCTX last This setting won't have the desired effect unless it is applied after the other settings. | py |
diff --git a/demosys/effects/managers.py b/demosys/effects/managers.py
index <HASH>..<HASH> 100644
--- a/demosys/effects/managers.py
+++ b/demosys/effects/managers.py
@@ -65,6 +65,8 @@ class SingleEffectManager(BaseEffectManger):
Initialize the effect that should run.
"""
effect_list = [cfg.c... | Give sane feedback when no effects are registered | py |
diff --git a/tests/test_merger.py b/tests/test_merger.py
index <HASH>..<HASH> 100644
--- a/tests/test_merger.py
+++ b/tests/test_merger.py
@@ -39,7 +39,7 @@ def test_merge_records_empty_update():
assert merge_records(src, update) == src
-@pytest.mark.skip
+@pytest.mark.xfail
def test_merge_records_author_typo... | tests: xfail instead of skip | py |
diff --git a/tests/test_subqueues.py b/tests/test_subqueues.py
index <HASH>..<HASH> 100644
--- a/tests/test_subqueues.py
+++ b/tests/test_subqueues.py
@@ -43,7 +43,7 @@ def test_unmatchable_subqueues(worker, queue, enqueue_on):
worker.stop()
-@pytest.mark.parametrize(["delimiter"], ["/", ".", "_"])
+@pytest.ma... | updated subqueue delimiter test accordingly | py |
diff --git a/thoth/python/project.py b/thoth/python/project.py
index <HASH>..<HASH> 100644
--- a/thoth/python/project.py
+++ b/thoth/python/project.py
@@ -161,6 +161,7 @@ class Project:
return {
"requirements": self.pipfile.to_dict(),
"requirements_locked": self.pipfile_lock.to_dict()... | Add missing runtime environment in dict reports of project | py |
diff --git a/openquake/risklib/riskinput.py b/openquake/risklib/riskinput.py
index <HASH>..<HASH> 100644
--- a/openquake/risklib/riskinput.py
+++ b/openquake/risklib/riskinput.py
@@ -341,8 +341,6 @@ class GmfGetter(object):
An hazard getter with methods .gen_gmv and .get_hazard returning
ground motion values.... | Cleanup [skip CI] | py |
diff --git a/astrobase/cpserver/checkplotserver_handlers.py b/astrobase/cpserver/checkplotserver_handlers.py
index <HASH>..<HASH> 100644
--- a/astrobase/cpserver/checkplotserver_handlers.py
+++ b/astrobase/cpserver/checkplotserver_handlers.py
@@ -22,6 +22,8 @@ import base64
import logging
from datetime import time
... | cps: revert overzealous time module import removal prompted by flake8 | py |
diff --git a/tfatool/_version.py b/tfatool/_version.py
index <HASH>..<HASH> 100644
--- a/tfatool/_version.py
+++ b/tfatool/_version.py
@@ -1,2 +1,2 @@
-__version__ = "v1.4.2"
+__version__ = "v2.0.0" | bumping to <I> to release big new upload/sync features | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -92,9 +92,24 @@ with open('./pyemd/__about__.py') as f:
exec(f.read(), ABOUT)
-REQUIRES = [
- 'numpy >=1.9.0, <2.0.0'
-]
+NUMPY_REQUIREMENT = ['numpy >=1.9.0, <2.0.0']
+
+# Copied from scipy's installer, to solve t... | Use Scipy's numpy behavior in setup.py. | py |
diff --git a/cgutils/cgroup.py b/cgutils/cgroup.py
index <HASH>..<HASH> 100644
--- a/cgutils/cgroup.py
+++ b/cgutils/cgroup.py
@@ -320,6 +320,13 @@ class SubsystemBlkio(Subsystem):
'throttle.io_service_bytes': BlkioStat,
'throttle.io_serviced': BlkioStat,
'time': SimpleStat,
+ # Debugg... | Support blkio debugging cgroup files They are appeared when CONFIG_DEBUG_BLK_CGROUP=y. | py |
diff --git a/holoviews/element/chart.py b/holoviews/element/chart.py
index <HASH>..<HASH> 100644
--- a/holoviews/element/chart.py
+++ b/holoviews/element/chart.py
@@ -47,7 +47,8 @@ class Chart(Element2D):
Should return the data and parameters of the new Chart.
"""
if isinstance(ndmap, Table):... | Allowed Chart Elements to process Tables with multiple values | py |
diff --git a/sos/plugins/process.py b/sos/plugins/process.py
index <HASH>..<HASH> 100644
--- a/sos/plugins/process.py
+++ b/sos/plugins/process.py
@@ -23,13 +23,20 @@ class Process(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
profiles = ('system',)
def setup(self):
+ ps_axo = "ps axo"
+ ... | [process] Collect few "ps" outputs Partially solves $<I> | py |
diff --git a/PyKCS11/__init__.py b/PyKCS11/__init__.py
index <HASH>..<HASH> 100644
--- a/PyKCS11/__init__.py
+++ b/PyKCS11/__init__.py
@@ -662,7 +662,7 @@ class PyKCS11Lib(object):
for x in range(len(mechanismList)):
mechanism = mechanismList[x]
if mechanism >= CKM_VENDOR_DEFINED:
- ... | Use hex in CKM_VENDOR_DEFINED_... Use CKM_VENDOR_DEFINED_0x<I> instdead of CKM_VENDOR_DEFINED_<I> to indicates the value is in hex. The real value returned by the PKCS#<I> lib is CKM_VENDOR_DEFINED + 0x<I> = 0x<I> | py |
diff --git a/ospd/main.py b/ospd/main.py
index <HASH>..<HASH> 100644
--- a/ospd/main.py
+++ b/ospd/main.py
@@ -143,7 +143,9 @@ def main(
signal.signal(
signal.SIGTERM, partial(exit_cleanup, args.pid_file, server, daemon)
)
-
+ signal.signal(
+ signal.SIGINT, partial(exit_cleanup, args.pid_f... | Handle SIGINT in a clean way, when the daemon runs in foreground As the daemoin running in foreground is normally stopped with ctrl+c Now the pid file is removed as expected. | 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
@@ -157,6 +157,9 @@ class DocumentSerializer(serializers.ModelSerializer):
embedded_docume... | Added _include_additional_option() to serializers.py - framework was crashing without it. | py |
diff --git a/wptools/fetch.py b/wptools/fetch.py
index <HASH>..<HASH> 100644
--- a/wptools/fetch.py
+++ b/wptools/fetch.py
@@ -173,4 +173,7 @@ class WPToolsFetch:
"""
returns the wptools user-agent string
"""
- return "%s/%s (+%s)" % (__title__, __version__, __contact__)
+ retur... | updated fetch.user_agent with pycurl.version | py |
diff --git a/zeroless/zeroless.py b/zeroless/zeroless.py
index <HASH>..<HASH> 100644
--- a/zeroless/zeroless.py
+++ b/zeroless/zeroless.py
@@ -275,9 +275,9 @@ class Client(Sock):
:type port: int
"""
_check_valid_port_range(port)
+ address = (ip, port)
try:
- addre... | Fixed bug in the disconnect_all method in the Client class. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ def readme():
return f.read()
setup(name='georasters',
- version='0.5.1',
+ version='0.5.1a',
description='Tools for working with Geographical Information System Rasters',
url='... | version number for pypi | py |
diff --git a/salt/states/file.py b/salt/states/file.py
index <HASH>..<HASH> 100644
--- a/salt/states/file.py
+++ b/salt/states/file.py
@@ -2059,7 +2059,11 @@ def directory(name,
if not os.path.isabs(name):
return _error(
ret, 'Specified file {0} is not an absolute path'.format(name))
- if ... | Added if condition for broken link. | py |
diff --git a/openpnm/core/Subdomain.py b/openpnm/core/Subdomain.py
index <HASH>..<HASH> 100644
--- a/openpnm/core/Subdomain.py
+++ b/openpnm/core/Subdomain.py
@@ -109,17 +109,17 @@ class Subdomain(Base, LegacyMixin, LabelMixin):
Removes the object from the specified locations.
"""
- i... | caugth a typo and a bug in set_locations | py |
diff --git a/synapse/lib/parser.py b/synapse/lib/parser.py
index <HASH>..<HASH> 100644
--- a/synapse/lib/parser.py
+++ b/synapse/lib/parser.py
@@ -382,11 +382,12 @@ class Parser:
mesg = regex.split('[\n!]', str(e))[0]
at = len(self.text)
if isinstance(e, lark.exceptions.UnexpectedCharacters):... | Slightly improve syntax error expected list (#<I>) improve syntax error expected list | py |
diff --git a/phablet.py b/phablet.py
index <HASH>..<HASH> 100755
--- a/phablet.py
+++ b/phablet.py
@@ -205,6 +205,8 @@ class Phablet:
.. versionadded:: 0.2
"""
+ if self.port is not None:
+ return
self._wait_for_device(timeout)
self._setup_port_forwarding()
... | Phablet.connect(): Don't reconnect each time | py |
diff --git a/smr/uri.py b/smr/uri.py
index <HASH>..<HASH> 100644
--- a/smr/uri.py
+++ b/smr/uri.py
@@ -4,6 +4,7 @@ import logging
import os
import re
import shutil
+import sys
S3_BUCKETS = {} # cache s3 buckets to re-use them | fix missing import in uri.py | py |
diff --git a/classic.py b/classic.py
index <HASH>..<HASH> 100644
--- a/classic.py
+++ b/classic.py
@@ -438,6 +438,8 @@ class ClassicRequestServer(Module):
conns = set(self.connections)
for conn in conns:
conn.interrupt()
+ with self.LAR_cond:
+ self.LAR_cond.notifyAll()
class ClassicScreen(Module):
d... | classic: requestServer: properly wake waiters on the LAR cache | py |
diff --git a/salt/modules/cron.py b/salt/modules/cron.py
index <HASH>..<HASH> 100644
--- a/salt/modules/cron.py
+++ b/salt/modules/cron.py
@@ -215,14 +215,22 @@ def raw_cron(user):
salt '*' cron.raw_cron root
'''
+
+ appUser = __opts__['user']
if __grains__.get('os_family') in ('Solaris', 'A... | Manage user own cron with minion launch with unprivileged user | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -116,8 +116,8 @@ def _build_metadata(): # pylint: disable=too-many-locals, too-many-branches
for line in handle:
line = line.strip()
if line and not line.startswith('#... | :arrow_upper_right: handle 'http[s]' references in requirements files | py |
diff --git a/andes/models/dcbase.py b/andes/models/dcbase.py
index <HASH>..<HASH> 100644
--- a/andes/models/dcbase.py
+++ b/andes/models/dcbase.py
@@ -23,6 +23,14 @@ class Node(ModelBase):
'xcoord': None,
'ycoord': None,
})
+ sel... | Added units for dcbase class | py |
diff --git a/gspread/worksheet.py b/gspread/worksheet.py
index <HASH>..<HASH> 100644
--- a/gspread/worksheet.py
+++ b/gspread/worksheet.py
@@ -963,7 +963,7 @@ class Worksheet:
},
},
]
- worksheet.batch_update(formats)
+ worksheet.batch_format(form... | Fix typo in `Worksheet.batch_format` method closes #<I> | py |
diff --git a/src/pymlab/sensors/sht25.py b/src/pymlab/sensors/sht25.py
index <HASH>..<HASH> 100755
--- a/src/pymlab/sensors/sht25.py
+++ b/src/pymlab/sensors/sht25.py
@@ -49,7 +49,6 @@ class SHT25(Device):
data = self.bus.read_int16(self.address)
data &= ~0b11 # trow out status bits
- prin... | remove print of readed data. (replaced by debug output logging system) | py |
diff --git a/tests/unit/test_loader.py b/tests/unit/test_loader.py
index <HASH>..<HASH> 100644
--- a/tests/unit/test_loader.py
+++ b/tests/unit/test_loader.py
@@ -305,17 +305,13 @@ class LazyLoaderSingleItem(TestCase):
'''
Checks that a KeyError is raised when the function key does not contain a '.'
... | Fix poorly-written test This test was confirming the incorrect prior behavior. | py |
diff --git a/cosmic_ray/cli.py b/cosmic_ray/cli.py
index <HASH>..<HASH> 100644
--- a/cosmic_ray/cli.py
+++ b/cosmic_ray/cli.py
@@ -160,7 +160,7 @@ def handle_config(args):
session_file = get_db_name(args['<session-file>'])
with use_db(session_file) as database:
config, _ = database.get_config()
- ... | Printing proper JSON from `config` command. | py |
diff --git a/acos_client/client.py b/acos_client/client.py
index <HASH>..<HASH> 100644
--- a/acos_client/client.py
+++ b/acos_client/client.py
@@ -68,7 +68,7 @@ class Client(object):
self.current_partition = 'shared'
def _just_digits(self, s):
- return ''.join(i for i in s if i.isdigit())
+ ... | fix for float in config file | py |
diff --git a/docs/conf.py b/docs/conf.py
index <HASH>..<HASH> 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -16,13 +16,11 @@
import sys
import os
-try:
- from unittest.mock import MagicMock
-except ImportError:
- from mock import Mock as MagicMock
+from mock import Mock as MagicMock
import alabaster
+
... | Updated conf.py [ci skip] | py |
diff --git a/pyang/xpath.py b/pyang/xpath.py
index <HASH>..<HASH> 100644
--- a/pyang/xpath.py
+++ b/pyang/xpath.py
@@ -76,15 +76,12 @@ def tokens(s):
# XPath 1.0 spec, 3.7 special rule 1a
# interpret '*' as a wildcard
tok = ('wildcard', m.group(0))
- ... | Fixes #<I> - xpath operator fix | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -42,6 +42,9 @@ setup(
'six',
'typing ; python_version<"3.5" and python_version>="3"',
],
+ package_data={
+ 'stix2patterns.test': ['spec_examples.txt'],
+ },
entry_points={
'co... | Include spec examples test file in wheel distribution. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -108,7 +108,7 @@ setup(
'pytest',
'WebTest',
'pytest-cov',
- 'fakeredis',
+ 'fakeredis<1.0',
'mock',
'urllib3',
'werkzeug', | setup: use 'fakeredis<<I>' until fully ported to new fakeredis version | py |
diff --git a/src/kba/pipeline/_taggers.py b/src/kba/pipeline/_taggers.py
index <HASH>..<HASH> 100644
--- a/src/kba/pipeline/_taggers.py
+++ b/src/kba/pipeline/_taggers.py
@@ -367,7 +367,10 @@ the output path to create.
stream_item.body.taggings[self.tagger_id] = tagging
## could consume lots... | reorganizing _taggers.py and _lingpipe.py (and its tests) to use the new streamcorpus attribute info, and expanded range of MentionID | py |
diff --git a/bcbio/variation/genotype.py b/bcbio/variation/genotype.py
index <HASH>..<HASH> 100644
--- a/bcbio/variation/genotype.py
+++ b/bcbio/variation/genotype.py
@@ -184,7 +184,8 @@ def batch_for_variantcall(samples):
"""
from bcbio.pipeline import run_info
convert_to_list = set(["config__algorithm_... | CWL: always set validate and validate_regions CWL batching requires all outputs present (and nil if unset), but the previously set None defaults do not pass any command line arguments to the batch command so they're not included in the output. | py |
diff --git a/tests/pytests/unit/roster/test_dir.py b/tests/pytests/unit/roster/test_dir.py
index <HASH>..<HASH> 100644
--- a/tests/pytests/unit/roster/test_dir.py
+++ b/tests/pytests/unit/roster/test_dir.py
@@ -96,7 +96,7 @@ def configure_loader_modules(roster_domain, salt_master_factory, tmp_path):
"r... | need to convert PosixPath to str for older Python versions. | py |
diff --git a/dtool_s3/storagebroker.py b/dtool_s3/storagebroker.py
index <HASH>..<HASH> 100644
--- a/dtool_s3/storagebroker.py
+++ b/dtool_s3/storagebroker.py
@@ -206,6 +206,7 @@ class S3StorageBroker(BaseStorageBroker):
self.bucket = parse_result.netloc
uuid = parse_result.path[1:]
+ self.da... | Fix issue where dataset_prefix attribute was referenced before it was set | py |
diff --git a/scout/commands/update/case.py b/scout/commands/update/case.py
index <HASH>..<HASH> 100644
--- a/scout/commands/update/case.py
+++ b/scout/commands/update/case.py
@@ -120,5 +120,6 @@ def case(context, case_id, case_name, institute, collaborator, vcf, vcf_sv,
# Delete and reload research SV variants... | Adds check if case is research | py |
diff --git a/steam/vdf.py b/steam/vdf.py
index <HASH>..<HASH> 100644
--- a/steam/vdf.py
+++ b/steam/vdf.py
@@ -67,7 +67,7 @@ def scan(stream):
return deque(stack)
def cast_to_num(string):
- num = re.match("(-?\d+\.?\d*)", string, flags = re.UNICODE)
+ num = re.match("^\s*(-?\d+\.?\d*)\s*$", string, flags ... | Fix VDF number cast eating up everything with integers in it | py |
diff --git a/scripts/performance/perf_spike_load.py b/scripts/performance/perf_spike_load.py
index <HASH>..<HASH> 100644
--- a/scripts/performance/perf_spike_load.py
+++ b/scripts/performance/perf_spike_load.py
@@ -103,7 +103,7 @@ def start_profile():
test_config = yaml.load(file)
logging_folder = create_... | Changed log file opening mode to rewrite logs n every execution | py |
diff --git a/pydriller/domain/commit.py b/pydriller/domain/commit.py
index <HASH>..<HASH> 100644
--- a/pydriller/domain/commit.py
+++ b/pydriller/domain/commit.py
@@ -385,7 +385,14 @@ class Commit:
diff_index = self._c_object.parents[0].diff(commit,
... | returning an empty diff in case of a merge commit. | py |
diff --git a/tests/settings.py b/tests/settings.py
index <HASH>..<HASH> 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -115,8 +115,8 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.staticfiles',
'mptt',
- 'cms',
'djangocms_text_ckeditor',
+ 'cms',
'cmsplugin_ne... | Fixed order of installed apps in test settings. | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -41,7 +41,7 @@ install_requires = [
setup(
name='nodeconductor',
- version='0.20.0',
+ version='0.21.0',
author='OpenNode Team',
author_email='info@opennodecloud.com',
url='https://github.com/openn... | Preparing new release: <I> | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -71,6 +71,7 @@ setup(
'console_scripts': ['autokey-gtk=autokey.gtkui.__main__:main']
},
scripts=['autokey-qt', 'autokey-run', 'autokey-shell'],
+ install_requires=['dbus-python', 'pyinotify', 'python3-xli... | reintroduce install_requires for Setuptools | py |
diff --git a/source/rafcon/mvc/views/undocked_window.py b/source/rafcon/mvc/views/undocked_window.py
index <HASH>..<HASH> 100644
--- a/source/rafcon/mvc/views/undocked_window.py
+++ b/source/rafcon/mvc/views/undocked_window.py
@@ -19,7 +19,7 @@ class UndockedWindowView(View):
self['top_menu_hbox'].reorder_chil... | Changed the undocked window type back to gtk.gdk.WINDOW_TYPE_HINT_UTILITY Please tell me if this is enough to deiconify the undocked windows again Undocked windows cannot be maximized under GNOME | py |
diff --git a/alot/init.py b/alot/init.py
index <HASH>..<HASH> 100755
--- a/alot/init.py
+++ b/alot/init.py
@@ -77,6 +77,7 @@ def main():
for configfilename in configfiles:
if os.path.exists(configfilename):
settings.config.read(configfilename)
+ break # use only the first
no... | make sure only one config file is used | py |
diff --git a/bonobo/execution/contexts/node.py b/bonobo/execution/contexts/node.py
index <HASH>..<HASH> 100644
--- a/bonobo/execution/contexts/node.py
+++ b/bonobo/execution/contexts/node.py
@@ -285,10 +285,10 @@ class NodeExecutionContext(BaseContext, WithStatistics):
# Store or check input type
if s... | experiment: try to autocast when possible | py |
diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100755
--- a/setup.py
+++ b/setup.py
@@ -60,11 +60,12 @@ setup(
name="reana-db",
version=version,
description=__doc__,
+ license="MIT",
long_description=readme + "\n\n" + history,
author="REANA",
author_email="info@reana.io",
ur... | installation: adds autodiscovered packages * Adds missing subpackge `alembic` (and all future subpackages) to the production builds (closes #<I>). | py |
diff --git a/lib/search_engine_unit_tests.py b/lib/search_engine_unit_tests.py
index <HASH>..<HASH> 100644
--- a/lib/search_engine_unit_tests.py
+++ b/lib/search_engine_unit_tests.py
@@ -26,6 +26,7 @@ import unittest
from invenio import search_engine
from invenio.testutils import make_test_suite, run_test_suite
+fr... | WebSearch: unit test disabling for CFG_CERN_SITE * Disables non-applicable unit test (because of different index setup) when running on CFG_CERN_SITE. | py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.