diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/salt/modules/kubernetes.py b/salt/modules/kubernetes.py index <HASH>..<HASH> 100644 --- a/salt/modules/kubernetes.py +++ b/salt/modules/kubernetes.py @@ -41,7 +41,6 @@ import logging import yaml import tempfile import signal -from sys import platform from time import sleep from contextlib import conte...
Removed unused sys import
py
diff --git a/werkzeug/local.py b/werkzeug/local.py index <HASH>..<HASH> 100644 --- a/werkzeug/local.py +++ b/werkzeug/local.py @@ -87,7 +87,7 @@ from werkzeug._internal import _patch_wrapper if get_current_greenlet is int: get_ident = get_current_thread else: - get_ident = lambda: hash((get_current_thread(), ...
combined indent for greenlets and threads is a tuple now so that there is recovery on double hashes.
py
diff --git a/libre/apps/data_drivers/query.py b/libre/apps/data_drivers/query.py index <HASH>..<HASH> 100644 --- a/libre/apps/data_drivers/query.py +++ b/libre/apps/data_drivers/query.py @@ -77,7 +77,7 @@ class Query(): else: query_results = set(filter_results) - logger.debug('que...
Disable logging of all query results ids
py
diff --git a/ses_mailer.py b/ses_mailer.py index <HASH>..<HASH> 100644 --- a/ses_mailer.py +++ b/ses_mailer.py @@ -1,12 +1,12 @@ """ -SES Mailer +SES-Mailer A wrapper around boto ses to send email via AWS SES """ import boto -__NAME__ = "SESMailer" +__NAME__ = "SES-Mailer" __version__ = "0.1" __license__ = ...
Rename to SES-Mailer
py
diff --git a/spyder/utils/programs.py b/spyder/utils/programs.py index <HASH>..<HASH> 100644 --- a/spyder/utils/programs.py +++ b/spyder/utils/programs.py @@ -519,19 +519,8 @@ def open_files_with_application(app_path, fnames): """ return_codes = {} - # Add quotes as needed - if sys.platform != 'da...
Fix oepning files with spaces
py
diff --git a/bpybuild/win_utils.py b/bpybuild/win_utils.py index <HASH>..<HASH> 100644 --- a/bpybuild/win_utils.py +++ b/bpybuild/win_utils.py @@ -403,8 +403,15 @@ def get_all_vc_dev_tools() -> Dict[float, Set[str]]: ALL_VC_DEV_TOOLS = get_all_vc_dev_tools() -VS_LIBS = (f"lib/win{PLATFORM}_vc12" if - VS...
Fixed SVN repo for <I> bit installation
py
diff --git a/doc/en/example/nonpython/conftest.py b/doc/en/example/nonpython/conftest.py index <HASH>..<HASH> 100644 --- a/doc/en/example/nonpython/conftest.py +++ b/doc/en/example/nonpython/conftest.py @@ -2,9 +2,9 @@ import pytest -def pytest_collect_file(parent, fspath): - if fspath.suffix == ".yaml" and fsp...
Fix hook param name in nonpython example (#<I>) Follow up to #<I>
py
diff --git a/raiden/network/resolver/client.py b/raiden/network/resolver/client.py index <HASH>..<HASH> 100644 --- a/raiden/network/resolver/client.py +++ b/raiden/network/resolver/client.py @@ -58,8 +58,7 @@ def reveal_secret_with_resolver( if secret_request_event.expiration < current_state.block_number: ...
Fix resolver lint issues
py
diff --git a/indra/explanation/model_checker.py b/indra/explanation/model_checker.py index <HASH>..<HASH> 100644 --- a/indra/explanation/model_checker.py +++ b/indra/explanation/model_checker.py @@ -82,11 +82,7 @@ class PathResult(object): The maximum length of specific paths to return. path_metrics : lis...
Removed list of PathMetric attributes, since that is already documented
py
diff --git a/indra/databases/chembl_client.py b/indra/databases/chembl_client.py index <HASH>..<HASH> 100644 --- a/indra/databases/chembl_client.py +++ b/indra/databases/chembl_client.py @@ -1,6 +1,5 @@ from __future__ import absolute_import, print_function, unicode_literals from builtins import dict, str -import jso...
Docstring edits, remove json import
py
diff --git a/salt/utils/jinja.py b/salt/utils/jinja.py index <HASH>..<HASH> 100644 --- a/salt/utils/jinja.py +++ b/salt/utils/jinja.py @@ -648,11 +648,11 @@ class SerializerExtension(Extension, object): .. code-block:: jinja - escape_regex = {{ 'https://example.com?foo=bar%20baz' | escape_regex }} + ...
Update jinja.py the name of the jinja filter is wrong in the documentation
py
diff --git a/kmip/services/server/server.py b/kmip/services/server/server.py index <HASH>..<HASH> 100644 --- a/kmip/services/server/server.py +++ b/kmip/services/server/server.py @@ -367,12 +367,12 @@ def build_argument_parser(): "--hostname", action="store", type="str", - default="127...
Fixes configuration settings override by default script values This change fixes a bug with parameter handling when invoking the server's main routine. The default values provided for the parameters would override any configuration file settings if the main routine was used to run the server. To fix this, the default ...
py
diff --git a/salt/returners/mongo_return.py b/salt/returners/mongo_return.py index <HASH>..<HASH> 100644 --- a/salt/returners/mongo_return.py +++ b/salt/returners/mongo_return.py @@ -4,8 +4,11 @@ This is a VERY simple example for pushing data to a redis server and is not necessarily intended as a usable interface. ''...
log the returner value to the debug logger rather than printing it to stdout
py
diff --git a/roller.py b/roller.py index <HASH>..<HASH> 100755 --- a/roller.py +++ b/roller.py @@ -387,6 +387,8 @@ class Kernel(object): counter += 1 progress_bar(counter, cap) time.sleep(1) + while make_process.poll() is None: + time.sleep(1) if...
attempt to properly wait for make to finish
py
diff --git a/src/python/test/test_dxclient.py b/src/python/test/test_dxclient.py index <HASH>..<HASH> 100755 --- a/src/python/test/test_dxclient.py +++ b/src/python/test/test_dxclient.py @@ -515,6 +515,8 @@ class TestDXClient(DXTestCase): except: print("*** TODO: FIXME: Unable to verify that grand...
Only test dx ssh-config on staging and production
py
diff --git a/pysc2/run_configs/platforms.py b/pysc2/run_configs/platforms.py index <HASH>..<HASH> 100644 --- a/pysc2/run_configs/platforms.py +++ b/pysc2/run_configs/platforms.py @@ -37,6 +37,9 @@ VERSIONS = {ver.game_version: ver for ver in [ lib.Version("3.19.0", 58400, "2B06AEE58017A7DF2A3D452D733F1019", None),...
Add a few more known versions. PiperOrigin-RevId: <I>
py
diff --git a/cr8/clients.py b/cr8/clients.py index <HASH>..<HASH> 100644 --- a/cr8/clients.py +++ b/cr8/clients.py @@ -125,4 +125,5 @@ class HttpClient: def client(hosts, concurrency=25): + hosts = hosts or 'localhost:4200' return HttpClient(_to_http_hosts(hosts), conn_pool_limit=concurrency)
Use localhost:<I> as default to --hosts
py
diff --git a/GPy/testing/kernel_tests.py b/GPy/testing/kernel_tests.py index <HASH>..<HASH> 100644 --- a/GPy/testing/kernel_tests.py +++ b/GPy/testing/kernel_tests.py @@ -37,7 +37,7 @@ class KernelTests(unittest.TestCase): k1 = GPy.kern.rbf(1) + GPy.kern.bias(1) k2 = GPy.kern.coregionalise(2,1) - ...
changed prod_orthogonal in tests
py
diff --git a/tests/fields/test_base.py b/tests/fields/test_base.py index <HASH>..<HASH> 100644 --- a/tests/fields/test_base.py +++ b/tests/fields/test_base.py @@ -80,3 +80,22 @@ class TestBaseField(TestCase): self.assertEqual(self.repeated_msg.a[0], 'testing') self.assertEqual(self.repeated_msg.a[1], ...
Added test for #PB3-9
py
diff --git a/pyclustering/cluster/tests/unit/ut_birch.py b/pyclustering/cluster/tests/unit/ut_birch.py index <HASH>..<HASH> 100755 --- a/pyclustering/cluster/tests/unit/ut_birch.py +++ b/pyclustering/cluster/tests/unit/ut_birch.py @@ -50,7 +50,14 @@ class BirchUnitTest(unittest.TestCase): birch_instance.proces...
#<I>: [pyclustering.cluster.birch] unit-tests are added.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,12 +28,12 @@ setup( packages=find_packages(exclude="example_project"), zip_safe=False, install_requires=[ - 'django', 'django-paging>=0.2.2', 'django-indexer==0.2.1', 'uuid'...
only require django with tests
py
diff --git a/integration_tests/web/test_async_web_client.py b/integration_tests/web/test_async_web_client.py index <HASH>..<HASH> 100644 --- a/integration_tests/web/test_async_web_client.py +++ b/integration_tests/web/test_async_web_client.py @@ -123,7 +123,7 @@ class TestAsyncWebClient(unittest.TestCase): ...
Fix never-awaited coro in integration tests
py
diff --git a/pyes/utils/__init__.py b/pyes/utils/__init__.py index <HASH>..<HASH> 100644 --- a/pyes/utils/__init__.py +++ b/pyes/utils/__init__.py @@ -1,12 +1,16 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import import base64 -from urllib import quote +from urllib import quote as _quote import array...
bug fixed, if `id` is a unicode instance
py
diff --git a/dynaphopy/__init__.py b/dynaphopy/__init__.py index <HASH>..<HASH> 100644 --- a/dynaphopy/__init__.py +++ b/dynaphopy/__init__.py @@ -775,10 +775,12 @@ class Calculation: integration = np.trapz(power_spectrum_dos, x=frequency_range)/(self.dynamic.structure.get_number_of_atoms()* ...
added partial power spectrum calculation and thermal properties
py
diff --git a/raiden/utils/typing.py b/raiden/utils/typing.py index <HASH>..<HASH> 100644 --- a/raiden/utils/typing.py +++ b/raiden/utils/typing.py @@ -43,9 +43,6 @@ BalanceHash = NewType("BalanceHash", T_BalanceHash) T_BlockGasLimit = int BlockGasLimit = NewType("BlockGasLimit", T_BlockGasLimit) -T_BlockGasPrice = ...
Removed unused type BlockGasPrice is not being used, the type may be added back in the future once the JSON RPC client is properly typed
py
diff --git a/google_compute_engine/constants.py b/google_compute_engine/constants.py index <HASH>..<HASH> 100644 --- a/google_compute_engine/constants.py +++ b/google_compute_engine/constants.py @@ -18,7 +18,6 @@ import platform OSLOGIN_CONTROL_SCRIPT = 'google_oslogin_control' -OSLOGIN_NSS_CACHE = '/etc/oslogin_pa...
Fix OSLOGIN_NSS_CACHE for FreeBSD (#<I>) Port specific files are located in /use/local/etc/ in FreeBSD. This avois having a specific patch in FreeBSD package, making it easier to maintain.
py
diff --git a/xclim/indices/_threshold.py b/xclim/indices/_threshold.py index <HASH>..<HASH> 100644 --- a/xclim/indices/_threshold.py +++ b/xclim/indices/_threshold.py @@ -74,7 +74,7 @@ __all__ = [ "sea_ice_area", "sea_ice_extent", "windy_days", - "jetstream", + "jetstream_metric_woolings", ] @...
rename jetstream metric and update docs
py
diff --git a/gwpy/timeseries/io/losc.py b/gwpy/timeseries/io/losc.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/io/losc.py +++ b/gwpy/timeseries/io/losc.py @@ -263,10 +263,12 @@ def _fetch_losc_data_file(url, *args, **kwargs): with get_readable_fileobj(url, cache=cache, show_progress=verbose) as rem: ...
timeseries.io.losc: improved verbose output of FOD
py
diff --git a/pyrogram/session/session.py b/pyrogram/session/session.py index <HASH>..<HASH> 100644 --- a/pyrogram/session/session.py +++ b/pyrogram/session/session.py @@ -145,7 +145,7 @@ class Session: self.ping_thread.start() log.info("Connection inited: Layer {}".format(layer)) - ...
Catch RPCError in InitConnection
py
diff --git a/esgfpid/rabbit/asynchronous/thread_builder.py b/esgfpid/rabbit/asynchronous/thread_builder.py index <HASH>..<HASH> 100644 --- a/esgfpid/rabbit/asynchronous/thread_builder.py +++ b/esgfpid/rabbit/asynchronous/thread_builder.py @@ -129,8 +129,20 @@ class ConnectionBuilder(object): # This cat...
Added manual reconnection upon unexpected errors during ioloop.
py
diff --git a/pefile.py b/pefile.py index <HASH>..<HASH> 100644 --- a/pefile.py +++ b/pefile.py @@ -4984,6 +4984,7 @@ class PE(object): if hasattr(self, 'FileInfo'): fileinfo_list = list() + version_info_list.append(fileinfo_list) for entry ...
Update pefile.py added fileinfo_list to version_info_list
py
diff --git a/viper/functions.py b/viper/functions.py index <HASH>..<HASH> 100644 --- a/viper/functions.py +++ b/viper/functions.py @@ -597,7 +597,7 @@ def _RLPlist(expr, args, kwargs, context): ['seq', ['with', '_sub', variable_pointer, ['pop', ['call', - 1...
Improve rlp decoding gas estimation
py
diff --git a/htmresearch/frameworks/pytorch/mnist_sparse_experiment.py b/htmresearch/frameworks/pytorch/mnist_sparse_experiment.py index <HASH>..<HASH> 100644 --- a/htmresearch/frameworks/pytorch/mnist_sparse_experiment.py +++ b/htmresearch/frameworks/pytorch/mnist_sparse_experiment.py @@ -132,7 +132,7 @@ class MNISTSp...
Updated excitement factor in experiment printouts
py
diff --git a/raven/contrib/flask/__init__.py b/raven/contrib/flask/__init__.py index <HASH>..<HASH> 100644 --- a/raven/contrib/flask/__init__.py +++ b/raven/contrib/flask/__init__.py @@ -8,6 +8,8 @@ raven.contrib.flask from __future__ import absolute_import +import os + from flask import request from flask.signa...
Ensure we lookup SENTRY_DSN from the environment in the Flask client if its not set
py
diff --git a/pytestsalt/fixtures/daemons.py b/pytestsalt/fixtures/daemons.py index <HASH>..<HASH> 100644 --- a/pytestsalt/fixtures/daemons.py +++ b/pytestsalt/fixtures/daemons.py @@ -658,7 +658,7 @@ class SaltDaemonScriptBase(SaltScriptBase): if self._connectable.is_set(): return True try...
Be slower when trying to connect to the engine port
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -29,16 +29,15 @@ except ImportError: sys.exit(1) setup( - name='autokey-py3', + name='autokey', version=R.VERSION, - description='Python 3 port of AutoKey.', + description='AutoKey (Python 3)', au...
Update setup.py Remove install_requires= line, as it was causing problems for package-installed version. Rename module to just "autokey" Depend explicitly on Python <I> (due to 'typing' module)
py
diff --git a/GaugeController.py b/GaugeController.py index <HASH>..<HASH> 100644 --- a/GaugeController.py +++ b/GaugeController.py @@ -40,6 +40,7 @@ class AGC100: # below self.ser = serial.Serial(port = port, timeout = timeout) + # checks the controller's response for errors def checkAcknowl...
Started on the piezo controller, added a script to scan for serial ports, added function comments to GaugeController
py
diff --git a/openquake/supervising/supervisor.py b/openquake/supervising/supervisor.py index <HASH>..<HASH> 100644 --- a/openquake/supervising/supervisor.py +++ b/openquake/supervising/supervisor.py @@ -306,6 +306,9 @@ class SupervisorLogMessageConsumer(logs.AMQPLogSource): if failures: me...
supervising/supervisor: Added a comment explaining why the failed node checked is skipped in certain cases.
py
diff --git a/hearthstone/enums.py b/hearthstone/enums.py index <HASH>..<HASH> 100644 --- a/hearthstone/enums.py +++ b/hearthstone/enums.py @@ -2,7 +2,6 @@ from enum import IntEnum class GameTag(IntEnum): - IGNORE_DAMAGE = 1 TAG_SCRIPT_DATA_NUM_1 = 2 TAG_SCRIPT_DATA_NUM_2 = 3 TAG_SCRIPT_DATA_ENT_1 = 4 @@ -165...
enums: Move GameTags around
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ setup( 'virtualchain==0.0.6', 'kademlia==0.5', 'keychain==0.1.4', - 'blockstack-client==0.0.12.1' + 'blockstack==0.0.12.1' ], classifiers=[ 'Intended A...
blockstack, not blockstack-client
py
diff --git a/pysat/instruments/superdarn_grdex.py b/pysat/instruments/superdarn_grdex.py index <HASH>..<HASH> 100644 --- a/pysat/instruments/superdarn_grdex.py +++ b/pysat/instruments/superdarn_grdex.py @@ -187,7 +187,7 @@ def clean(self): def download(date_array, tag, data_path, user=None, password=None): ...
Corrected docstring for download method
py
diff --git a/client/speaker.py b/client/speaker.py index <HASH>..<HASH> 100644 --- a/client/speaker.py +++ b/client/speaker.py @@ -38,7 +38,7 @@ class AbstractSpeaker(object): @classmethod @abstractmethod def is_available(cls): - return True + return (find_executable('aplay') is not None) ...
Check for `aplay` in AbstractSpeaker (because of af<I>dc5)
py
diff --git a/query.py b/query.py index <HASH>..<HASH> 100755 --- a/query.py +++ b/query.py @@ -76,6 +76,8 @@ def merged_output(queries, toJson=False, jsonIndent=0): for query in queries: results += auto(query) results = utils.filter_duplicate_dicts(results) + # Sort posts from newest to oldest, li...
query: Sort posts from newest to oldest Normal behavior when searching on a booru. Fix sorting after functions threw everything in random order.
py
diff --git a/bcbio/structural/cn_mops.py b/bcbio/structural/cn_mops.py index <HASH>..<HASH> 100644 --- a/bcbio/structural/cn_mops.py +++ b/bcbio/structural/cn_mops.py @@ -196,7 +196,7 @@ ctrl_count <- getReadCountsFromBAM(c("{ctrl_file}"), sampleNames=c("{ctrl_name}" refSeqName="{chr...
Update cn_mops.py Proposing these changes as I've seen errors coming from the (experimental) ``calcFractionalCopyNumbers`` function but same analyses finish fine using ``calcIntegerCopyNumbers``.
py
diff --git a/salt/modules/yumpkg.py b/salt/modules/yumpkg.py index <HASH>..<HASH> 100644 --- a/salt/modules/yumpkg.py +++ b/salt/modules/yumpkg.py @@ -2582,7 +2582,8 @@ def mod_repo(repo, basedir=None, **kwargs): # Build a list of keys to be deleted todelete = [] - for key in repo_opts: + # list() of ...
fix shrinking list in for loop bug
py
diff --git a/vultr/vultr.py b/vultr/vultr.py index <HASH>..<HASH> 100644 --- a/vultr/vultr.py +++ b/vultr/vultr.py @@ -566,7 +566,7 @@ class Vultr(object): """ return self.request('/v1/backup/list') - def server_list(self, subid): + def server_list(self, subid=None): """ /v1/...
Subid is not required for server_list
py
diff --git a/ipyrad/assemble/clustmap.py b/ipyrad/assemble/clustmap.py index <HASH>..<HASH> 100644 --- a/ipyrad/assemble/clustmap.py +++ b/ipyrad/assemble/clustmap.py @@ -1976,7 +1976,15 @@ def mapping_reads(data, sample, nthreads, altref=False): proc4 = sps.Popen(cmd4, stderr=sps.STDOUT, stdout=sps.PIPE) err...
clustmap: Handle bam files with very large chromosomes (#<I>)
py
diff --git a/plaso/engine/path_helper.py b/plaso/engine/path_helper.py index <HASH>..<HASH> 100644 --- a/plaso/engine/path_helper.py +++ b/plaso/engine/path_helper.py @@ -11,7 +11,7 @@ from plaso.engine import logger class PathHelper(object): """Class that implements the path helper.""" - _NON_PRINTABLE_CHARACTE...
Added U<I>-U<I>f to set of non-printable characters (#<I>)
py
diff --git a/github_release.py b/github_release.py index <HASH>..<HASH> 100755 --- a/github_release.py +++ b/github_release.py @@ -157,23 +157,26 @@ gh_release_delete.description = { } -def gh_release_publish(repo_name, tag_name): - patch_release(repo_name, tag_name, draft=False) +def gh_release_publish(repo_na...
gh_release_publish/unpublish: Support additional parameter "--prerelease"
py
diff --git a/src/fuzzfetch/fetch.py b/src/fuzzfetch/fetch.py index <HASH>..<HASH> 100644 --- a/src/fuzzfetch/fetch.py +++ b/src/fuzzfetch/fetch.py @@ -428,6 +428,9 @@ class FetcherArgs(object): @type args: list @param args: a list of arguments """ + if hasattr(super(FetcherArgs, self),...
Call sanity_check on parent where applicable
py
diff --git a/bots/redisbot.py b/bots/redisbot.py index <HASH>..<HASH> 100644 --- a/bots/redisbot.py +++ b/bots/redisbot.py @@ -59,10 +59,6 @@ class MarkovBot(IRCBot): # split the key on the separator to extract the words words = key.split(self.separator) - ...
Removing unneeded check for stopword
py
diff --git a/tests/test_django.py b/tests/test_django.py index <HASH>..<HASH> 100644 --- a/tests/test_django.py +++ b/tests/test_django.py @@ -12,7 +12,6 @@ from django import test as django_test from django.conf import settings from django.db.models import signals from django.test import utils as django_test_utils ...
Use django.test.utils to initialize test database Removes the need to import and instantiate DiscoverRunner. This also allows passing verbosity=0 when creating the database to squelch some noise during tests: Creating test database for alias 'default'... Creating test database for alias 'replica'... Availab...
py
diff --git a/steam/items.py b/steam/items.py index <HASH>..<HASH> 100644 --- a/steam/items.py +++ b/steam/items.py @@ -834,9 +834,9 @@ class backpack(base.json_request): raise BackpackError("Steam failed to return inventory data") if status == 8: - raise BackpackError("Bad SteamID64 g...
Raise ProfileError instead of BackpackError for profile-related status codes
py
diff --git a/great_expectations/data_context/store/html_site_store.py b/great_expectations/data_context/store/html_site_store.py index <HASH>..<HASH> 100644 --- a/great_expectations/data_context/store/html_site_store.py +++ b/great_expectations/data_context/store/html_site_store.py @@ -143,7 +143,7 @@ class HtmlSiteSto...
ayirp/suiterename move only_in_exists in order
py
diff --git a/citrination_client/base/response_handling.py b/citrination_client/base/response_handling.py index <HASH>..<HASH> 100644 --- a/citrination_client/base/response_handling.py +++ b/citrination_client/base/response_handling.py @@ -63,7 +63,8 @@ def _check_response_for_timeout(response): def _check_response_f...
Attempt to propagate messages from <I> level responses Often times, the Citrination API returns useful messages with <I> level responses. Pycc by default just swallows them and shows a standard 'Resource not found' message. This change will pull the message out of <I> level responses if possible, and then fa...
py
diff --git a/spyder/plugins/editor/widgets/tests/test_warnings.py b/spyder/plugins/editor/widgets/tests/test_warnings.py index <HASH>..<HASH> 100644 --- a/spyder/plugins/editor/widgets/tests/test_warnings.py +++ b/spyder/plugins/editor/widgets/tests/test_warnings.py @@ -26,7 +26,6 @@ TEXT = ("def some_function():\n" #...
Editor: Remove xfail from test to ignore warnings
py
diff --git a/python/dllib/src/setup.py b/python/dllib/src/setup.py index <HASH>..<HASH> 100755 --- a/python/dllib/src/setup.py +++ b/python/dllib/src/setup.py @@ -98,7 +98,7 @@ def setup_package(): scripts=scripts, install_requires=[ 'numpy>=1.19.5', 'pyspark==2.4.6', 'conda-pack==0.3.1',...
change bigdl-core version to nightly (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -25,6 +25,6 @@ setup(name='astral', author_email='python@sffjunkie.co.uk', url="http://www.sffjunkie.co.uk/python-astral.html", license='Apache-2.0', - package_dir={'': 'src'}, + package_dir={'': 'astr...
Changed to match new source directory.
py
diff --git a/usb1.py b/usb1.py index <HASH>..<HASH> 100644 --- a/usb1.py +++ b/usb1.py @@ -1,12 +1,12 @@ """ Pythonic wrapper for libusb-1.0. -The first thing you must do is to get an "USB context". To do so, create a -LibUSBContext instance. +The first thing you must do is to get an "USB context". To do so, create...
Do not mention deprecated LibUSBContext in documentation.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -94,6 +94,7 @@ REQUIRES = [ 'pillow >=4.0', 'packaging >=16.8', 'tornado >=5', + 'typing_extensions >=3.7.4', ] # if this is just conda-build skimming information, skip all this actual work
Add missing typing_extensions dependency (#<I>)
py
diff --git a/cumulusci/salesforce_api/metadata.py b/cumulusci/salesforce_api/metadata.py index <HASH>..<HASH> 100644 --- a/cumulusci/salesforce_api/metadata.py +++ b/cumulusci/salesforce_api/metadata.py @@ -74,22 +74,8 @@ class BaseMetadataApiCall(object): raise MetadataApiError(response.text, response) ...
Use the instance_url as is; don't adjust (fixes MDAPI with enhanced domains)
py
diff --git a/mythril/analysis/solver.py b/mythril/analysis/solver.py index <HASH>..<HASH> 100644 --- a/mythril/analysis/solver.py +++ b/mythril/analysis/solver.py @@ -145,9 +145,7 @@ def _replace_with_actual_sha( s_index = len(code.bytecode) + 2 else: s_index = 10 - for i in ra...
Iterate over single indices than chunks of <I>
py
diff --git a/alot/ui.py b/alot/ui.py index <HASH>..<HASH> 100644 --- a/alot/ui.py +++ b/alot/ui.py @@ -3,6 +3,7 @@ # For further details see the COPYING file import urwid import logging +import signal from twisted.internet import reactor, defer from settings import settings @@ -68,6 +69,8 @@ class UI(object): ...
refresh current buffer on SIGUSR1
py
diff --git a/nsim/nsim.py b/nsim/nsim.py index <HASH>..<HASH> 100644 --- a/nsim/nsim.py +++ b/nsim/nsim.py @@ -593,6 +593,8 @@ class DistTimeseries(distob.DistArray): except SimValueError: pass return distob.DistArray(results, new_distaxis) + eli...
fix DistTimeseries.__distob_vectorize__() in case where result is a list of numbers
py
diff --git a/andes/models/group.py b/andes/models/group.py index <HASH>..<HASH> 100644 --- a/andes/models/group.py +++ b/andes/models/group.py @@ -238,6 +238,7 @@ class GroupBase: if isinstance(value, (float, str, int)): value = [value] * len(idx) + idx, _ = self._vectorize_idx(idx) ...
Bug fix for not vectorizing idx before calling `idx2model`.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ setup( license="Apache", packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), install_requires=[ - "torch>1.3.1,<=1.5.0", + "torch>1.3.1,<1.6.0", "j...
tweak torch requirement (#<I>) * tweak torch requirement * allow patches
py
diff --git a/models/rasmachine/rasmachine.py b/models/rasmachine/rasmachine.py index <HASH>..<HASH> 100644 --- a/models/rasmachine/rasmachine.py +++ b/models/rasmachine/rasmachine.py @@ -15,9 +15,8 @@ import datetime import argparse import gmail_client import twitter_client -import ndex.client -import ndex.networkn ...
Fixes to rasmachine imports
py
diff --git a/spout.py b/spout.py index <HASH>..<HASH> 100644 --- a/spout.py +++ b/spout.py @@ -6,9 +6,7 @@ from __future__ import absolute_import, print_function, unicode_literals import logging -from six import PY3 - -from .component import Component, Tuple +from .component import Component log = logging.get...
Remove a bunch of unnecessary imports
py
diff --git a/treeherder/etl/tasks/tbpl_tasks.py b/treeherder/etl/tasks/tbpl_tasks.py index <HASH>..<HASH> 100644 --- a/treeherder/etl/tasks/tbpl_tasks.py +++ b/treeherder/etl/tasks/tbpl_tasks.py @@ -20,7 +20,9 @@ def submit_star_comment(project, job_id, bug_id, submit_timestamp, who): req.generate_request_body...
Bug <I> - Adjust delay before retrying failure classification tasks With this change, the first retry is now after 1 minute, then the time for each subsequent retry lengthens by a further minute each time.
py
diff --git a/pandas/io/html.py b/pandas/io/html.py index <HASH>..<HASH> 100644 --- a/pandas/io/html.py +++ b/pandas/io/html.py @@ -103,7 +103,7 @@ def _get_skiprows(skiprows): elif skiprows is None: return 0 raise TypeError( - "%r is not a valid type for skipping rows" % type(skiprows).__name_...
STY: fstrings, repr (#<I>)
py
diff --git a/src/flapjack/testing.py b/src/flapjack/testing.py index <HASH>..<HASH> 100644 --- a/src/flapjack/testing.py +++ b/src/flapjack/testing.py @@ -39,7 +39,7 @@ class FlapjackUnitTest(unittest.TestCase): self.c = FlapjackRESTClient() #commonly-used functions for tests - def assertValidXMLRes...
fixed a bug. XML is not json, silly me
py
diff --git a/tests/test_filters.py b/tests/test_filters.py index <HASH>..<HASH> 100644 --- a/tests/test_filters.py +++ b/tests/test_filters.py @@ -99,7 +99,7 @@ class TestMongoFilters(unittest.TestCase): @defer.inlineCallbacks def test_Explain(self): result = yield self.coll.find({}, filter=qf.explai...
Fixed explain test for MongoDB 2.x
py
diff --git a/openquake/baselib/performance.py b/openquake/baselib/performance.py index <HASH>..<HASH> 100644 --- a/openquake/baselib/performance.py +++ b/openquake/baselib/performance.py @@ -227,7 +227,6 @@ class Monitor(object): """ t = (name, self.task_no, self.weight, self.duration, len(res.pik), ...
Removed debugging print [ci skip]
py
diff --git a/tesseract.py b/tesseract.py index <HASH>..<HASH> 100755 --- a/tesseract.py +++ b/tesseract.py @@ -63,12 +63,12 @@ def run_tesseract(input_filename, output_filename_base, lang=None, boxes=False): command = [tesseract_cmd, input_filename, output_filename_base] - if boxes: - command += ...
Fix boxes support (tested with Tesseract <I>)
py
diff --git a/gwpy/cli/spectrogram.py b/gwpy/cli/spectrogram.py index <HASH>..<HASH> 100644 --- a/gwpy/cli/spectrogram.py +++ b/gwpy/cli/spectrogram.py @@ -91,7 +91,7 @@ class Spectrogram(CliProduct): # based on the number of FFT calculation choose between # high time resolution and high SNR - ...
spectrogram.py: fix problem with calculation of snr_fft
py
diff --git a/flask_socketio/__init__.py b/flask_socketio/__init__.py index <HASH>..<HASH> 100644 --- a/flask_socketio/__init__.py +++ b/flask_socketio/__init__.py @@ -36,6 +36,7 @@ class _SocketIOMiddleware(socketio.Middleware): socketio_path) def __call__(self,...
make a copy of the environ dict
py
diff --git a/hadoopy/runner.py b/hadoopy/runner.py index <HASH>..<HASH> 100644 --- a/hadoopy/runner.py +++ b/hadoopy/runner.py @@ -17,7 +17,7 @@ def _find_hstreaming(): search_root = os.environ['HADOOP_HOME'] except KeyError: search_root = '/' - cmd = 'find %s -name hadoop*streaming.jar' % (se...
Updated runner to look for alterative names
py
diff --git a/yubico/yubikey_usb_hid.py b/yubico/yubikey_usb_hid.py index <HASH>..<HASH> 100644 --- a/yubico/yubikey_usb_hid.py +++ b/yubico/yubikey_usb_hid.py @@ -150,9 +150,15 @@ class YubiKeyHIDDevice(object): # make sure we have a fresh pgm_seq value self.status() self._debug("Programmed s...
Correctly handle cases where programming counter shouldn't increase.
py
diff --git a/ftr/config.py b/ftr/config.py index <HASH>..<HASH> 100644 --- a/ftr/config.py +++ b/ftr/config.py @@ -29,6 +29,8 @@ import os import re import logging +LOGGER = logging.getLogger(__name__) + try: from ordered_set import OrderedSet @@ -41,7 +43,9 @@ except ImportError: try: from cacheops i...
Avoid edge-case import where cacheops is here, but not usable.
py
diff --git a/post_office/utils.py b/post_office/utils.py index <HASH>..<HASH> 100644 --- a/post_office/utils.py +++ b/post_office/utils.py @@ -141,7 +141,7 @@ def create_attachments(attachment_files): attachments.append(attachment) - if opened_file: + if opened_file is not None: ...
More verbose check for opened_file
py
diff --git a/expfactory/cli/install.py b/expfactory/cli/install.py index <HASH>..<HASH> 100644 --- a/expfactory/cli/install.py +++ b/expfactory/cli/install.py @@ -73,9 +73,18 @@ def main(args,parser,subparser): dest = "%s/%s" %(folder,exp_id) bot.log("Installing %s to %s" %(exp_id, dest)) - - # Are we in...
modified: expfactory/cli/install.py
py
diff --git a/saltapi/netapi/rest_cherrypy/app.py b/saltapi/netapi/rest_cherrypy/app.py index <HASH>..<HASH> 100644 --- a/saltapi/netapi/rest_cherrypy/app.py +++ b/saltapi/netapi/rest_cherrypy/app.py @@ -343,6 +343,12 @@ def hypermedia_in(): 'text/yaml': yaml_processor, } + # Do not process the body f...
Do not process the request body if Content-Length is empty or missing
py
diff --git a/progressbar/__about__.py b/progressbar/__about__.py index <HASH>..<HASH> 100644 --- a/progressbar/__about__.py +++ b/progressbar/__about__.py @@ -19,7 +19,7 @@ A Python Progressbar library to provide visual (yet text based) progress to long running operations. '''.strip().split()) __email__ = 'wolph@wol...
added marker/fill wrapper support to make coloring easier and improved ansi (color) shell detection support
py
diff --git a/command/build_scripts.py b/command/build_scripts.py index <HASH>..<HASH> 100644 --- a/command/build_scripts.py +++ b/command/build_scripts.py @@ -12,7 +12,7 @@ from distutils.dep_util import newer from distutils.util import convert_path # check if Python is called on the first line with this expression...
[Bug #<I>] Tighten the pattern for the first line, so we don't adjust it when a versioned interpreter is supplied (#!.../python2 ...)
py
diff --git a/gns3server/web/route.py b/gns3server/web/route.py index <HASH>..<HASH> 100644 --- a/gns3server/web/route.py +++ b/gns3server/web/route.py @@ -15,11 +15,13 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +impo...
Add traceback info when catching an exception to help with debugging.
py
diff --git a/salt/state.py b/salt/state.py index <HASH>..<HASH> 100644 --- a/salt/state.py +++ b/salt/state.py @@ -109,6 +109,24 @@ class State(object): if not data.has_key(aspec[0][ind]): errors.append('Missing paramater ' + aspec[0][ind]\ + ' for ...
Add check for recursive requisite dec
py
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index <HASH>..<HASH> 100755 --- a/tools/mpy-tool.py +++ b/tools/mpy-tool.py @@ -75,9 +75,9 @@ for n in qstrutil.static_qstr_list: global_qstrs.append(QStrType(n)) class QStrWindow: - def __init__(self, size_log2): + def __init__(self, size): self...
tools/mpy-tool.py: Fix init of QStrWindow, and remove unused variable. The qstr window size is not log-2 encoded, it's just the actual number (but in mpy-tool.py this didn't lead to an error because the size is just used to truncate the window so it doesn't grow arbitrarily large in memory). Addresses issue #<I>.
py
diff --git a/evaluators/tempo_eval.py b/evaluators/tempo_eval.py index <HASH>..<HASH> 100755 --- a/evaluators/tempo_eval.py +++ b/evaluators/tempo_eval.py @@ -6,6 +6,7 @@ Usage: ./tempo_eval.py REFERENCE.TXT ESTIMATED.TXT ''' +from __future__ import print_function import argparse import sys @@ -57,10 +58,11 @@ ...
py3ified tempo evaluator #<I>
py
diff --git a/mrcfile/version.py b/mrcfile/version.py index <HASH>..<HASH> 100644 --- a/mrcfile/version.py +++ b/mrcfile/version.py @@ -5,4 +5,4 @@ no dependencies. """ -__version__ = '0.1.1' +__version__ = '0.2.0'
Bump minor version to reflect numpy version dependency change
py
diff --git a/tests/run_tests.py b/tests/run_tests.py index <HASH>..<HASH> 100755 --- a/tests/run_tests.py +++ b/tests/run_tests.py @@ -11,14 +11,15 @@ import unittest import ptpython.completer import ptpython.filters #import ptpython.ipython -import ptpython.layout -import ptpython.python_input -import ptpython.styl...
Added history_browser to tests.
py
diff --git a/blargg/models.py b/blargg/models.py index <HASH>..<HASH> 100644 --- a/blargg/models.py +++ b/blargg/models.py @@ -1,8 +1,8 @@ try: from docutils.core import publish_parts as docutils_publish assert docutils_publish # placate flake8 -except ImportError: - docutils_publish = None +except Impor...
omitting coverage on import errors; remove code that can't get executed
py
diff --git a/axes/handlers/proxy.py b/axes/handlers/proxy.py index <HASH>..<HASH> 100644 --- a/axes/handlers/proxy.py +++ b/axes/handlers/proxy.py @@ -119,5 +119,6 @@ class AxesProxyHandler(AbstractAxesHandler, AxesBaseHandler): return cls.get_implementation().post_save_access_attempt(instance, **kwargs) ...
Add @toggleable decorator to signal handler Conform to the toggleable logic for the AccessAttempt event handling
py
diff --git a/python_modules/dagster/dagster/daemon/sensor.py b/python_modules/dagster/dagster/daemon/sensor.py index <HASH>..<HASH> 100644 --- a/python_modules/dagster/dagster/daemon/sensor.py +++ b/python_modules/dagster/dagster/daemon/sensor.py @@ -275,10 +275,6 @@ def _evaluate_sensor( if sensor_runtime_dat...
fix log message from run status sensor (#<I>)
py
diff --git a/sllurp/llrp.py b/sllurp/llrp.py index <HASH>..<HASH> 100644 --- a/sllurp/llrp.py +++ b/sllurp/llrp.py @@ -39,6 +39,7 @@ class LLRPMessage: self.msgbytes = copy.copy(msgbytes) if not msgdict: self.remainder = self.deserialize() + self.peername = None ...
record peer name (hostname of reader) in LLRPMessage
py
diff --git a/debreach/middleware.py b/debreach/middleware.py index <HASH>..<HASH> 100644 --- a/debreach/middleware.py +++ b/debreach/middleware.py @@ -83,4 +83,6 @@ class RandomCommentMiddleware(MiddlewareMixin): response.content = '{0}{1}'.format( force_text(response.content), comment) ...
Ensure we update content length in random comment middleware if it was set
py
diff --git a/nailgun/entities.py b/nailgun/entities.py index <HASH>..<HASH> 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -1772,12 +1772,14 @@ class ContentViewVersion( def __init__(self, server_config=None, **kwargs): self._fields = { 'content_view': entity_fields.OneToOneFie...
Add more attrs to ContentViewVersion This commit add repositories & description fields to ContentViewVersion. It also fixes an issue with a CVV environment as it should have been LifecycleEnvironment
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,6 +17,7 @@ from setuptools import Extension, setup extra_includes = [] extra_library_dirs = [] qpdf_source_tree = environ.get('QPDF_SOURCE_TREE', '') +qpdf_build_libdir = environ.get('QPDF_BUILD_LIBDIR', '') # If CFL...
Support QPDF_BUILD_LIBDIR in addition to QPDF_SOURCE_TREE This is necessary to test with qpdf built with cmake. In a cmake-based build, the location of the libraries is relative to the build directory, which is determined by the user running the build, so we can't figure it out directly from $QPDF_SOURCE_TREE anymore.
py
diff --git a/nodeconductor/structure/views.py b/nodeconductor/structure/views.py index <HASH>..<HASH> 100644 --- a/nodeconductor/structure/views.py +++ b/nodeconductor/structure/views.py @@ -321,6 +321,8 @@ class CustomerPermissionViewSet(rf_mixins.CreateModelMixin, group__customerrole__customer__rol...
filter by group manager in customer view set(NC-<I>)
py
diff --git a/tilematrix/io.py b/tilematrix/io.py index <HASH>..<HASH> 100644 --- a/tilematrix/io.py +++ b/tilematrix/io.py @@ -73,7 +73,7 @@ def read_vector_window( 'geometry': mapping(geom) } - yield feature + yield feature def read_raster_window( input_file,
fix bug, where only one feature is returned using read vector
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -17,7 +17,6 @@ setup(name='andes', 'matplotlib', 'progressbar2', 'python_utils', - 'sympy', ], packages=[ 'andes',
removed sympy from required package list
py