diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/vanilla/core.py b/vanilla/core.py index <HASH>..<HASH> 100644 --- a/vanilla/core.py +++ b/vanilla/core.py @@ -1660,17 +1660,21 @@ class HTTPClient(HTTPSocket): sender.close() return - if headers.get('transfer-encoding') == 'chunked': - while True: - ...
handle connection loss while reading the HTTP body
py
diff --git a/vcs_repo_mgr/__init__.py b/vcs_repo_mgr/__init__.py index <HASH>..<HASH> 100644 --- a/vcs_repo_mgr/__init__.py +++ b/vcs_repo_mgr/__init__.py @@ -111,7 +111,7 @@ from vcs_repo_mgr.exceptions import ( ) # Semi-standard module versioning. -__version__ = '3.0' +__version__ = '4.0' USER_CONFIG_FILE = '~...
Release <I>: Force internal merge tool for Mercurial* Although it seems unlikely to me that someone would depend on the old behavior the introduction of 'hg --config ui.merge=internal:merge' is backwards incompatible and version numbers are cheap, so bumping :-P.
py
diff --git a/cme/protocols/mssql.py b/cme/protocols/mssql.py index <HASH>..<HASH> 100755 --- a/cme/protocols/mssql.py +++ b/cme/protocols/mssql.py @@ -134,7 +134,7 @@ class mssql(connection): return True - def check_if_admin(self, auth): + def check_if_admin(self): try: self.con...
Fix mssql check_if_admin function The check_if_admin function from mssql.py takes an additional auth parameter, that is actually not used. Other parts of the code are calling the function without the parameter, which leads to an error when enumerating mssql endpoints. By simply removing the parameter and fixing the lo...
py
diff --git a/aiidalab_widgets_base/utils/__init__.py b/aiidalab_widgets_base/utils/__init__.py index <HASH>..<HASH> 100644 --- a/aiidalab_widgets_base/utils/__init__.py +++ b/aiidalab_widgets_base/utils/__init__.py @@ -2,6 +2,7 @@ from functools import wraps import more_itertools as mit +import numpy as np from as...
Add a class to handle Pinhole camera. (#<I>) This allows to easily handle transformations between 3D "real" space and the "screen" space.
py
diff --git a/coursera/coursera_dl.py b/coursera/coursera_dl.py index <HASH>..<HASH> 100755 --- a/coursera/coursera_dl.py +++ b/coursera/coursera_dl.py @@ -276,11 +276,11 @@ def get_config_paths(config_name, user_specified_path=None): env_dirs = [] for v in env_vars: - dir = ''.join(map(getenv_or_empt...
Rename variables to not redefine Python builtins.
py
diff --git a/cobald_tests/daemon/config/test_mapping.py b/cobald_tests/daemon/config/test_mapping.py index <HASH>..<HASH> 100644 --- a/cobald_tests/daemon/config/test_mapping.py +++ b/cobald_tests/daemon/config/test_mapping.py @@ -71,3 +71,9 @@ class TestTranslate(object): assert plain == 1 sequence =...
test for nested YAML
py
diff --git a/spyder/app/mainwindow.py b/spyder/app/mainwindow.py index <HASH>..<HASH> 100644 --- a/spyder/app/mainwindow.py +++ b/spyder/app/mainwindow.py @@ -537,7 +537,7 @@ class MainWindow(QMainWindow): if os.name == "nt": qapp.setWindowIcon(ima.get_icon("windows_app_icon")) - self....
More robust check for whether help plugin is enabled.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,8 @@ setup( long_description=open('README.rst').read(), install_requires=['xnat>=0.3.4', 'nipype>=1.0', - 'pydicom>=1.0.1rc1'], + 'pydicom>=1...
added networkx <I> requirement to setup.py (<I> doesn't work with nipype)
py
diff --git a/tests/test_query.py b/tests/test_query.py index <HASH>..<HASH> 100644 --- a/tests/test_query.py +++ b/tests/test_query.py @@ -386,7 +386,11 @@ def test_endpoint_dispatch(): query = MyQuery(RequestFactory().get('/')) assert '/query/gui/field/foo' == query.form().fields_by_name.foo.endpoint_path ...
Fix test cases after changes in tri.form
py
diff --git a/oplus/version.py b/oplus/version.py index <HASH>..<HASH> 100644 --- a/oplus/version.py +++ b/oplus/version.py @@ -1 +1 @@ -version='7.0.1.dev5.0.0' +version='7.0.1.dev5.0.1'
[skip ci] updated version as <I>.de<I>
py
diff --git a/quark/db/models.py b/quark/db/models.py index <HASH>..<HASH> 100644 --- a/quark/db/models.py +++ b/quark/db/models.py @@ -160,7 +160,8 @@ class IPAddress(BASEV2, models.HasId): address_type = sa.Column(sa.Enum(ip_types.FIXED, ip_types.FLOATING, ip_types.SHARED, ...
eager-loading of associations relationship on IPAddress model
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -62,8 +62,8 @@ intersphinx_mapping = { 'numpy': ('https://docs.scipy.org/doc/numpy/', None), 'scipy': ('https://docs.scipy.org/doc/scipy/reference/', None), 'matplotlib': ...
update intersphinx_mapping URLs for pyFFTW and PyWavelets
py
diff --git a/deployutils/__init__.py b/deployutils/__init__.py index <HASH>..<HASH> 100644 --- a/deployutils/__init__.py +++ b/deployutils/__init__.py @@ -27,9 +27,7 @@ Function to load site and credentials config files """ import os, re, sys -__version__ = '0.2' - -from deployutils import crypt +__version__ = '0.2...
fix: import late to prevent pip install to break
py
diff --git a/tests/test_effects.py b/tests/test_effects.py index <HASH>..<HASH> 100644 --- a/tests/test_effects.py +++ b/tests/test_effects.py @@ -40,3 +40,25 @@ def test_hpss(): D = librosa.stft(y) assert np.allclose(D, Dh + Dp, rtol=1e-3, atol=1e-4) + + +def test_percussive(): + + y, sr = librosa.load(...
added integration tests for effects #<I>
py
diff --git a/reaction.py b/reaction.py index <HASH>..<HASH> 100644 --- a/reaction.py +++ b/reaction.py @@ -38,9 +38,7 @@ is used.:: ''' import re - from decimal import Decimal -from collections import defaultdict # TODO This implementation is simply a hand-written parser. A proper parser # could be generated u...
reaction: Remove normalization of compound list
py
diff --git a/django_select2/conf.py b/django_select2/conf.py index <HASH>..<HASH> 100644 --- a/django_select2/conf.py +++ b/django_select2/conf.py @@ -8,7 +8,7 @@ __all__ = ('settings', 'Select2Conf') class Select2Conf(AppConf): """Settings for Django-Select2.""" - LIB_VERSION = '4.0.5' + LIB_VERSION = '4...
Update Select2 library to version <I>
py
diff --git a/pynexus/pynexus.py b/pynexus/pynexus.py index <HASH>..<HASH> 100644 --- a/pynexus/pynexus.py +++ b/pynexus/pynexus.py @@ -84,6 +84,11 @@ class NexusConn: if task_id in self.resTable: del self.resTable[task_id] + def cancelChannels(self): + with self.resTableLock: +...
Cancel channels for pull requests when connection closes
py
diff --git a/djangoplugins/utils.py b/djangoplugins/utils.py index <HASH>..<HASH> 100644 --- a/djangoplugins/utils.py +++ b/djangoplugins/utils.py @@ -1,7 +1,5 @@ from __future__ import absolute_import -from os.path import join, exists, dirname - from django.db import connection from django.conf import settings f...
Just always import the app which will trigger plugin loading
py
diff --git a/src/alchemist/db/models.py b/src/alchemist/db/models.py index <HASH>..<HASH> 100644 --- a/src/alchemist/db/models.py +++ b/src/alchemist/db/models.py @@ -102,10 +102,6 @@ class Model(metaclass=ModelBase): __abstract__ = True @declared_attr - def __manager__(cls): - return __import__('...
Manager is the query class not a default manager.
py
diff --git a/vcs/nodes.py b/vcs/nodes.py index <HASH>..<HASH> 100644 --- a/vcs/nodes.py +++ b/vcs/nodes.py @@ -70,6 +70,9 @@ class RemovedFileNodesGenerator(NodeGeneratorBase): for p in self.current_paths: yield RemovedFileNode(path=p) + def __getslice__(self, i, j): + for p in self.cu...
fixed sliceing for removed lazy filenode generator
py
diff --git a/salt/states/pkg.py b/salt/states/pkg.py index <HASH>..<HASH> 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -503,6 +503,8 @@ def _verify_install(desired, new_pkgs): if __grains__['os'] == 'FreeBSD' and origin: cver = [k for k, v in six.iteritems(new_pkgs) if v['origin']...
Fix pkg install with version. In new_pkgs dict keys are with the format package=version this makes this function call to not return package version in Ubuntu systems. Would be a good check to see if this also fails in other Linux distributions. Fixes #<I>.
py
diff --git a/typedload/dataloader.py b/typedload/dataloader.py index <HASH>..<HASH> 100644 --- a/typedload/dataloader.py +++ b/typedload/dataloader.py @@ -580,12 +580,8 @@ def _unionload(l: Loader, value, type_) -> Any: exceptions = [] # Give a score to the types - sorted_args = [] # type: List[Type] - ...
Use python to sort
py
diff --git a/cartoframes/io/managers/context_manager.py b/cartoframes/io/managers/context_manager.py index <HASH>..<HASH> 100644 --- a/cartoframes/io/managers/context_manager.py +++ b/cartoframes/io/managers/context_manager.py @@ -167,13 +167,14 @@ class ContextManager: def _create_function(self, schema, stateme...
Avoid error for usernames with '-' in name
py
diff --git a/gcloud/datastore/transaction.py b/gcloud/datastore/transaction.py index <HASH>..<HASH> 100644 --- a/gcloud/datastore/transaction.py +++ b/gcloud/datastore/transaction.py @@ -21,7 +21,8 @@ class Transaction(object): ... entity1.save() ... entity2.save() - By default, the transaction is roll...
Clarify sentence. Feedback from @silvolu.
py
diff --git a/uncompyle6/parsers/parse26.py b/uncompyle6/parsers/parse26.py index <HASH>..<HASH> 100644 --- a/uncompyle6/parsers/parse26.py +++ b/uncompyle6/parsers/parse26.py @@ -28,19 +28,13 @@ class Python26Parser(Python2Parser): POP_TOP END_FINALLY try_middle ::= jmp_abs COME_F...
Marginally better for Python <I> but... control flow is still wrong.
py
diff --git a/satpy/scene.py b/satpy/scene.py index <HASH>..<HASH> 100644 --- a/satpy/scene.py +++ b/satpy/scene.py @@ -1208,7 +1208,6 @@ class Scene: def _update_dependency_tree(self, needed_datasets, query): try: - self._composite_loader = CompositorLoader() sensors = self.attrs...
Remove extra creation of the CompositeLoader
py
diff --git a/visidata/vdtui/column.py b/visidata/vdtui/column.py index <HASH>..<HASH> 100644 --- a/visidata/vdtui/column.py +++ b/visidata/vdtui/column.py @@ -383,5 +383,9 @@ class ColumnExpr(Column): @expr.setter def expr(self, expr): - self._expr = expr - self.compiledExpr = compile(expr, '<...
[vdtui] do not merge; SyntaxError while setting Sheet.expr ignored
py
diff --git a/fireplace/cards/classic/neutral_rare.py b/fireplace/cards/classic/neutral_rare.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/classic/neutral_rare.py +++ b/fireplace/cards/classic/neutral_rare.py @@ -146,7 +146,4 @@ class NEW1_037: # Stampeding Kodo class NEW1_041: - def play(self): - targets = ...
Reimplement Stampeding Kodo in the DSL
py
diff --git a/python/dllib/test/dev/diff.py b/python/dllib/test/dev/diff.py index <HASH>..<HASH> 100755 --- a/python/dllib/test/dev/diff.py +++ b/python/dllib/test/dev/diff.py @@ -29,7 +29,7 @@ scala_to_python = {"Graph": "Model"} def extract_scala_class(class_path): exclude_key_words = set(["*", "abstract", "Co...
Fix operation logical related bugs (#<I>) * Support control flow * Decouple input/output tensor numeric type from the module numeric type(parameter type). * FIx unit tests * while loop api refactor * fix unit test * make breeze version configurable as spark <I> bump breeze version * Add scheduler to ...
py
diff --git a/kubernetes/K8sReplicaSet.py b/kubernetes/K8sReplicaSet.py index <HASH>..<HASH> 100644 --- a/kubernetes/K8sReplicaSet.py +++ b/kubernetes/K8sReplicaSet.py @@ -7,6 +7,7 @@ # from kubernetes.K8sObject import K8sObject +from kubernetes.K8sPod import K8sPod from kubernetes.models.v1beta1.ReplicaSet import ...
K8sReplicaSet: update delete cascade
py
diff --git a/pypianoroll/multitrack.py b/pypianoroll/multitrack.py index <HASH>..<HASH> 100644 --- a/pypianoroll/multitrack.py +++ b/pypianoroll/multitrack.py @@ -1099,7 +1099,7 @@ class Multitrack(object): self.tracks = [track for idx, track in enumerate(self.tracks) if idx not in trac...
Change default behavior to uncompressed in Multitrack.save()
py
diff --git a/fusesoc/core.py b/fusesoc/core.py index <HASH>..<HASH> 100644 --- a/fusesoc/core.py +++ b/fusesoc/core.py @@ -1,6 +1,12 @@ +import logging + from fusesoc.capi1.core import Core as Capi1Core from fusesoc.capi2.core import Core as Capi2Core + +logger = logging.getLogger(__name__) + + class Core(object):...
Display a more helpful error message when the first line in a core file is invalid.
py
diff --git a/py3status/modules/battery_level.py b/py3status/modules/battery_level.py index <HASH>..<HASH> 100644 --- a/py3status/modules/battery_level.py +++ b/py3status/modules/battery_level.py @@ -140,10 +140,10 @@ class Py3status: if not self.notification: return - if self.time_remaini...
Fix on_click() method logic Instead of checking self.charging, the code was checking self.time_remaining. Since self.time_remaining is always a non-empty String (even in case of error, where you would get a ? instead of None or something else), this check always evaluated to true and self.format_notify_charging was ne...
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -821,6 +821,10 @@ def _virtual(osdata): fhr_contents = fhr.read() if ':/lxc/' in fhr_contents: grains['virtual_subtype'] = ...
Fix 'virtual_subtype' grain for kubernetes and libpod containers All the containers started by kubelet (hence kubernetes) are assigned to the `kubepods` cgroup slice (see [1]). That happens despite of the Container Runtime Interface being used. Containers started via tools using `libpod` [2] (eg: podman) are assigned...
py
diff --git a/pyinfra/modules/files.py b/pyinfra/modules/files.py index <HASH>..<HASH> 100644 --- a/pyinfra/modules/files.py +++ b/pyinfra/modules/files.py @@ -141,6 +141,9 @@ def template(template_filename, remote_filename, **data): template_file = open(path.join(state.deploy_dir, template_filename), 'r') tem...
Always add host to template vars.
py
diff --git a/lwr/manager_endpoint_util.py b/lwr/manager_endpoint_util.py index <HASH>..<HASH> 100644 --- a/lwr/manager_endpoint_util.py +++ b/lwr/manager_endpoint_util.py @@ -32,6 +32,7 @@ def __job_complete_dict(complete_status, manager, job_id): returncode=return_code, stdout=stdout_contents, ...
Include job working_directory in response... ... so Galaxy's finalization code can rewrite metadata stuff if needed.
py
diff --git a/vc/create.py b/vc/create.py index <HASH>..<HASH> 100644 --- a/vc/create.py +++ b/vc/create.py @@ -7,6 +7,7 @@ Author: kyle.script@gmail.com """ import os +import sys import base64 from vc.utils import create_image @@ -18,7 +19,10 @@ def create_image_base64(): code, file = create_image() ...
add python2 support
py
diff --git a/luigi/contrib/hdfs/__init__.py b/luigi/contrib/hdfs/__init__.py index <HASH>..<HASH> 100644 --- a/luigi/contrib/hdfs/__init__.py +++ b/luigi/contrib/hdfs/__init__.py @@ -75,3 +75,4 @@ CompatibleHdfsFormat = hdfs_format.CompatibleHdfsFormat # target.py HdfsTarget = hdfs_target.HdfsTarget +HdfsFlagTarget...
Allow direct import of HdfsFlagTarget from luigi.contrib.hdfs (#<I>)
py
diff --git a/bids/variables/variables.py b/bids/variables/variables.py index <HASH>..<HASH> 100644 --- a/bids/variables/variables.py +++ b/bids/variables/variables.py @@ -301,6 +301,9 @@ class SparseRunVariable(SimpleVariable): def __init__(self, name, data, run_info, source, **kwargs): if hasattr(run_inf...
ENH: throw an error if run_info is not a list
py
diff --git a/sh.py b/sh.py index <HASH>..<HASH> 100644 --- a/sh.py +++ b/sh.py @@ -836,7 +836,7 @@ class OProc(object): # ignoring SIGHUP lets us persist even after the parent process # exits # only ignore if we're backgrounded - if self.call_args["bg"] is False: + ...
Logic for background was reversed.
py
diff --git a/exchangelib/fields.py b/exchangelib/fields.py index <HASH>..<HASH> 100644 --- a/exchangelib/fields.py +++ b/exchangelib/fields.py @@ -982,7 +982,7 @@ class AttachmentField(EWSElementListField): # Look for both FileAttachment and ItemAttachment if iter_elem is not None: attach...
Parse attachments in the order they arrive in the XML. Refs #<I>
py
diff --git a/src/auditlog/models.py b/src/auditlog/models.py index <HASH>..<HASH> 100644 --- a/src/auditlog/models.py +++ b/src/auditlog/models.py @@ -99,13 +99,6 @@ class LogEntry(models.Model): fstring = _("Logged {repr:s}") return fstring.format(repr=self.object_repr) - - def html_formated...
Remove html_formated_string method on LogEntry model The method name was incorrectly spelled and the method was not flexible enough. This functionality will be replaced by a more flexible method and/or a template tag.
py
diff --git a/flask_apscheduler/json.py b/flask_apscheduler/json.py index <HASH>..<HASH> 100644 --- a/flask_apscheduler/json.py +++ b/flask_apscheduler/json.py @@ -18,7 +18,7 @@ def dumps(obj, indent=None): def jsonify(data, status=None): indent = None - if flask.current_app.config['JSONIFY_PRETTYPRINT_REGULA...
is_xhr has been removed from Werkzeug (#<I>)
py
diff --git a/dedupe/core.py b/dedupe/core.py index <HASH>..<HASH> 100644 --- a/dedupe/core.py +++ b/dedupe/core.py @@ -173,6 +173,7 @@ class Distances(object) : def __init__(self, data_model) : self.field_comparators = data_model.field_comparators.items() + def __call__(self, record_pair) : ...
try casting to numpy arrays before fillign
py
diff --git a/pgpy/pgp.py b/pgpy/pgp.py index <HASH>..<HASH> 100644 --- a/pgpy/pgp.py +++ b/pgpy/pgp.py @@ -2219,7 +2219,9 @@ class PGPKey(Armorable, ParentRef, PGPObject): Decrypt a PGPMessage using this key. :param message: An encrypted :py:obj:`PGPMessage` - :returns: A new :py:obj:`PGPMess...
#<I> - document which exceptions can be raised from PGPKey.decrypt
py
diff --git a/phonopy/interface/crystal.py b/phonopy/interface/crystal.py index <HASH>..<HASH> 100644 --- a/phonopy/interface/crystal.py +++ b/phonopy/interface/crystal.py @@ -370,7 +370,7 @@ class CrystalIn: self._tags['magnetic_moments'] = magmoms print("CRYSTAL-interface: Following...
Fixed one print statement for Python <I> compatibility
py
diff --git a/salt/modules/cmdmod.py b/salt/modules/cmdmod.py index <HASH>..<HASH> 100644 --- a/salt/modules/cmdmod.py +++ b/salt/modules/cmdmod.py @@ -445,9 +445,9 @@ def _run(cmd, stdout=subprocess.PIPE, stdin=subprocess.PIPE ).communicate(py_code.encode(__salt_system_enc...
Do not show whole env in error Change var names so we only show parts of stderr and stout and not the whole env.
py
diff --git a/aldryn_apphook_reload/utils.py b/aldryn_apphook_reload/utils.py index <HASH>..<HASH> 100644 --- a/aldryn_apphook_reload/utils.py +++ b/aldryn_apphook_reload/utils.py @@ -91,6 +91,7 @@ def reload_urlconf(urlconf=None, new_revision=None): reload(sys.modules[urlconf]) cms.appresolver.clear_app_r...
re-fetch cms app patters on reload_urlconf fixes #1
py
diff --git a/PySimpleGUI.py b/PySimpleGUI.py index <HASH>..<HASH> 100644 --- a/PySimpleGUI.py +++ b/PySimpleGUI.py @@ -1,6 +1,6 @@ #!/usr/bin/python3 -version = __version__ = "4.48.0.4 Unreleased" +version = __version__ = "4.48.0.5 Unreleased" _change_log = """ @@ -16,6 +16,8 @@ _change_log = """ Chang...
VPush and VP Aliases for VStretch
py
diff --git a/seqlearn/_decode/bestfirst.py b/seqlearn/_decode/bestfirst.py index <HASH>..<HASH> 100644 --- a/seqlearn/_decode/bestfirst.py +++ b/seqlearn/_decode/bestfirst.py @@ -8,7 +8,7 @@ def bestfirst(Score, trans, init, final): n_samples, _ = Score.shape - path = np.empty(n_samples, dtype=np.int32) + ...
FIX bestfirst decoder should also use np.intp StructuredPerceptron raises an exception when np.int<I> is used.
py
diff --git a/hamster/db.py b/hamster/db.py index <HASH>..<HASH> 100644 --- a/hamster/db.py +++ b/hamster/db.py @@ -464,12 +464,12 @@ class Storage(hamster.storage.Storage): FROM activities a LEFT JOIN categories b on b.id = a.category_id WHERE a.id in (SELECT ...
get_interval_ids did not return all activities in the interval because it forgot about Those Spanning Cases. Patch by Hendrik van Antwerpen svn path=/trunk/; revision=<I>
py
diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py index <HASH>..<HASH> 100644 --- a/netmiko/base_connection.py +++ b/netmiko/base_connection.py @@ -522,7 +522,7 @@ class BaseSSHConnection(object): @staticmethod def normalize_linefeeds(a_string): """Convert '\r\r\n','\r\n', '\n\r' t...
Fix on normalize linefeeds for HP
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -63,8 +63,15 @@ setup(name='polyaxon-cli', "polyaxon = polyaxon_cli.main:cli", ], }, + python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', classifiers=[ ...
Add python_requires and Trove classifiers `python_requires` helps pip ensure the correct version of this package is installed for the user's running Python version. `classifiers` help make it clear on <URL>
py
diff --git a/package/yapsy/PluginManager.py b/package/yapsy/PluginManager.py index <HASH>..<HASH> 100644 --- a/package/yapsy/PluginManager.py +++ b/package/yapsy/PluginManager.py @@ -482,8 +482,11 @@ class PluginManager(object): if os.path.isdir(candidate_filepath): candidate_module = imp.load_module(plugin_...
don't use 'with' to get a better backward compatibility with 2.x pythons
py
diff --git a/mcts/certsuite/cert.py b/mcts/certsuite/cert.py index <HASH>..<HASH> 100755 --- a/mcts/certsuite/cert.py +++ b/mcts/certsuite/cert.py @@ -50,6 +50,8 @@ webapi_results_embed_app = None last_test_started = 'None' logger = None +expected_results_path = '../static/expected_results' + # supported_versions ...
fix no global expected_results_path
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f: short_description = 'Calculate RMSD using, translation and rotation, between molecules' setup(name='rmsd', - version='1.2.0', + vers...
changes to make it work on pypi
py
diff --git a/websockets/protocol.py b/websockets/protocol.py index <HASH>..<HASH> 100644 --- a/websockets/protocol.py +++ b/websockets/protocol.py @@ -157,12 +157,14 @@ class WebSocketCommonProtocol(asyncio.StreamReaderProtocol): pass # Wait for a message until the connection is closed - ...
Prevent incomplete task leak in recv.
py
diff --git a/nudibranch/models.py b/nudibranch/models.py index <HASH>..<HASH> 100644 --- a/nudibranch/models.py +++ b/nudibranch/models.py @@ -480,8 +480,8 @@ class User(UserMixin, BasicBase, Base): @staticmethod def is_admin_for_something(cls, value, chain): - '''chain is called only on something of...
Added clarifying comment as to how is_admin_for_something works.
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -732,6 +732,13 @@ class MWorker(multiprocessing.Process): raise # catch all other exceptions, so we don't go defunct except Exception as exc: + ...
Attempt to return errors to minions from Master Right now for all exceptions on the master we handle the exception and reset the socket. This means the master doesn't die-- but we aren't being very nice to the minion, since we never sent a response. This means the minion has to wait until their max timeout. This way w...
py
diff --git a/djoser/utils.py b/djoser/utils.py index <HASH>..<HASH> 100644 --- a/djoser/utils.py +++ b/djoser/utils.py @@ -52,7 +52,7 @@ def send_email(to_email, from_email, context, subject_template_name, class ActionViewMixin(object): def post(self, request): - serializer = self.get_serializer(data=req...
Fix deprecated DRF code DRF <I> breaks djoser, because `request.DATA` is deprecated. See here: <URL>
py
diff --git a/consolemenu/menu_component.py b/consolemenu/menu_component.py index <HASH>..<HASH> 100644 --- a/consolemenu/menu_component.py +++ b/consolemenu/menu_component.py @@ -337,7 +337,7 @@ class MenuItemsSection(MenuComponent): if len(content) == 0: return super().row() # split on u...
split on any newline sequence as the docs recommend <URL>
py
diff --git a/bootstrap.py b/bootstrap.py index <HASH>..<HASH> 100755 --- a/bootstrap.py +++ b/bootstrap.py @@ -30,8 +30,18 @@ assert options.gui in (None, 'pyqt', 'pyside'),\ # Prepare arguments for Spyder's main script sys.argv = [sys.argv[0]] + args + print("Executing Spyder from source checkout") +# Warn if S...
bootstrap.py: warn users about possible problems when executing Spyder from non-ascii path (fixes issue #<I>)
py
diff --git a/km3pipe/dataclasses.py b/km3pipe/dataclasses.py index <HASH>..<HASH> 100644 --- a/km3pipe/dataclasses.py +++ b/km3pipe/dataclasses.py @@ -136,15 +136,21 @@ class HitSeries(object): if self._hits is None: self._convert_hits() self._hits.append(hit) + self._pos = None + ...
Safe caching of pos and dir, regarding append
py
diff --git a/version.py b/version.py index <HASH>..<HASH> 100644 --- a/version.py +++ b/version.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # -VERSION="0.07" +VERSION="0.08" def get(): global...
correct a bug when converting None to numeric
py
diff --git a/boil/version.py b/boil/version.py index <HASH>..<HASH> 100644 --- a/boil/version.py +++ b/boil/version.py @@ -79,7 +79,7 @@ def getVersion(): """ try: - ver = callGit(['describe', '--abbrev=3', '--match=v*']) + ver = callGit(['describe', '--tags', '--abbrev=3', '--match=v*']) ...
allowed basic tags to act as version tags
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -34,9 +34,9 @@ setup( version=__version__, description='Anonymous credentials', long_description='Anonymous credentials', - url='https://github.com/evernym/anoncreds-priv', + url='https://github.com/hyperl...
Update url and author_email in setup.py
py
diff --git a/netmiko/base_connection.py b/netmiko/base_connection.py index <HASH>..<HASH> 100644 --- a/netmiko/base_connection.py +++ b/netmiko/base_connection.py @@ -284,6 +284,7 @@ class BaseSSHConnection(object): self.clear_buffer() self.remote_conn.sendall("\n") time.sleep(delay_factor * ...
fixing minor bug with find_prompt
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -75,6 +75,7 @@ if sys.version < '3': extras_require = { 'rtree': ["Rtree==0.8.2"], 'celery': ["celery >=3.1, <4.0"], + 'plotting': ["matplotlib >=1.5"], } setup(
Add "plotting" extra to setup.py which requires matplotlib
py
diff --git a/fireplace/cards/league/adventure.py b/fireplace/cards/league/adventure.py index <HASH>..<HASH> 100644 --- a/fireplace/cards/league/adventure.py +++ b/fireplace/cards/league/adventure.py @@ -483,6 +483,8 @@ class LOEA16_19: class LOEA16_19H: update = Refresh(FRIENDLY_MINIONS - SELF, {GameTag.CANT_BE_DAMA...
Implement immune enchantment from Rafaam encounter
py
diff --git a/doc/source/conf.py b/doc/source/conf.py index <HASH>..<HASH> 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -48,7 +48,7 @@ copyright = u'2012, Christopher Tunnell' # built documents. # # The short X.Y version. -version = open('VERSION').read().rstrip('\n') +version = open('../../VERSION').r...
BUG: Fix location of VERSION file when called from sphinx
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup setup( name='apns2', - version='0.6.0', + version='0.7.0', packages=['apns2'], install_requires=[ 'hyper>=0.7',
version bump -> <I>
py
diff --git a/src/djangorecipe/__init__.py b/src/djangorecipe/__init__.py index <HASH>..<HASH> 100644 --- a/src/djangorecipe/__init__.py +++ b/src/djangorecipe/__init__.py @@ -133,7 +133,7 @@ class Recipe(object): options.setdefault('project', 'project') options.setdefault('settings', 'development') ...
The recipe now uses the proper name for the url conf by default
py
diff --git a/nodeconductor/iaas/tests/test_services.py b/nodeconductor/iaas/tests/test_services.py index <HASH>..<HASH> 100644 --- a/nodeconductor/iaas/tests/test_services.py +++ b/nodeconductor/iaas/tests/test_services.py @@ -22,10 +22,12 @@ def _service_to_dict(service): project_groups.append( {...
uuid field added to service tests
py
diff --git a/scs_core/data/timedelta.py b/scs_core/data/timedelta.py index <HASH>..<HASH> 100644 --- a/scs_core/data/timedelta.py +++ b/scs_core/data/timedelta.py @@ -24,7 +24,7 @@ class Timedelta(JSONable): @classmethod def construct_from_ps_time_report(cls, report): - # uptime... + # ps CPU ...
Upgraded Timedelta JSON.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,14 +32,15 @@ class Coverage(Command): 'COVERAGE_PROCESS_START': os.path.join(root_dir, '.coveragerc'), }) - subprocess.check_call(['coverage', 'erase']) - subprocess.check_call( + ...
Silence `coverage combine` output in setup.py
py
diff --git a/oidc_auth/authentication.py b/oidc_auth/authentication.py index <HASH>..<HASH> 100644 --- a/oidc_auth/authentication.py +++ b/oidc_auth/authentication.py @@ -27,7 +27,8 @@ def get_user_by_id(request, id_token): class BaseOidcAuthentication(BaseAuthentication): - @cached_property + @property + ...
Caching the oidc configuration with the cache object instead of memoizing in the instance
py
diff --git a/km3pipe/utils/qrunprocessor.py b/km3pipe/utils/qrunprocessor.py index <HASH>..<HASH> 100644 --- a/km3pipe/utils/qrunprocessor.py +++ b/km3pipe/utils/qrunprocessor.py @@ -113,7 +113,7 @@ def main(): for job_id, file_chunk in enumerate(chunks(rem_files, FILES_PER_JOB)): n_files = len(file_chunk...
Don't use tmp dir
py
diff --git a/mollie/api/client.py b/mollie/api/client.py index <HASH>..<HASH> 100644 --- a/mollie/api/client.py +++ b/mollie/api/client.py @@ -72,7 +72,7 @@ class Client(object): access_token=access_token)) return access_token - def __init__(self, api_endpoint=None, timeout=(2, 10), r...
Set default number of retry attempts to three. Mollie wants to use a retry policy that is enabled by default.
py
diff --git a/limbo/limbo.py b/limbo/limbo.py index <HASH>..<HASH> 100644 --- a/limbo/limbo.py +++ b/limbo/limbo.py @@ -188,8 +188,8 @@ def loop(server): raise def relevant_environ(): - return dict((key, val) - for key, val in os.environ.iteritems() + return dict((key, os.environ[key]) +...
don't depend on iteritems
py
diff --git a/pandas/tests/indexes/datetimes/test_tools.py b/pandas/tests/indexes/datetimes/test_tools.py index <HASH>..<HASH> 100644 --- a/pandas/tests/indexes/datetimes/test_tools.py +++ b/pandas/tests/indexes/datetimes/test_tools.py @@ -1112,9 +1112,9 @@ class TestDatetimeParsingWrappers(object): result3 = T...
Fix apparent typo in tests (#<I>)
py
diff --git a/tests/test_project.py b/tests/test_project.py index <HASH>..<HASH> 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -1,6 +1,3 @@ -from hashlib import sha256 -from base64 import urlsafe_b64encode - import delegator import pipenv.project @@ -10,13 +7,9 @@ class TestProject(): def ...
remove unused hash variable and name checking from tests
py
diff --git a/pull_into_place/pipeline.py b/pull_into_place/pipeline.py index <HASH>..<HASH> 100644 --- a/pull_into_place/pipeline.py +++ b/pull_into_place/pipeline.py @@ -356,6 +356,7 @@ class WithFragmentLibs (object): frag_paths = sorted(frag_map) frag_paths = sorted(frag_paths, key=frag_size, rev...
Give the full paths to the fragment files.
py
diff --git a/src/piplint/__init__.py b/src/piplint/__init__.py index <HASH>..<HASH> 100644 --- a/src/piplint/__init__.py +++ b/src/piplint/__init__.py @@ -6,6 +6,7 @@ piplint :license: Apache License 2.0, see LICENSE for more details. """ +import os import re import sys from pkg_resources import parse_version @@...
Added handling of requirement file lines that include other requirements files.
py
diff --git a/python/thunder/rdds/data.py b/python/thunder/rdds/data.py index <HASH>..<HASH> 100644 --- a/python/thunder/rdds/data.py +++ b/python/thunder/rdds/data.py @@ -237,6 +237,23 @@ class Data(object): from numpy import minimum return self.rdd.values().reduce(minimum) + def coalesce(self, n...
Expose coalesce as a Data method
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ install_requires = [ "django-maploom==1.2.5", "psycopg2==2.4.5", "django-tilebundler==0.1-beta1", - "django-gsschema==0.1-beta1", + "django-gsschema==0.1-beta2", ] te...
bumped gsschema
py
diff --git a/pypot/dynamixel/motor.py b/pypot/dynamixel/motor.py index <HASH>..<HASH> 100644 --- a/pypot/dynamixel/motor.py +++ b/pypot/dynamixel/motor.py @@ -88,7 +88,7 @@ class DxlMotor(Motor): present_load = DxlOrientedRegister() torque_limit = DxlRegister(rw=True) - angle_limit = DxlRegister() + _...
take "direct" and "offset" data into account for the angle_limit attribute.
py
diff --git a/kafka/client.py b/kafka/client.py index <HASH>..<HASH> 100644 --- a/kafka/client.py +++ b/kafka/client.py @@ -6,6 +6,7 @@ import functools import logging import random import time +import select from kafka.vendor import six @@ -279,6 +280,15 @@ class SimpleClient(object): conn = None ...
Use select to poll sockets for read to reduce CPU usage (#<I>)
py
diff --git a/gcloud/storage/exceptions.py b/gcloud/storage/exceptions.py index <HASH>..<HASH> 100644 --- a/gcloud/storage/exceptions.py +++ b/gcloud/storage/exceptions.py @@ -1,5 +1,3 @@ -# TODO: Make these super useful. - class StorageError(Exception): pass
Remove vague TODO from exceptions.
py
diff --git a/testproject/tests/tests/files.py b/testproject/tests/tests/files.py index <HASH>..<HASH> 100644 --- a/testproject/tests/tests/files.py +++ b/testproject/tests/tests/files.py @@ -1,7 +1,7 @@ import os -import unittest from django.core.files.storage import default_storage from django.test.testcases import...
Unittest2 is imported from django.utils now.
py
diff --git a/openid/__init__.py b/openid/__init__.py index <HASH>..<HASH> 100644 --- a/openid/__init__.py +++ b/openid/__init__.py @@ -23,7 +23,7 @@ module. and limitations under the License. """ -version_info = (3, 0, 1) +version_info = (3, 0, 2) __version__ = ".".join(str(x) for x in version_info)
Version bump To mark the passing of all default tests
py
diff --git a/tethne/tests/test_classes_corpus.py b/tethne/tests/test_classes_corpus.py index <HASH>..<HASH> 100644 --- a/tethne/tests/test_classes_corpus.py +++ b/tethne/tests/test_classes_corpus.py @@ -100,6 +100,15 @@ class TestCorpus(unittest.TestCase): top_sliced = corpus.top_features('authors', topn=N, pe...
added test demonstrating how to achieve functionality described in issue #<I>
py
diff --git a/templatesadmin/edithooks/gitcommit.py b/templatesadmin/edithooks/gitcommit.py index <HASH>..<HASH> 100644 --- a/templatesadmin/edithooks/gitcommit.py +++ b/templatesadmin/edithooks/gitcommit.py @@ -27,7 +27,7 @@ class GitCommitHook(TemplatesAdminHook): 'GIT_AUTHOR_NAME="%(author)s" GIT_AUTHOR_...
GitCommitHook: hand full path to changed template to git-commit, less #fail
py
diff --git a/holoviews/plotting/mpl/element.py b/holoviews/plotting/mpl/element.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/element.py +++ b/holoviews/plotting/mpl/element.py @@ -149,11 +149,8 @@ class ElementPlot(GenericElementPlot, MPLPlot): # Apply title title = None if self...
More robust way of setting axis titles in matplotlib
py
diff --git a/timepiece/templatetags/math_tags.py b/timepiece/templatetags/math_tags.py index <HASH>..<HASH> 100644 --- a/timepiece/templatetags/math_tags.py +++ b/timepiece/templatetags/math_tags.py @@ -2,9 +2,5 @@ from django import template register = template.Library() -@register.filter -def _abs(num): - ret...
switched to using lambda instead of function --HG-- branch : project-budgeting
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -54,6 +54,7 @@ setup( 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: Implementa...
setup.py - added pypy as supported Python version.
py
diff --git a/zipline/data/benchmarks.py b/zipline/data/benchmarks.py index <HASH>..<HASH> 100644 --- a/zipline/data/benchmarks.py +++ b/zipline/data/benchmarks.py @@ -120,7 +120,8 @@ def get_benchmark_returns(symbol, start_date=None, end_date=None): benchmark_returns = [] for i, data_point in enumerate(data_p...
BUG: Calculate benchmark returns for first day Before we were setting benchmark returns on the first day to 0. This commit changes this by calculating the benchmark return from open to close. According to @eherbert this is also what the answer key does.
py
diff --git a/tarbell/configure.py b/tarbell/configure.py index <HASH>..<HASH> 100644 --- a/tarbell/configure.py +++ b/tarbell/configure.py @@ -71,9 +71,9 @@ def _get_or_create_config(path, prompt=True): puts("{0} already exists, backing up".format(colored.green(path))) _backup(dirname, filename) - ...
fix to ensure correct open-or-create behavior for settings.yaml
py
diff --git a/tgext/admin/controller.py b/tgext/admin/controller.py index <HASH>..<HASH> 100644 --- a/tgext/admin/controller.py +++ b/tgext/admin/controller.py @@ -42,7 +42,9 @@ class AdminController(TGController): self.config = config self.session = session - self.default_index_template = ':'...
fixes that allow non-tg-configured apps to still operate without an attribute error.
py
diff --git a/pkg_resources.py b/pkg_resources.py index <HASH>..<HASH> 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -1530,19 +1530,16 @@ class EmptyProvider(NullProvider): empty_provider = EmptyProvider() -class ZipManifests(object): - - def __init__(self): - self.known = dict() +class ZipManif...
Subclass dict rather that wrap and proxy.
py
diff --git a/server.py b/server.py index <HASH>..<HASH> 100644 --- a/server.py +++ b/server.py @@ -1,3 +1,17 @@ +""" + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.a...
Update server.py License header added
py