diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/ca/django_ca/tests/base_mixins.py b/ca/django_ca/tests/base_mixins.py index <HASH>..<HASH> 100644 --- a/ca/django_ca/tests/base_mixins.py +++ b/ca/django_ca/tests/base_mixins.py @@ -268,12 +268,22 @@ class TestCaseMixin(TestCaseProtocol): @contextmanager def mockSignal(self, signal: Signal) -> ty...
create a spec_set of a singal function to make sure it's called correctly
py
diff --git a/pygeotools/lib/geolib.py b/pygeotools/lib/geolib.py index <HASH>..<HASH> 100755 --- a/pygeotools/lib/geolib.py +++ b/pygeotools/lib/geolib.py @@ -747,7 +747,11 @@ def lyr_proj(lyr, t_srs, preserve_fields=True): def shp2array(shp_fn, r_ds=None, res=None, extent=None, t_srs=None): """Rasterize input sh...
Allow shp_fn to take either a path or pre-initialized ogr.DataSource
py
diff --git a/openquake/hazardlib/stats.py b/openquake/hazardlib/stats.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/stats.py +++ b/openquake/hazardlib/stats.py @@ -66,6 +66,18 @@ def quantile_curve(curves, quantile, weights=None): return result +def max_curve(values, weights=None): + """ + Com...
Added an utility stats.max_curve
py
diff --git a/python/ray/util/client/worker.py b/python/ray/util/client/worker.py index <HASH>..<HASH> 100644 --- a/python/ray/util/client/worker.py +++ b/python/ray/util/client/worker.py @@ -172,7 +172,11 @@ class Worker: except grpc.RpcError as e: raise e.details() if not data.valid: - ...
Report failed deserialization of errors in Ray client
py
diff --git a/application/briefkasten/dropbox.py b/application/briefkasten/dropbox.py index <HASH>..<HASH> 100644 --- a/application/briefkasten/dropbox.py +++ b/application/briefkasten/dropbox.py @@ -193,6 +193,8 @@ class Dropbox(object): self.status = u'500 no valid keys at all' return self.st...
Once we process the dropbox, set its status to <I>
py
diff --git a/tests/test_io.py b/tests/test_io.py index <HASH>..<HASH> 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -13,7 +13,7 @@ class MemFileIOTestCase(unittest.TestCase): self.imgio = MemFileIO() vsif = gdal.VSIFOpenL(self.imgio.name, 'wb') self.data = '0123' - gdal.VSIFW...
Close mem file properly after test execution
py
diff --git a/salt/states/git.py b/salt/states/git.py index <HASH>..<HASH> 100644 --- a/salt/states/git.py +++ b/salt/states/git.py @@ -353,6 +353,13 @@ def latest(name, if os.path.isdir(target): # git clone is required, target exists but force is turned on if force: + i...
Fix: prevent git.latest from removing target Fixes #<I> While force=True and test=True git.latest should not remove the target directory.
py
diff --git a/easyaudit/signals/model_signals.py b/easyaudit/signals/model_signals.py index <HASH>..<HASH> 100644 --- a/easyaudit/signals/model_signals.py +++ b/easyaudit/signals/model_signals.py @@ -52,7 +52,11 @@ def pre_save(sender, instance, raw, using, update_fields, **kwargs): with transaction.atomic(): ...
Bugfix: Temporary fix around pre_save issues on create with M2M.
py
diff --git a/lib/pyfrc/tests/basic.py b/lib/pyfrc/tests/basic.py index <HASH>..<HASH> 100644 --- a/lib/pyfrc/tests/basic.py +++ b/lib/pyfrc/tests/basic.py @@ -31,6 +31,7 @@ def test_autonomous(control, fake_time, robot, gamedata): assert int(fake_time.get()) == 15 +@pytest.mark.filterwarnings("ignore") def te...
Silence warnings in disabled/teleop/practice tests
py
diff --git a/tests/integration/test_model.py b/tests/integration/test_model.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_model.py +++ b/tests/integration/test_model.py @@ -1079,8 +1079,8 @@ async def test_detach_storage(event_loop): storage_details_1 = _storage_details_1[0] assert 'unit...
Insist on detaching the storage on test_detach_storage
py
diff --git a/api/__init__.py b/api/__init__.py index <HASH>..<HASH> 100644 --- a/api/__init__.py +++ b/api/__init__.py @@ -7,12 +7,15 @@ from flask import Flask, Blueprint from flask_https import RequireHTTPS +from flask_sslify import SSLify # Create app app = Flask(__name__) app.config.from_object('api.sett...
test sslify for https forcing
py
diff --git a/tests/alias_dict.py b/tests/alias_dict.py index <HASH>..<HASH> 100644 --- a/tests/alias_dict.py +++ b/tests/alias_dict.py @@ -56,6 +56,7 @@ class AliasDict_(Spec): ad['myalias'] class dangling_aliases: + "dangling aliases" @raises(KeyError) def raise_KeyError_on_acc...
Tweak non-method-related test subclasses
py
diff --git a/src/transformers/file_utils.py b/src/transformers/file_utils.py index <HASH>..<HASH> 100644 --- a/src/transformers/file_utils.py +++ b/src/transformers/file_utils.py @@ -487,7 +487,7 @@ def get_from_cache( http_get(url, temp_file, proxies=proxies, resume_size=resume_size, user_agent=user_a...
Fix force_download of files on Windows (#<I>)
py
diff --git a/visidata/canvas.py b/visidata/canvas.py index <HASH>..<HASH> 100644 --- a/visidata/canvas.py +++ b/visidata/canvas.py @@ -190,7 +190,9 @@ class Plotter(BaseSheet): def getPixelAttrMost(self, x, y): 'most common attr at this pixel.' r = self.pixels[y][x] - c = [(len(rows), attr...
[canvas perf] early out if no pixels
py
diff --git a/tests/integration/test_smoke.py b/tests/integration/test_smoke.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_smoke.py +++ b/tests/integration/test_smoke.py @@ -297,6 +297,7 @@ class TestSmoke(unittest.TestCase): cfg['LedgerType'] = 'lottery' self._run_int_load(cfg, 5, "TestS...
Disable quorum in smoke tests.
py
diff --git a/pandas/core/config_init.py b/pandas/core/config_init.py index <HASH>..<HASH> 100644 --- a/pandas/core/config_init.py +++ b/pandas/core/config_init.py @@ -255,18 +255,6 @@ pc_large_repr_doc = """ df.info() (the behaviour in earlier versions of pandas). """ -pc_mpl_style_doc = """ -: bool - Settin...
CLN: some residual code removed, xref to #<I> (#<I>)
py
diff --git a/holoviews/plotting/mpl/chart.py b/holoviews/plotting/mpl/chart.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/mpl/chart.py +++ b/holoviews/plotting/mpl/chart.py @@ -266,6 +266,8 @@ class SpreadPlot(AreaPlot): super(SpreadPlot, self).__init__(element, **params) def get_data(self, el...
Ensure that matplotlib SpreadPlot applies transforms (#<I>)
py
diff --git a/Lib/fontmake/__main__.py b/Lib/fontmake/__main__.py index <HASH>..<HASH> 100644 --- a/Lib/fontmake/__main__.py +++ b/Lib/fontmake/__main__.py @@ -46,9 +46,7 @@ def main(): action='store_true', help='Rename glyphs with ' 'production names if available otherw...
font_project.__main__: remove help msg for --no-production-names as it's redundant
py
diff --git a/src/arcrest/web/_base.py b/src/arcrest/web/_base.py index <HASH>..<HASH> 100644 --- a/src/arcrest/web/_base.py +++ b/src/arcrest/web/_base.py @@ -627,12 +627,25 @@ class BaseWebOperations(BaseOperation): resp = request.urlopen(req, context=ctx) ...
Additional fix for issue <I>
py
diff --git a/tldap/base.py b/tldap/base.py index <HASH>..<HASH> 100644 --- a/tldap/base.py +++ b/tldap/base.py @@ -433,10 +433,11 @@ class LDAPobject(object): self._db_values[using] = old_values # do it - try: - c.modify(self._dn, modlist, onfailure) - except ldap.NO_SUC...
If moddict is 0 long, nothing to change, skip the ldap modify.
py
diff --git a/python/dllib/src/bigdl/dllib/keras/engine/topology.py b/python/dllib/src/bigdl/dllib/keras/engine/topology.py index <HASH>..<HASH> 100644 --- a/python/dllib/src/bigdl/dllib/keras/engine/topology.py +++ b/python/dllib/src/bigdl/dllib/keras/engine/topology.py @@ -16,7 +16,6 @@ from bigdl.nn.keras.layer im...
Transfer learning API support dynamic graph (#<I>) * support dynamic graph * change to scala <I> api * remove comments * fix style
py
diff --git a/holoviews/plotting/chart.py b/holoviews/plotting/chart.py index <HASH>..<HASH> 100644 --- a/holoviews/plotting/chart.py +++ b/holoviews/plotting/chart.py @@ -450,6 +450,9 @@ class PointPlot(ChartPlot): how point magnitudes are rendered to different colors. """ + colorbar = param.Boolean(defa...
Added colorbar option to PointPlot
py
diff --git a/setuptools_scm/integration.py b/setuptools_scm/integration.py index <HASH>..<HASH> 100644 --- a/setuptools_scm/integration.py +++ b/setuptools_scm/integration.py @@ -1,4 +1,4 @@ -import os +from pkg_resources import iter_entry_points from .version import _warn_if_setuptools_outdated from .utils import ...
Rework file finder integration - do not replace '' with '.', fixes #<I> - do not assume path is at scm toplevel, fixes #<I>
py
diff --git a/saltcloud/utils/__init__.py b/saltcloud/utils/__init__.py index <HASH>..<HASH> 100644 --- a/saltcloud/utils/__init__.py +++ b/saltcloud/utils/__init__.py @@ -221,12 +221,12 @@ def minion_conf(opts, vm_): return minion -def minion_conf_string(opts): +def minion_conf_string(opts, vm_): ''' ...
Let's stay backwards compatible.
py
diff --git a/pypresence/client.py b/pypresence/client.py index <HASH>..<HASH> 100644 --- a/pypresence/client.py +++ b/pypresence/client.py @@ -30,14 +30,14 @@ class Client: raise NotImplementedError elif len(inspect.signature(func).parameters) != 1: raise ArgumentError - + self...
added event registering and auto sub and unsub
py
diff --git a/clusterjob/__init__.py b/clusterjob/__init__.py index <HASH>..<HASH> 100644 --- a/clusterjob/__init__.py +++ b/clusterjob/__init__.py @@ -331,8 +331,8 @@ class JobScript(object): 'cache_folder': None, 'cache_prefix': 'clusterjob', '_cache_counter': 0, - '_run_cmd': run_cmd...
Ensure _run_cmd, _upload_file are static methods
py
diff --git a/arctic/mixins.py b/arctic/mixins.py index <HASH>..<HASH> 100755 --- a/arctic/mixins.py +++ b/arctic/mixins.py @@ -366,6 +366,18 @@ class ListMixin(object): """ return self.ordering_fields + def get_filter_fields(self): + """ + Hook to dynamically change the fields that ...
added mixing.py to previous merge
py
diff --git a/skyfield/sgp4lib.py b/skyfield/sgp4lib.py index <HASH>..<HASH> 100644 --- a/skyfield/sgp4lib.py +++ b/skyfield/sgp4lib.py @@ -78,7 +78,7 @@ class EarthSatellite(VectorFunction): Argument of perigee in radians. ``model.mo`` Mean anomaly in radians. - ``model.no`` + ``model.no_ko...
Use modern “.no_kozai” sat attribute, not “.no” The official SGP4 library renamed this attribute, and “.no” in the “sgp4” library is now merely an alias for it. (An alias, as it happens, that is missing from the pure-Python version of SGP4 that the library falls back to under Python <I>; so this switch should get our...
py
diff --git a/epab/utils/_repo.py b/epab/utils/_repo.py index <HASH>..<HASH> 100644 --- a/epab/utils/_repo.py +++ b/epab/utils/_repo.py @@ -89,7 +89,8 @@ def repo_push(ctx: click.Context): _info('Pushing repo to origin') if dry_run(ctx): return - do(ctx, ['git', 'push', '--all', '--tags']) + do(...
fix: apparently, --all and --tags are incompatible ...
py
diff --git a/pydoop/pure/pipes.py b/pydoop/pure/pipes.py index <HASH>..<HASH> 100644 --- a/pydoop/pure/pipes.py +++ b/pydoop/pure/pipes.py @@ -241,22 +241,24 @@ class StreamRunner(object): ctx._input_key_class, ctx._input_value_class = args reader = factory.create_record_reader(ctx) - if ...
Bug<I> Fix: the "Record{Reader/Writer} not defined exception" must be raised when both the {reader/writer} and the piped{input/output} are None
py
diff --git a/django_inbound_email/__init__.py b/django_inbound_email/__init__.py index <HASH>..<HASH> 100644 --- a/django_inbound_email/__init__.py +++ b/django_inbound_email/__init__.py @@ -1,7 +1,7 @@ """An inbound email handler for Django.""" __title__ = 'django-inbound-email' -__version__ = '0.3.3' +__version__...
Bump package version to <I>.
py
diff --git a/knxip/ip.py b/knxip/ip.py index <HASH>..<HASH> 100644 --- a/knxip/ip.py +++ b/knxip/ip.py @@ -44,7 +44,6 @@ class KNXIPFrame(): E_CONNECTION_ID = 0x21 E_KNX_CONNECTION = 0x27 - # Generic Response Status Code E_NO_ERROR = 0x0 @@ -427,7 +426,7 @@ class KNXIPTunnel(): res = Fa...
Fixed some PEP8 Issues Fixed some PEP8 Issues
py
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py index <HASH>..<HASH> 100644 --- a/sos/plugins/kubernetes.py +++ b/sos/plugins/kubernetes.py @@ -31,7 +31,7 @@ class kubernetes(Plugin, RedHatPlugin): # Kubernetes master info self.add_cmd_output("kubectl version") self.add_cmd...
[kubernetes] Change 'minions' to 'nodes'. Kube no longer uses 'minions' and only accepts 'nodes' in kubectl. Previous versions of kubectl all accepted both 'nodes' and 'minions' however since <I>, 'minions' has been deprecated. Closes #<I>
py
diff --git a/denovonear/transcript_sequence_methods.py b/denovonear/transcript_sequence_methods.py index <HASH>..<HASH> 100755 --- a/denovonear/transcript_sequence_methods.py +++ b/denovonear/transcript_sequence_methods.py @@ -3,10 +3,18 @@ from __future__ import division from __future__ import print_function +from...
fix python/python3 incompatibility due to maketrans
py
diff --git a/tests/test_solvers.py b/tests/test_solvers.py index <HASH>..<HASH> 100644 --- a/tests/test_solvers.py +++ b/tests/test_solvers.py @@ -7,4 +7,11 @@ def test_min_conflicts_solver(): problem.addVariable("y", [0, 1]) solution = problem.getSolution() - assert solution == {'x': 0, 'y': 0} + pos...
Fixing based on random nature of MinConflictsSolver
py
diff --git a/photutils/utils/tests/test_convolution.py b/photutils/utils/tests/test_convolution.py index <HASH>..<HASH> 100644 --- a/photutils/utils/tests/test_convolution.py +++ b/photutils/utils/tests/test_convolution.py @@ -5,7 +5,6 @@ Tests for the convolution module. from astropy.convolution import Gaussian2DKe...
Remove test due to upstream astropy changes
py
diff --git a/integration_tests/blockstack_integration_tests/live_tests/api_tests.py b/integration_tests/blockstack_integration_tests/live_tests/api_tests.py index <HASH>..<HASH> 100644 --- a/integration_tests/blockstack_integration_tests/live_tests/api_tests.py +++ b/integration_tests/blockstack_integration_tests/live_...
add permission to authinternal circleCI test
py
diff --git a/pyhomematic/devicetypes/sensors.py b/pyhomematic/devicetypes/sensors.py index <HASH>..<HASH> 100644 --- a/pyhomematic/devicetypes/sensors.py +++ b/pyhomematic/devicetypes/sensors.py @@ -176,6 +176,24 @@ class WiredSensor(HMEvent): return bool(self.getBinaryData("SENSOR", channel)) +class Filli...
Added HM-Sen-Wa-Od (Issue #<I>)
py
diff --git a/scenarios/kubernetes_e2e.py b/scenarios/kubernetes_e2e.py index <HASH>..<HASH> 100755 --- a/scenarios/kubernetes_e2e.py +++ b/scenarios/kubernetes_e2e.py @@ -120,7 +120,7 @@ class LocalMode(object): def runner(self): """Finds the best version of e2e-runner.sh.""" options = [ - ...
Add a log see where kubetest is coming from (#<I>)
py
diff --git a/astroid/tests/unittest_scoped_nodes.py b/astroid/tests/unittest_scoped_nodes.py index <HASH>..<HASH> 100644 --- a/astroid/tests/unittest_scoped_nodes.py +++ b/astroid/tests/unittest_scoped_nodes.py @@ -1187,7 +1187,7 @@ class ClassNodeTest(ModuleLoader, unittest.TestCase): inferred = next(klass.in...
Adapt the ABCMeta test to take in account _py_abc
py
diff --git a/hack/verify_boilerplate.py b/hack/verify_boilerplate.py index <HASH>..<HASH> 100755 --- a/hack/verify_boilerplate.py +++ b/hack/verify_boilerplate.py @@ -135,8 +135,15 @@ def file_extension(filename): SKIPPED_DIRS = [ - 'Godeps', 'third_party', '_gopath', '_output', - '.git', 'vendor', '__init__...
Exclude bazel's external runtime dir
py
diff --git a/testing/test_model.py b/testing/test_model.py index <HASH>..<HASH> 100644 --- a/testing/test_model.py +++ b/testing/test_model.py @@ -164,7 +164,7 @@ class TestNoRecompileThroughNewModelInstance(unittest.TestCase): def test_gpr(self): m1 = GPflow.gpr.GPR(self.X, self.Y, GPflow.kernels.Matern3...
Removed unrequired copies from tests
py
diff --git a/invocations/testing.py b/invocations/testing.py index <HASH>..<HASH> 100644 --- a/invocations/testing.py +++ b/invocations/testing.py @@ -151,6 +151,11 @@ def count_errors(c, command, trials=10, verbose=False, fail_fast=False): successes = len(goods) failures = len(bads) all_ = goods + bads ...
No errors was dividing by zero. lol??
py
diff --git a/tests/example_project/tests/test_newman/helpers.py b/tests/example_project/tests/test_newman/helpers.py index <HASH>..<HASH> 100644 --- a/tests/example_project/tests/test_newman/helpers.py +++ b/tests/example_project/tests/test_newman/helpers.py @@ -34,6 +34,7 @@ class NewmanTestCase(SeleniumTestCase): ...
Wait for page to load before logging out
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -222,11 +222,11 @@ install_requires = [ 'psutil>=5.3', 'pygments>=2.0', 'pylint>=1.0', + 'pyls-black>=0.4.6', + 'pyls-spyder>=0.3.2', 'pyqt5<5.13', 'pyqtwebengine<5.13', 'python-language-ser...
Setup.py: Reorder a couple of deps in alphabetical order
py
diff --git a/datatableview/views.py b/datatableview/views.py index <HASH>..<HASH> 100644 --- a/datatableview/views.py +++ b/datatableview/views.py @@ -164,7 +164,7 @@ class DatatableMixin(MultipleObjectMixin): continue field_queries = [{component_name: ter...
Fix error with AutoField break searches
py
diff --git a/raven/transport/requests.py b/raven/transport/requests.py index <HASH>..<HASH> 100644 --- a/raven/transport/requests.py +++ b/raven/transport/requests.py @@ -12,7 +12,7 @@ from raven.transport.http import HTTPTransport try: import requests has_requests = True -except: +except ImportError: h...
Only catch the ImportError instead of everything
py
diff --git a/wal_e/wal_e.py b/wal_e/wal_e.py index <HASH>..<HASH> 100644 --- a/wal_e/wal_e.py +++ b/wal_e/wal_e.py @@ -280,8 +280,7 @@ class S3Backup(object): walker = os.walk(pg_cluster_dir, onerror=raise_walk_error) for root, dirnames, filenames in walker: - # Don't care about WAL, only...
Remove misleading comment The textual logs are sent. Why are they in the cluster directory, I am not entirely sure.
py
diff --git a/tile_generator/config.py b/tile_generator/config.py index <HASH>..<HASH> 100644 --- a/tile_generator/config.py +++ b/tile_generator/config.py @@ -155,7 +155,7 @@ class Config(dict): 'canary_watch_time': {'type': 'string', 'default': '10000-100000'}, 'max_in_flight': {'type': 'number', 'default': ...
Make properties consistent across Cerberus versions
py
diff --git a/application/briefkasten/notifications.py b/application/briefkasten/notifications.py index <HASH>..<HASH> 100644 --- a/application/briefkasten/notifications.py +++ b/application/briefkasten/notifications.py @@ -18,6 +18,7 @@ class CustomSMTP(SMTP): def begin(self): """ connects and optionally ...
ZO-<I>: Let's say "hello" first This allows us to deliver via MTAs that require a stricter protocol.
py
diff --git a/pagoda/parser.py b/pagoda/parser.py index <HASH>..<HASH> 100644 --- a/pagoda/parser.py +++ b/pagoda/parser.py @@ -358,7 +358,7 @@ class BodyParser(Parser): offset2 = self._floats() anchor = self.world.move_next_to(body1, body2, offset1, offset2) - if shape.startswith('fix'): ...
Don't use anchors for slider joints.
py
diff --git a/src/xopen/__init__.py b/src/xopen/__init__.py index <HASH>..<HASH> 100644 --- a/src/xopen/__init__.py +++ b/src/xopen/__init__.py @@ -9,7 +9,6 @@ import sys import io import os import bz2 -import time import stat import signal import pathlib @@ -298,9 +297,9 @@ class PipedCompressionReader(Closing): ...
Remove sleep and instead peek While wait times might not be sufficient, peeking always ensures that the subprocess in question has produced some stdout. This has also slightly sped up running of tests (<I>s to <I>s on this machine). It will decrease latency when using xopen
py
diff --git a/mozapkpublisher/common/apk/extractor.py b/mozapkpublisher/common/apk/extractor.py index <HASH>..<HASH> 100644 --- a/mozapkpublisher/common/apk/extractor.py +++ b/mozapkpublisher/common/apk/extractor.py @@ -41,15 +41,17 @@ def extract_metadata(original_apk_path): metadata['api_level'] = int(androgu...
Adds calculation of architecture and locales for r-b
py
diff --git a/insanities/templates/jinja2/__init__.py b/insanities/templates/jinja2/__init__.py index <HASH>..<HASH> 100644 --- a/insanities/templates/jinja2/__init__.py +++ b/insanities/templates/jinja2/__init__.py @@ -17,10 +17,14 @@ class TemplateEngine(object): ''' paths - list of paths ''...
make jinja temlate engine configuration overridable
py
diff --git a/cassandra/cluster.py b/cassandra/cluster.py index <HASH>..<HASH> 100644 --- a/cassandra/cluster.py +++ b/cassandra/cluster.py @@ -44,6 +44,11 @@ try: except ImportError: from cassandra.io.asyncorereactor import AsyncoreConnection as DefaultConnection # NOQA +# Forces load of utf8 encoding module t...
Fixed deadlock that occurs in a certain import scenario. When user code imports code that initiates a new connection, it could cause a deadlock when String.encode was called in a seperate thread (e.g. when reading messages from the cassandra server). See <URL>
py
diff --git a/turnstile/compactor.py b/turnstile/compactor.py index <HASH>..<HASH> 100644 --- a/turnstile/compactor.py +++ b/turnstile/compactor.py @@ -461,7 +461,7 @@ def compactor(conf): continue # Ignore version 1 keys--they can't be compacted - if buck_key.version == 1: + if buc...
Exclude versions less than 2, not just versions equal to 1.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -16,11 +16,7 @@ with open('planet/__init__.py') as f: continue -<<<<<<< HEAD setup(name='planet', -======= -setup(name='plapi', ->>>>>>> a5ab62669b97cbe1f9b82403654a7b1cfe17c68d version=version, ...
fix conflict from 5f9a5f<I>
py
diff --git a/lib/svtplay_dl/service/svtplay.py b/lib/svtplay_dl/service/svtplay.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/service/svtplay.py +++ b/lib/svtplay_dl/service/svtplay.py @@ -65,7 +65,7 @@ class Svtplay(Service, OpenGraphThumbMixin): match = re.search(r"\/se\/secure\/", i["url"]) ...
svtplay: hdcore <I>
py
diff --git a/azure-mgmt/tests/recoveryservices_testcase.py b/azure-mgmt/tests/recoveryservices_testcase.py index <HASH>..<HASH> 100644 --- a/azure-mgmt/tests/recoveryservices_testcase.py +++ b/azure-mgmt/tests/recoveryservices_testcase.py @@ -68,7 +68,7 @@ class MgmtRecoveryServicesTestHelper(object): def create_o...
Adding support for Python <I>
py
diff --git a/astroplan/scheduling.py b/astroplan/scheduling.py index <HASH>..<HASH> 100644 --- a/astroplan/scheduling.py +++ b/astroplan/scheduling.py @@ -97,7 +97,6 @@ class Scorer(object): """ def __init__(self, blocks, observer, schedule): """ - Parameters ---------- blo...
fixed an error in the docstring
py
diff --git a/teslajsonpy/controller.py b/teslajsonpy/controller.py index <HASH>..<HASH> 100644 --- a/teslajsonpy/controller.py +++ b/teslajsonpy/controller.py @@ -234,8 +234,7 @@ class Controller: ) inst.car_online[inst._id_to_vin(car_id)] = False while ( - "wake_if...
refactor: simplify kwargs logic
py
diff --git a/quick_server.py b/quick_server.py index <HASH>..<HASH> 100644 --- a/quick_server.py +++ b/quick_server.py @@ -233,6 +233,7 @@ def setup_restart(): """ exit_code = os.environ.get('QUICK_SERVER_RESTART', None) if exit_code is None: + atexit.unregister(_on_exit) _start_restart_l...
dont redundantly call the exit hook if not needed
py
diff --git a/alphafilter/admin.py b/alphafilter/admin.py index <HASH>..<HASH> 100644 --- a/alphafilter/admin.py +++ b/alphafilter/admin.py @@ -2,7 +2,7 @@ from django.db.models import get_model from django.contrib import admin from django.conf import settings -MODEL_REGISTRY = getattr(settings, 'ALPHAFILTER_ADMIN_F...
Fixed a bug where the default model registry was a tuple instead of a dict.
py
diff --git a/aiosip/dialog.py b/aiosip/dialog.py index <HASH>..<HASH> 100644 --- a/aiosip/dialog.py +++ b/aiosip/dialog.py @@ -246,7 +246,7 @@ class DialogBase: async def __aexit__(self, *exc_info): await self.close() - async def __aiter__(self): + def __aiter__(self): return self ...
__aiter__ must be a regular function
py
diff --git a/fedmsg_atomic_composer/composer.py b/fedmsg_atomic_composer/composer.py index <HASH>..<HASH> 100644 --- a/fedmsg_atomic_composer/composer.py +++ b/fedmsg_atomic_composer/composer.py @@ -141,7 +141,7 @@ class AtomicComposer(object): def ostree_compose(self, release): start = datetime.utcnow(...
composer: Pass --workdir-tmpfs to rpm-ostree
py
diff --git a/tests/test_forms.py b/tests/test_forms.py index <HASH>..<HASH> 100644 --- a/tests/test_forms.py +++ b/tests/test_forms.py @@ -1162,3 +1162,16 @@ def test_show_prevents_read_from_instance(): foo = Field(show=False) MyForm(data=Struct(), instance=object()) + + +def test_choice_post_validation...
Added test for the bug where post_validation of Field.choice was overwritten (fixes #9)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -31,6 +31,7 @@ setup( name='serpent', version=serpent_version, py_modules=["serpent"], + python_requires='>=3.2', license='MIT', author='Irmen de Jong', author_email='irmen@razorvine.net',
Let PEP <I> compliant pypi servers not install us to old python This means that instead of failing to install, pip will pick an older package version.
py
diff --git a/i3pystatus/weather/wunderground.py b/i3pystatus/weather/wunderground.py index <HASH>..<HASH> 100644 --- a/i3pystatus/weather/wunderground.py +++ b/i3pystatus/weather/wunderground.py @@ -68,7 +68,7 @@ class Wunderground(WeatherBackend): colorize=True, hints={'markup': 'pango'}, ...
I'm an idiot and put my API key in the Weather Underground example (#<I>) Just got a usage alert when my laptop wasn't even on. n<I>b mistake! I've disabled the API key, and this removes it from the example in the documentation.
py
diff --git a/gwpy/timeseries/statevector.py b/gwpy/timeseries/statevector.py index <HASH>..<HASH> 100644 --- a/gwpy/timeseries/statevector.py +++ b/gwpy/timeseries/statevector.py @@ -412,6 +412,7 @@ class StateVector(TimeSeriesBase): """ _metadata_slots = TimeSeriesBase._metadata_slots + ('bits',) + _pri...
StateVector: include self.bits when printing
py
diff --git a/nailgun/entities.py b/nailgun/entities.py index <HASH>..<HASH> 100644 --- a/nailgun/entities.py +++ b/nailgun/entities.py @@ -24,8 +24,10 @@ workings of entity classes. import random from datetime import datetime from sys import version_info + from fauxfactory import gen_alphanumeric from packaging.ve...
api fixed and methods GET and DELETED added for TemplateCombination fixes #<I>
py
diff --git a/phy/io/kwik/tests/test_creator.py b/phy/io/kwik/tests/test_creator.py index <HASH>..<HASH> 100644 --- a/phy/io/kwik/tests/test_creator.py +++ b/phy/io/kwik/tests/test_creator.py @@ -166,3 +166,8 @@ def test_creator_metadata(): with open_h5(creator.kwik_path, 'r') as f: ae(f.read_att...
WIP: test further creation methods in KwikCreator.
py
diff --git a/django_afip/models.py b/django_afip/models.py index <HASH>..<HASH> 100644 --- a/django_afip/models.py +++ b/django_afip/models.py @@ -630,7 +630,7 @@ class Receipt(models.Model): wso.Tributos.Tributo.append(tax.ws_object()) for vat in self.vat.all(): - wso.Iva.Iva.append(...
Fix typo that broke validating invoices with VAT
py
diff --git a/mapper/mappings.py b/mapper/mappings.py index <HASH>..<HASH> 100644 --- a/mapper/mappings.py +++ b/mapper/mappings.py @@ -172,7 +172,11 @@ def static_transition(timestamp, contract_dates, transition): else: raise ValueError("transition.columns must contain " ...
added more informative error message when looking up contracts is out of bounds
py
diff --git a/tests/generate_bip32_test_vectors.py b/tests/generate_bip32_test_vectors.py index <HASH>..<HASH> 100644 --- a/tests/generate_bip32_test_vectors.py +++ b/tests/generate_bip32_test_vectors.py @@ -1,6 +1,7 @@ """Generate BIP32 wallet test vectors from pycoin""" import argparse from binascii import hexlify ...
Use SHA<I> of randint for wallet phrase
py
diff --git a/openquake/calculators/classical.py b/openquake/calculators/classical.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/classical.py +++ b/openquake/calculators/classical.py @@ -428,7 +428,8 @@ class ClassicalCalculator(PSHACalculator): (imt, len(imls)) for imt, imls in self.oqparam.im...
Saved performance of compute hazard maps
py
diff --git a/skyfield/io.py b/skyfield/io.py index <HASH>..<HASH> 100644 --- a/skyfield/io.py +++ b/skyfield/io.py @@ -9,6 +9,16 @@ except: _missing = object() + +def download(url): + filename = url.rstrip('/').rsplit('/', 1)[1] + if not os.path.exists(filename): + data = urlopen(url).read() + ...
Prototype of a simpler download routine
py
diff --git a/quarkc/_metadata.py b/quarkc/_metadata.py index <HASH>..<HASH> 100644 --- a/quarkc/_metadata.py +++ b/quarkc/_metadata.py @@ -19,7 +19,7 @@ __all__ = [ "__license__", "__copyright__", ] -__title__ = 'datawire-quark' +__title__ = 'datawire-quarkdev' __version__ = '1.0.70' __summary__ = "Quark: a...
Changed version to datawire-quarkdev, <I> (doc 1). [ci skip]
py
diff --git a/qutepart/completer.py b/qutepart/completer.py index <HASH>..<HASH> 100644 --- a/qutepart/completer.py +++ b/qutepart/completer.py @@ -77,9 +77,9 @@ class _CompletionModel(QAbstractItemModel): # NOTE foreground colors are hardcoded, but I can't set background color of selected item (Qt bug?...
Do not hardcode text background in the completer
py
diff --git a/cqlengine/tests/columns/test_validation.py b/cqlengine/tests/columns/test_validation.py index <HASH>..<HASH> 100644 --- a/cqlengine/tests/columns/test_validation.py +++ b/cqlengine/tests/columns/test_validation.py @@ -1,6 +1,7 @@ #tests the behavior of the column classes -from datetime import datetime +fr...
added test for date time column with tzinfo
py
diff --git a/ckanserviceprovider/util.py b/ckanserviceprovider/util.py index <HASH>..<HASH> 100644 --- a/ckanserviceprovider/util.py +++ b/ckanserviceprovider/util.py @@ -2,7 +2,6 @@ import logging import Queue queue = Queue.Queue() -logging.basicConfig() class JobError(Exception):
Remove logging config from utils to allow flask logging
py
diff --git a/pycbc/types/timeseries.py b/pycbc/types/timeseries.py index <HASH>..<HASH> 100644 --- a/pycbc/types/timeseries.py +++ b/pycbc/types/timeseries.py @@ -401,6 +401,31 @@ class TimeSeries(Array): """ scaled = _numpy.int16(self.numpy()/max(abs(self)) * 32767) write_wav(file_name, self...
add convenience method to call the welch psd estimation (#<I>) * add convenience method to call the welch psd estimation * Update timeseries.py * Update timeseries.py
py
diff --git a/skl_groups/summaries/l2_density.py b/skl_groups/summaries/l2_density.py index <HASH>..<HASH> 100644 --- a/skl_groups/summaries/l2_density.py +++ b/skl_groups/summaries/l2_density.py @@ -82,7 +82,7 @@ class L2DensityTransformer(BaseEstimator, TransformerMixin): References ---------- - .. [1] ...
minor fixes to L2DensityTransformer documentation
py
diff --git a/abodepy/helpers/constants.py b/abodepy/helpers/constants.py index <HASH>..<HASH> 100644 --- a/abodepy/helpers/constants.py +++ b/abodepy/helpers/constants.py @@ -3,7 +3,7 @@ import os MAJOR_VERSION = 0 MINOR_VERSION = 11 -PATCH_VERSION = '7' +PATCH_VERSION = '8' __version__ = '{}.{}.{}'.format(MAJOR...
Increment version to <I>
py
diff --git a/test/demo/settings.py b/test/demo/settings.py index <HASH>..<HASH> 100644 --- a/test/demo/settings.py +++ b/test/demo/settings.py @@ -53,10 +53,10 @@ TEMPLATES = [ EMAIL_BACKEND = 'postmark.django_backend.EmailBackend' #Supply your own API KEY -POSTMARK_API_KEY = '' +POSTMARK_API_KEY = os.environ.get('...
Read env vars for demo project testing
py
diff --git a/geomdl/Abstract.py b/geomdl/Abstract.py index <HASH>..<HASH> 100644 --- a/geomdl/Abstract.py +++ b/geomdl/Abstract.py @@ -102,6 +102,10 @@ class Curve(object): def delta(self): """ Evaluation delta. + Evaluation delta corresponds to the *step size* while ``execute`` function iterates...
Add more detail to delta docs
py
diff --git a/law/target/remote.py b/law/target/remote.py index <HASH>..<HASH> 100644 --- a/law/target/remote.py +++ b/law/target/remote.py @@ -792,7 +792,7 @@ class RemoteFileSystem(FileSystem): # create missing dirs dst_dir = _local_fs.dirname(dst) if dst_...
Fix mkdir in remote targets.
py
diff --git a/trezorlib/tests/device_tests/test_msg_signtx_bcash.py b/trezorlib/tests/device_tests/test_msg_signtx_bcash.py index <HASH>..<HASH> 100644 --- a/trezorlib/tests/device_tests/test_msg_signtx_bcash.py +++ b/trezorlib/tests/device_tests/test_msg_signtx_bcash.py @@ -224,9 +224,10 @@ class TestMsgSigntxBch(Trezo...
device_tests: fix failed test
py
diff --git a/cryptopan.py b/cryptopan.py index <HASH>..<HASH> 100644 --- a/cryptopan.py +++ b/cryptopan.py @@ -30,7 +30,6 @@ class CryptoPan(): raise CryptoPanError("Invalid IPv4 Address") address=self.toint(address) - print address rin_input="".join([chr(x) for x in self.first4bytes_pad]) ...
Version gives the same results as IP::Anonymous - success
py
diff --git a/salt/log/mixins.py b/salt/log/mixins.py index <HASH>..<HASH> 100644 --- a/salt/log/mixins.py +++ b/salt/log/mixins.py @@ -82,7 +82,8 @@ class ExcInfoOnLogLevelFormatMixIn(object): ''' formatted_record = super(ExcInfoOnLogLevelFormatMixIn, self).format(record) exc_info_on_loglevel...
We might already have `record.exc_info_on_loglevel_formatted`
py
diff --git a/safeprint/__init__.py b/safeprint/__init__.py index <HASH>..<HASH> 100644 --- a/safeprint/__init__.py +++ b/safeprint/__init__.py @@ -7,10 +7,10 @@ import os, re, sys, win_unicode_console.streams, builtins from .version import __version__ def Printer(): - if sys.platform == "win32": - if win_unicode_c...
Compatble with win-unicode-console <I>
py
diff --git a/pycdlib/pycdlib.py b/pycdlib/pycdlib.py index <HASH>..<HASH> 100644 --- a/pycdlib/pycdlib.py +++ b/pycdlib/pycdlib.py @@ -452,14 +452,13 @@ def reassign_vd_dirrecord_extents(vd, current_extent): rr_cont_len = dir_record_rock_ridge.ce_record.continuation_entry.length() if r...
Share a bit more code for continuation area offsets.
py
diff --git a/djangocms_page_meta/utils.py b/djangocms_page_meta/utils.py index <HASH>..<HASH> 100644 --- a/djangocms_page_meta/utils.py +++ b/djangocms_page_meta/utils.py @@ -30,7 +30,9 @@ def get_page_meta(page, language): meta = Meta() title = page.get_title_obj(language) - meta.title = pag...
Default to page title from admin Default page title should come from `page.get_page_title`, not `page.get_title` as djangocms page title hint says "Overwrites what is displayed at the top of your browser or in bookmarks".
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 @@ -89,7 +89,7 @@ class Transaction(Batch): >>> transaction.begin() >>> entity = Entity(key=Key('Thing')) - >>> data...
Use transaction explicitly, as it is not on the stack. See: <URL>
py
diff --git a/synapse/lib/socket.py b/synapse/lib/socket.py index <HASH>..<HASH> 100644 --- a/synapse/lib/socket.py +++ b/synapse/lib/socket.py @@ -39,7 +39,8 @@ class Socket(EventBus): EventBus.__init__(self) self.sock = sock # type: socket.socket - self.unpk = msgpack.Unpacker(use_list=0, e...
Allow malformed unicode strings to cross the RMI boundaries
py
diff --git a/src/foremast/slacknotify/slack_notification.py b/src/foremast/slacknotify/slack_notification.py index <HASH>..<HASH> 100644 --- a/src/foremast/slacknotify/slack_notification.py +++ b/src/foremast/slacknotify/slack_notification.py @@ -20,6 +20,6 @@ class SlackNotification: channel = '#deployments-{...
disabled slack notification for team defined channels. This is noisey, will work on a better solution
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ from pathlib import Path from setuptools import setup, find_packages ##################################### -VERSION = "0.7.4" +VERSION = "0.7.5" ISRELEASED = True if ISRELEASED: __version__ = VERSION
Bump to version <I>
py
diff --git a/jaraco/packaging/release.py b/jaraco/packaging/release.py index <HASH>..<HASH> 100644 --- a/jaraco/packaging/release.py +++ b/jaraco/packaging/release.py @@ -76,7 +76,8 @@ def get_repo_name(): """ Get the repo name from the hgrc default path. """ - default = subprocess.check_output('hg pa...
Fix error in bitbucket detection code on Unix systems.
py
diff --git a/karaage/views.py b/karaage/views.py index <HASH>..<HASH> 100644 --- a/karaage/views.py +++ b/karaage/views.py @@ -31,6 +31,7 @@ from django.http import HttpResponseRedirect from karaage.people.models import Person from karaage.projects.models import Project from karaage.requests.models import ProjectJoi...
provide pending application info on admin index page
py
diff --git a/grequests.py b/grequests.py index <HASH>..<HASH> 100644 --- a/grequests.py +++ b/grequests.py @@ -79,7 +79,7 @@ def send(r, pool=None, stream=False): """Sends the request object using the specified pool. If a pool isn't specified this method blocks. Pools are useful because you can specify size ...
Use is not instead of !=
py
diff --git a/wpull/http.py b/wpull/http.py index <HASH>..<HASH> 100644 --- a/wpull/http.py +++ b/wpull/http.py @@ -531,6 +531,10 @@ class Client(object): @tornado.gen.coroutine def fetch(self, request, **kwargs): _logger.debug('Client fetch request {0}.'.format(request)) + + if 'recorder' not ...
Fixes recorders not working.
py