diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/djangocms_page_tags/__init__.py b/djangocms_page_tags/__init__.py index <HASH>..<HASH> 100644 --- a/djangocms_page_tags/__init__.py +++ b/djangocms_page_tags/__init__.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals -__version__ = '0.6....
Bump develop version [ci skip]
py
diff --git a/elasticsearch/client/cluster.py b/elasticsearch/client/cluster.py index <HASH>..<HASH> 100644 --- a/elasticsearch/client/cluster.py +++ b/elasticsearch/client/cluster.py @@ -23,6 +23,18 @@ class ClusterClient(NamespacedClient): params=params) return data + @query_params() + de...
Add the cluster.pending_tasks api
py
diff --git a/werkzeug/contrib/securecookie.py b/werkzeug/contrib/securecookie.py index <HASH>..<HASH> 100644 --- a/werkzeug/contrib/securecookie.py +++ b/werkzeug/contrib/securecookie.py @@ -149,7 +149,7 @@ class SecureCookie(ModificationTrackingDict): # explicitly convert it into a bytestring because python 2...
convert secret_key to bytes on 3.x as well
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,14 +1,10 @@ from setuptools import setup -def readme(): - with open('README.md') as f: - return f.read() - setup( name='appdaemontestframework', - version='2.0.1', + version='2.0.2', descriptio...
Release <I>: Update description on PyPi
py
diff --git a/pybromo/diffusion.py b/pybromo/diffusion.py index <HASH>..<HASH> 100644 --- a/pybromo/diffusion.py +++ b/pybromo/diffusion.py @@ -624,6 +624,15 @@ class ParticlesSimulation(object): pattern = self._get_ts_name_mix_core(max_rates, populations, bg_rate) return self.timestamps_match_pattern(...
FIX: re-add deleted get_timestamps_part() method.
py
diff --git a/user_sessions/management/commands/clearsessions.py b/user_sessions/management/commands/clearsessions.py index <HASH>..<HASH> 100644 --- a/user_sessions/management/commands/clearsessions.py +++ b/user_sessions/management/commands/clearsessions.py @@ -1,4 +1 @@ -try: - from django.contrib.sessions.managem...
Removed try/except statement for Django <I>
py
diff --git a/demosys/loaders/scene/wavefront.py b/demosys/loaders/scene/wavefront.py index <HASH>..<HASH> 100644 --- a/demosys/loaders/scene/wavefront.py +++ b/demosys/loaders/scene/wavefront.py @@ -120,6 +120,7 @@ class ObjLoader(SceneLoader): texture = textures.load(TextureDescription( ...
Enable mipmapping by default in wavefront
py
diff --git a/flowcraft/templates/assembly_report.py b/flowcraft/templates/assembly_report.py index <HASH>..<HASH> 100644 --- a/flowcraft/templates/assembly_report.py +++ b/flowcraft/templates/assembly_report.py @@ -310,7 +310,7 @@ class Assembly: contig_id = self._get_contig_id(contig) self.co...
Added contig name to xbars object
py
diff --git a/webhooks/senders/base.py b/webhooks/senders/base.py index <HASH>..<HASH> 100644 --- a/webhooks/senders/base.py +++ b/webhooks/senders/base.py @@ -187,6 +187,8 @@ class Senderable(object): sending_metadata['error'] = None if sending_metadata['success'] or not self.error else self.error sen...
NH - support for string payload
py
diff --git a/cerberus/tests/tests.py b/cerberus/tests/tests.py index <HASH>..<HASH> 100644 --- a/cerberus/tests/tests.py +++ b/cerberus/tests/tests.py @@ -30,7 +30,7 @@ class TestValidator(TestBase): try: func(*args, **kwargs) except SchemaError as e: - self.assertIn(err_msg, s...
Make the annoyance that is Python <I> happy
py
diff --git a/rest_auth/serializers.py b/rest_auth/serializers.py index <HASH>..<HASH> 100644 --- a/rest_auth/serializers.py +++ b/rest_auth/serializers.py @@ -181,9 +181,8 @@ class PasswordResetConfirmSerializer(serializers.Serializer): new_password1 = serializers.CharField(max_length=128) new_password2 = s...
Remove redundant `required=True` from serializer fields `required=True` is default setting
py
diff --git a/ocrmypdf/pageinfo.py b/ocrmypdf/pageinfo.py index <HASH>..<HASH> 100644 --- a/ocrmypdf/pageinfo.py +++ b/ocrmypdf/pageinfo.py @@ -183,7 +183,13 @@ def _find_page_images(page, pageinfo, contentsinfo): image['bpc'] = settings['/BPC'] image['color'] = FRIENDLY_COLORSPACE.get(settings['/CS'],...
Fix test failure: inline images with multiple image filters specified
py
diff --git a/pandas/core/frame.py b/pandas/core/frame.py index <HASH>..<HASH> 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -1102,7 +1102,7 @@ class DataFrame(NDFrame, OpsMixin): ... @Substitution( - header_type="bool or sequence of strings", + header_type="bool or sequen...
fix PR<I> failing CI (#<I>)
py
diff --git a/holoviews/core/dimension.py b/holoviews/core/dimension.py index <HASH>..<HASH> 100644 --- a/holoviews/core/dimension.py +++ b/holoviews/core/dimension.py @@ -666,7 +666,9 @@ class Dimensioned(LabelledData): items = [] for k, v in selection.items(): val_dim = ['val...
Allowed sanitized dimensions in deep select
py
diff --git a/pycons3rt/bash.py b/pycons3rt/bash.py index <HASH>..<HASH> 100755 --- a/pycons3rt/bash.py +++ b/pycons3rt/bash.py @@ -1306,7 +1306,7 @@ def manage_service(service_name, service_action='status', systemd=None): :param service_name (str) name of the service to start :param service_action (str) actio...
Fixed return doc on the manage_service method
py
diff --git a/salt/__init__.py b/salt/__init__.py index <HASH>..<HASH> 100644 --- a/salt/__init__.py +++ b/salt/__init__.py @@ -15,7 +15,10 @@ def verify_env(dirs): ''' for dir_ in dirs: if not os.path.isdir(dir_): - os.makedirs(dir_) + try: + os.makedirs(dir_) + ...
Added slightly nicer feedback on verify_env failures.
py
diff --git a/stagpy/plates.py b/stagpy/plates.py index <HASH>..<HASH> 100644 --- a/stagpy/plates.py +++ b/stagpy/plates.py @@ -128,14 +128,16 @@ def plot_plate_limits_field(axis, rcmb, ridges, trenches): xxt = (rcmb + 1.35) * np.cos(trench) # arrow end yyt = (rcmb + 1.35) * np.sin(trench) # arrow en...
Always show plate limit annotations Annotations outside of data limits wouldn't show. This commit fix this with the annotation_clip kwarg.
py
diff --git a/test/cache_test.py b/test/cache_test.py index <HASH>..<HASH> 100644 --- a/test/cache_test.py +++ b/test/cache_test.py @@ -95,6 +95,18 @@ def test_key_default(): def test_arguments(): + cache = Cache(LocalCache()) + + @cache("mykey") + def return_arguments(*a, **kw): + return (a, kw) + ...
add a failing test that arguments are passed correctly
py
diff --git a/etcd/test_etcd.py b/etcd/test_etcd.py index <HASH>..<HASH> 100644 --- a/etcd/test_etcd.py +++ b/etcd/test_etcd.py @@ -115,6 +115,6 @@ class CheckEtcdTest(AgentCheckTest): self.assertServiceCheckCritical(self.check.SERVICE_CHECK_NAME, count=1, - ...
[ETCD] Update test to reflect service check tag for base URL
py
diff --git a/lint.py b/lint.py index <HASH>..<HASH> 100644 --- a/lint.py +++ b/lint.py @@ -204,6 +204,7 @@ class PyLinter(OptionsManagerMixIn, MessagesHandlerMixIn, ReportsHandlerMixIn, ' parseable, colorized, msvs (visual studio) and html. You ' 'can also give a reporter class, eg...
Remove include html ids from lint
py
diff --git a/tests/test_asf.py b/tests/test_asf.py index <HASH>..<HASH> 100644 --- a/tests/test_asf.py +++ b/tests/test_asf.py @@ -70,12 +70,14 @@ class TASF(TestCase): def test_pprint(self): self.failUnless(self.audio.pprint()) - def set_key(self, key, value, result=None): + def set_key(self, key...
TASF: Test __contains__, as_dict, and keys.
py
diff --git a/securesystemslib/interface.py b/securesystemslib/interface.py index <HASH>..<HASH> 100755 --- a/securesystemslib/interface.py +++ b/securesystemslib/interface.py @@ -55,7 +55,7 @@ try: from colorama import Fore TERM_RED = Fore.RED TERM_RESET = Fore.RESET -except ImportError: +except ImportError: #...
Mark uncovered path in interface Improve the coverage numbers by marking an untested path as not having coverage.
py
diff --git a/matplotlib_scalebar/scalebar.py b/matplotlib_scalebar/scalebar.py index <HASH>..<HASH> 100644 --- a/matplotlib_scalebar/scalebar.py +++ b/matplotlib_scalebar/scalebar.py @@ -459,7 +459,7 @@ class ScaleBar(Artist): scale_bar_box = AuxTransformBox(ax.transData) scale_bar_box.add_artist(scal...
Don't use deprecated minimumdescent, which had no effect anyways. (#<I>)
py
diff --git a/django_deployer/providers.py b/django_deployer/providers.py index <HASH>..<HASH> 100644 --- a/django_deployer/providers.py +++ b/django_deployer/providers.py @@ -250,22 +250,14 @@ Just a few more steps before you're ready to deploy your app! provider_yml_name = "app.yaml" + # switch to the git ...
switched appengine template to git repo
py
diff --git a/authentise_services/model.py b/authentise_services/model.py index <HASH>..<HASH> 100644 --- a/authentise_services/model.py +++ b/authentise_services/model.py @@ -37,7 +37,8 @@ class Model(object): resize=False, rotation=False, callback_url=None, - ...
optimize model upload analysis with auto_align=false
py
diff --git a/salt/utils/__init__.py b/salt/utils/__init__.py index <HASH>..<HASH> 100644 --- a/salt/utils/__init__.py +++ b/salt/utils/__init__.py @@ -398,8 +398,9 @@ def prep_jid(cachedir, sum_type, user='root', nocache=False): os.makedirs(jid_dir_) with fopen(os.path.join(jid_dir_, 'jid'), 'w+') as ...
only set nocache tag if called for
py
diff --git a/src/sos/converter.py b/src/sos/converter.py index <HASH>..<HASH> 100755 --- a/src/sos/converter.py +++ b/src/sos/converter.py @@ -198,8 +198,12 @@ def script_to_html(script_file, html_file, args=None, unknown_args=None): time.sleep(2) -def extract_workflow(notebook_file): - nb = nbformat.re...
Allow extract_workflow to work on notebook content
py
diff --git a/sos/plugins/podman.py b/sos/plugins/podman.py index <HASH>..<HASH> 100644 --- a/sos/plugins/podman.py +++ b/sos/plugins/podman.py @@ -11,7 +11,7 @@ from sos.plugins import Plugin, RedHatPlugin, UbuntuPlugin -class Podman(Plugin): +class Podman(Plugin, RedHatPlugin, UbuntuPlugin): """Podman cont...
[podman] allow the plugin for RedHatPlugin and UbuntuPlugin Until Podman inherits RedHatPlugin and/or UbuntuPlugin, the plugin can not be executed on underlying distros. Further, remove one redundant test as "for container in insp" will work properly also for empty "insp". Resolves: #<I>
py
diff --git a/python-package/lightgbm/engine.py b/python-package/lightgbm/engine.py index <HASH>..<HASH> 100644 --- a/python-package/lightgbm/engine.py +++ b/python-package/lightgbm/engine.py @@ -38,9 +38,11 @@ def train(params, train_set, num_boost_round=100, Names of ``valid_sets``. fobj : callable or No...
Clarify docs for feval (#<I>) * Clarify docs for feval * docs- adds that feval can be a string * docs- deletes extraneous space
py
diff --git a/passbook/models.py b/passbook/models.py index <HASH>..<HASH> 100644 --- a/passbook/models.py +++ b/passbook/models.py @@ -71,9 +71,10 @@ class Pass : def createZip(self, manifest): # Package file in Zip (as .pkpass) - with zipfile.ZipFile('pass.pkpass', 'w') as zf: - z...
changed zip usage to support python <I>
py
diff --git a/indra/sources/biopax/processor.py b/indra/sources/biopax/processor.py index <HASH>..<HASH> 100644 --- a/indra/sources/biopax/processor.py +++ b/indra/sources/biopax/processor.py @@ -933,9 +933,9 @@ class BiopaxProcessor(object): if sources: if len(sources) > 1: logger...
Use display name as the source ID in annotations
py
diff --git a/examples/keras/mnist-keras.py b/examples/keras/mnist-keras.py index <HASH>..<HASH> 100755 --- a/examples/keras/mnist-keras.py +++ b/examples/keras/mnist-keras.py @@ -42,7 +42,7 @@ def clear_tower0_name_scope(): def get_keras_model(): with clear_tower0_name_scope(): M = keras.models.Sequentia...
fix "mnist-keras.py" (#<I>)
py
diff --git a/libre/apps/data_drivers/models.py b/libre/apps/data_drivers/models.py index <HASH>..<HASH> 100644 --- a/libre/apps/data_drivers/models.py +++ b/libre/apps/data_drivers/models.py @@ -241,7 +241,7 @@ class Source(models.Model): @models.permalink def get_absolute_url(self): - return ('sourc...
Reference sources by slug not pk
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,8 @@ setup( name = 'fasta', version = '1.0.4', description = 'The fasta python package enables you to deal with biological sequence files easily.', + long_description = open(...
Added markdown content-type to setup.py
py
diff --git a/profile/extensions/genepattern.py b/profile/extensions/genepattern.py index <HASH>..<HASH> 100644 --- a/profile/extensions/genepattern.py +++ b/profile/extensions/genepattern.py @@ -249,7 +249,7 @@ def download_client_files(): os.makedirs(client_dir) # Get the necessary file list in JSON - ...
Have develop branch point to develop branch of the repo
py
diff --git a/util.py b/util.py index <HASH>..<HASH> 100644 --- a/util.py +++ b/util.py @@ -495,12 +495,9 @@ def parse_args(cfg): # Persistence-related arguments. if cfg['action']['build']: - if args.push: - cfg['repository']['push'] = True - if args.export: - cfg['repository']['export'] = True - if args.sa...
Booleans are already booleans...
py
diff --git a/backtrader/cerebro.py b/backtrader/cerebro.py index <HASH>..<HASH> 100644 --- a/backtrader/cerebro.py +++ b/backtrader/cerebro.py @@ -47,6 +47,7 @@ class Cerebro(six.with_metaclass(MetaParams, object)): data._name = name self.datas.append(data) feed = data.getfeed() + ...
Cerebro Reminder Note to change "in" testing operator
py
diff --git a/wallace/heroku/clock.py b/wallace/heroku/clock.py index <HASH>..<HASH> 100644 --- a/wallace/heroku/clock.py +++ b/wallace/heroku/clock.py @@ -34,7 +34,7 @@ session = db.session scheduler = BlockingScheduler() -@scheduler.scheduled_job('interval', minutes=0.25) +@scheduler.scheduled_job('interval', min...
change clock to run every <I>s
py
diff --git a/releases/util.py b/releases/util.py index <HASH>..<HASH> 100644 --- a/releases/util.py +++ b/releases/util.py @@ -200,11 +200,13 @@ def make_app(**kwargs): config['releases_{0}'.format(name)] = kwargs[name] # Stitch together as the sphinx app init() usually does w/ real conf files app.co...
More correctly handle Sphinx config obj arity changes. Should now be compat with basically all Sphinx versions?
py
diff --git a/python/ray/tests/test_metrics_agent.py b/python/ray/tests/test_metrics_agent.py index <HASH>..<HASH> 100644 --- a/python/ray/tests/test_metrics_agent.py +++ b/python/ray/tests/test_metrics_agent.py @@ -1,5 +1,6 @@ import json import pathlib +import platform from pprint import pformat from unittest.mock...
[Metrics] Skip prom file test on Windows. (#<I>)
py
diff --git a/alot/widgets/globals.py b/alot/widgets/globals.py index <HASH>..<HASH> 100644 --- a/alot/widgets/globals.py +++ b/alot/widgets/globals.py @@ -166,9 +166,9 @@ class CompleteEdit(urwid.Edit): self.history.append(self.edit_text) self.historypos = len(self.history) - 1...
widgets/globals: inverse search keys (up/down) This has really annoyed me for a while, the search is reversed from vim. In alot currently up is older searches, whiles down is newer. In vim it's reversed.
py
diff --git a/controller/api/models.py b/controller/api/models.py index <HASH>..<HASH> 100644 --- a/controller/api/models.py +++ b/controller/api/models.py @@ -618,7 +618,12 @@ def _etcd_purge_key(**kwargs): def _etcd_purge_user(**kwargs): username = kwargs['instance'].username - _etcd_client.delete('/deis/bu...
fix(controller): ignore KeyError when purging user from etcd
py
diff --git a/constance/admin.py b/constance/admin.py index <HASH>..<HASH> 100644 --- a/constance/admin.py +++ b/constance/admin.py @@ -185,6 +185,10 @@ class ConstanceAdmin(admin.ModelAdmin): change_list_template = 'admin/constance/change_list.html' change_list_form = ConstanceForm + def __init__(self, m...
Add concrete_model class attribute to fake admin model. (#<I>) * Add concrete_model class attribute to fake admin model. This is related to #<I> and <URL>
py
diff --git a/noseOfYeti/tokeniser/tracker.py b/noseOfYeti/tokeniser/tracker.py index <HASH>..<HASH> 100644 --- a/noseOfYeti/tokeniser/tracker.py +++ b/noseOfYeti/tokeniser/tracker.py @@ -398,7 +398,7 @@ class Tracker(object): self.result.extend(self.tokens.make_single(name, args)) # Add skip if nece...
Ignore tests no longer add their own nose.SkipTest
py
diff --git a/satpy/readers/abi_l1b.py b/satpy/readers/abi_l1b.py index <HASH>..<HASH> 100644 --- a/satpy/readers/abi_l1b.py +++ b/satpy/readers/abi_l1b.py @@ -96,10 +96,11 @@ class NC_ABI_L1B(BaseFileHandler): lon_0 = projection.attrs['longitude_of_projection_origin'][...] sweep_axis = projection.attr...
Update ABI scale factors to be <I>-bit floats to improve X/Y calculations In other applications I have noticed that the in-file <I>-bit factor and offset produce a noticeable drift in the per-pixel X/Y values. When converted to <I>-bit to force <I>-bit arithmetic the results are closer to the advertised pixel resoluti...
py
diff --git a/phy/cluster/views/base.py b/phy/cluster/views/base.py index <HASH>..<HASH> 100644 --- a/phy/cluster/views/base.py +++ b/phy/cluster/views/base.py @@ -266,8 +266,10 @@ class ManualClusteringView(object): connect(on_select, event='select') # Save the view state in the GUI state. - ...
Fix frozen view bug: the close event was sent to all views
py
diff --git a/metadown/downloader.py b/metadown/downloader.py index <HASH>..<HASH> 100644 --- a/metadown/downloader.py +++ b/metadown/downloader.py @@ -11,7 +11,11 @@ class XmlDownloader(object): if namer is not None: # Custom naming function for saved file on disk - filena...
catch errors in the naming and modifying callbacks
py
diff --git a/splinter/driver/djangoclient.py b/splinter/driver/djangoclient.py index <HASH>..<HASH> 100644 --- a/splinter/driver/djangoclient.py +++ b/splinter/driver/djangoclient.py @@ -63,10 +63,11 @@ class DjangoClient(DriverAPI): driver_name = "django" - def __init__(self, user_agent=None, wait_time=2):...
adds ability to pass kwargs to django Client constructor
py
diff --git a/pandas/tests/scalar/period/test_period.py b/pandas/tests/scalar/period/test_period.py index <HASH>..<HASH> 100644 --- a/pandas/tests/scalar/period/test_period.py +++ b/pandas/tests/scalar/period/test_period.py @@ -1549,7 +1549,11 @@ def test_period_immutable(): @pytest.mark.xfail( - PY35, reason="P...
TST: non-strict xfail for period test (#<I>) This was XPASSing on the MacPython builds: <URL>
py
diff --git a/src/app/drivers/pycolator/filters.py b/src/app/drivers/pycolator/filters.py index <HASH>..<HASH> 100644 --- a/src/app/drivers/pycolator/filters.py +++ b/src/app/drivers/pycolator/filters.py @@ -54,9 +54,9 @@ class FilterKnownPeptides(base.PycolatorDriver): """This class processes multiple percolator r...
Better name for filterknown command -- filterseq
py
diff --git a/pymatgen/io/cif.py b/pymatgen/io/cif.py index <HASH>..<HASH> 100644 --- a/pymatgen/io/cif.py +++ b/pymatgen/io/cif.py @@ -1158,7 +1158,7 @@ class CifWriter(object): atom_site_label.append("{}{}".format(sp.symbol, count)) atom_site_occupancy.append(occu.__str__()) ...
Ensure `spin` is picked up correctly in (Mag)CifWriter
py
diff --git a/ariba/read_store.py b/ariba/read_store.py index <HASH>..<HASH> 100644 --- a/ariba/read_store.py +++ b/ariba/read_store.py @@ -7,14 +7,19 @@ from ariba import common class Error (Exception): pass class ReadStore: - def __init__(self, infile, outfile, log_fh=None): + def __init__(self, infile, outp...
sort and compress in __init__
py
diff --git a/profiling/remote/__init__.py b/profiling/remote/__init__.py index <HASH>..<HASH> 100644 --- a/profiling/remote/__init__.py +++ b/profiling/remote/__init__.py @@ -19,10 +19,8 @@ except ImportError: import pickle import socket import struct -import sys from .. import __version__ -from ..utils impor...
ProfilingServer doesn't exclude threading code
py
diff --git a/wal_e/worker/s3_worker.py b/wal_e/worker/s3_worker.py index <HASH>..<HASH> 100644 --- a/wal_e/worker/s3_worker.py +++ b/wal_e/worker/s3_worker.py @@ -168,7 +168,7 @@ def do_lzop_s3_get(s3_url, path): assert s3_url.endswith('.lzo'), 'Expect an lzop-compressed file' # XXX: Refactor: copied out of...
Fix copy-pasto (a more narrow path for this cleanup should be provided)
py
diff --git a/dipper/sources/Source.py b/dipper/sources/Source.py index <HASH>..<HASH> 100644 --- a/dipper/sources/Source.py +++ b/dipper/sources/Source.py @@ -236,11 +236,9 @@ class Source: response = urllib.request.urlopen(req) try: - resp_header = response.getheaders() - size...
this must have run as it was with previous libraries but this works now
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ setup(name='marionette-tg', }, include_package_data=True, install_requires=['importlib','twisted','fte','regex2dfa','ply','pycurl'], - version='0.0.2', + version='0.0.3', de...
Update version number to <I>
py
diff --git a/pandas/tests/test_frame.py b/pandas/tests/test_frame.py index <HASH>..<HASH> 100644 --- a/pandas/tests/test_frame.py +++ b/pandas/tests/test_frame.py @@ -1295,6 +1295,21 @@ class CheckIndexing(object): expected = self.frame.get_value(row, col) assert_almost_equal(result, e...
TST: nested exceptions clobber the exception context, must reraise with named arg
py
diff --git a/scripts/build_pyinstaller.py b/scripts/build_pyinstaller.py index <HASH>..<HASH> 100644 --- a/scripts/build_pyinstaller.py +++ b/scripts/build_pyinstaller.py @@ -125,16 +125,12 @@ def move_executable_folder(final_exec_dir): def generate_static_css(): - old_cwd = os.getcwd() - server_dir = os.pat...
updates pyinstalle build script to use webpack assets
py
diff --git a/dvc/version.py b/dvc/version.py index <HASH>..<HASH> 100644 --- a/dvc/version.py +++ b/dvc/version.py @@ -7,7 +7,7 @@ import os import subprocess -_BASE_VERSION = "0.73.0" +_BASE_VERSION = "0.74.0" def _generate_version(base_version):
dvc: bump to <I>
py
diff --git a/openid/consumer/stores.py b/openid/consumer/stores.py index <HASH>..<HASH> 100644 --- a/openid/consumer/stores.py +++ b/openid/consumer/stores.py @@ -62,5 +62,8 @@ class OpenIDStore(object): return False and remove them.""" raise NotImplementedError - - + def getAuthKey(self): + ...
[project @ Added a method to the OpenIDStore interface.]
py
diff --git a/gwpy/table/io/hacr.py b/gwpy/table/io/hacr.py index <HASH>..<HASH> 100644 --- a/gwpy/table/io/hacr.py +++ b/gwpy/table/io/hacr.py @@ -39,7 +39,6 @@ from numpy.lib import recfunctions from ...segments import Segment from ...time import (to_gps, from_gps) -from ...utils.deps import with_import from .. i...
table.io.hacr: don't use with_import decorator
py
diff --git a/pynes/tests/php_test.py b/pynes/tests/php_test.py index <HASH>..<HASH> 100644 --- a/pynes/tests/php_test.py +++ b/pynes/tests/php_test.py @@ -4,14 +4,15 @@ import unittest from pynes.compiler import lexical, syntax, semantic + class PhpTest(unittest.TestCase): def test_php_sngl(self): ...
PEP8 fixes on tests/php_test.py
py
diff --git a/marvin_python_toolbox/management/templates/python-engine/setup.py b/marvin_python_toolbox/management/templates/python-engine/setup.py index <HASH>..<HASH> 100644 --- a/marvin_python_toolbox/management/templates/python-engine/setup.py +++ b/marvin_python_toolbox/management/templates/python-engine/setup.py @...
Using toolbox from pypi distribution
py
diff --git a/osbs/constants.py b/osbs/constants.py index <HASH>..<HASH> 100644 --- a/osbs/constants.py +++ b/osbs/constants.py @@ -61,7 +61,7 @@ SERVICEACCOUNT_CACRT = "ca.crt" SECRETS_PATH = "/var/run/secrets/atomic-reactor" # Backup/restore -BACKUP_RESOURCES = ('buildconfigs', 'imagestreams', 'builds',) +BACKUP_R...
Don't backup Build objects The information required by OSBS is fully stored in BuildConfig and ImageStream objects. Additionally, the Build objects are only restored if they don't have a BuildConfig associated with them. Those are scratch and isolated builds which we care very little about backing up in OSBS.
py
diff --git a/spacy/training/initialize.py b/spacy/training/initialize.py index <HASH>..<HASH> 100644 --- a/spacy/training/initialize.py +++ b/spacy/training/initialize.py @@ -156,6 +156,8 @@ def load_vectors_into_model( logger.warning(Warnings.W112.format(name=name)) nlp.vocab.vectors = vectors_nlp.voca...
Update lexeme ranks for loaded vectors (#<I>) Update the ranks for any lexemes that have been added to the vocab before the vectors are added to the model.
py
diff --git a/src/inscriptis/html_properties.py b/src/inscriptis/html_properties.py index <HASH>..<HASH> 100644 --- a/src/inscriptis/html_properties.py +++ b/src/inscriptis/html_properties.py @@ -72,4 +72,4 @@ class Line(object): '\n' * self.margin_after)) def __str__(self): - retu...
fix: python<I> issue.
py
diff --git a/openquake/commands/dump.py b/openquake/commands/dump.py index <HASH>..<HASH> 100644 --- a/openquake/commands/dump.py +++ b/openquake/commands/dump.py @@ -15,8 +15,6 @@ # You should have received a copy of the GNU Affero General Public License # along with OpenQuake. If not, see <http://www.gnu.org/l...
Removed unneeded import [skip CI]
py
diff --git a/QUANTAXIS/QAARP/QAAccount.py b/QUANTAXIS/QAARP/QAAccount.py index <HASH>..<HASH> 100755 --- a/QUANTAXIS/QAARP/QAAccount.py +++ b/QUANTAXIS/QAARP/QAAccount.py @@ -622,7 +622,19 @@ class QA_Account(QA_Worker): return QA_util_get_trade_range(str(min(self.time_index_max))[0:10], ...
#update a method to calc total_commission
py
diff --git a/pywb/recorder/redisindexer.py b/pywb/recorder/redisindexer.py index <HASH>..<HASH> 100644 --- a/pywb/recorder/redisindexer.py +++ b/pywb/recorder/redisindexer.py @@ -50,7 +50,8 @@ class WritableRedisIndexer(RedisIndexSource): cdxout = BytesIO() write_cdx_index(cdxout, stream, filename, ...
redisindexer: allow custom 'writer_cls' to be passed via params
py
diff --git a/ccmlib/node.py b/ccmlib/node.py index <HASH>..<HASH> 100644 --- a/ccmlib/node.py +++ b/ccmlib/node.py @@ -996,10 +996,13 @@ class Node(): # it is fine to remove a key not there:w pass else: - if isinstance(data[name], dict): - ...
Handle yaml entry not existing The isinstance(x, dict) check throws a KeyError if the new property is not already in cassandra.yaml.
py
diff --git a/splinter/driver/__init__.py b/splinter/driver/__init__.py index <HASH>..<HASH> 100644 --- a/splinter/driver/__init__.py +++ b/splinter/driver/__init__.py @@ -220,9 +220,6 @@ class DriverAPI(RequestHandler): """ raise NotImplementedError - fill_in = fill - attach_file = fill - ...
Changed mouseover and mouseout to mouse_over and mouse_out
py
diff --git a/src/redis_lock/__init__.py b/src/redis_lock/__init__.py index <HASH>..<HASH> 100644 --- a/src/redis_lock/__init__.py +++ b/src/redis_lock/__init__.py @@ -202,7 +202,9 @@ class Lock(object): logger.warn("UNLOCK_SCRIPT not cached.") self._client.eval(UNLOCK_SCRIPT, 2, self._name, se...
Only allow `force` argument in release method. The other arguments are unrelated (specific to context managers).
py
diff --git a/pyIOSXR/iosxr.py b/pyIOSXR/iosxr.py index <HASH>..<HASH> 100644 --- a/pyIOSXR/iosxr.py +++ b/pyIOSXR/iosxr.py @@ -108,7 +108,7 @@ class IOSXR: """ Opens a connection to an IOS-XR device. """ - device = pexpect.spawn('ssh -p {} {}@{}'.format(self.port, self.username, self.h...
timeout also on ssh connection
py
diff --git a/niworkflows/__about__.py b/niworkflows/__about__.py index <HASH>..<HASH> 100644 --- a/niworkflows/__about__.py +++ b/niworkflows/__about__.py @@ -10,7 +10,7 @@ as well as for open-source software distribution. from __future__ import absolute_import, division, print_function import datetime -__version__...
MAINT: Bump dev version
py
diff --git a/docker_daemon/check.py b/docker_daemon/check.py index <HASH>..<HASH> 100644 --- a/docker_daemon/check.py +++ b/docker_daemon/check.py @@ -650,7 +650,7 @@ class DockerDaemon(AgentCheck): def _report_performance_metrics(self, containers_by_id): containers_without_proc_root = [] - for c...
improve logging for "bogus pid" error to help debuging
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ def readme(): base_requirements = [ 'attrs~=17.4', - 'conformity~=1.12', + 'conformity~=1.13', 'currint~=1.6', 'enum34;python_version<"3.4"', 'msgpack-python~=0.4',
[MINOR] Bump Conformity
py
diff --git a/kafka/admin/kafka.py b/kafka/admin/kafka.py index <HASH>..<HASH> 100644 --- a/kafka/admin/kafka.py +++ b/kafka/admin/kafka.py @@ -174,16 +174,6 @@ class KafkaAdmin(object): self.config = copy.copy(self.DEFAULT_CONFIG) self.config.update(configs) - # api_version was previously a s...
Remove support for api versions as strings from KafkaAdmin This is a new class, so let's not support the old version strings and saddle ourselves with tech debt right from the get-go.
py
diff --git a/openquake/server/tests/tests.py b/openquake/server/tests/tests.py index <HASH>..<HASH> 100644 --- a/openquake/server/tests/tests.py +++ b/openquake/server/tests/tests.py @@ -114,7 +114,7 @@ class EngineServerTestCase(unittest.TestCase): os.close(cls.fd) def setUp(self): - if sys.vers...
Updated comment [skip CI]
py
diff --git a/djedi/plugins/img.py b/djedi/plugins/img.py index <HASH>..<HASH> 100644 --- a/djedi/plugins/img.py +++ b/djedi/plugins/img.py @@ -122,9 +122,11 @@ class ImagePluginBase(BasePlugin): } if data: url = data.get('url') - alt = data.get('alt') width = data....
Render missing data attributes in image plugin
py
diff --git a/python/test/bigdl/test_simple_integration.py b/python/test/bigdl/test_simple_integration.py index <HASH>..<HASH> 100644 --- a/python/test/bigdl/test_simple_integration.py +++ b/python/test/bigdl/test_simple_integration.py @@ -159,6 +159,15 @@ class TestSimple(): assert_allclose(gradInput[1], ...
Display bigdl model in tensorboard (#<I>) * Display bigdl model in tensorboard * add document, python API and meet code review. * meet code review * meet code review
py
diff --git a/synapse/cmds/cortex.py b/synapse/cmds/cortex.py index <HASH>..<HASH> 100644 --- a/synapse/cmds/cortex.py +++ b/synapse/cmds/cortex.py @@ -13,7 +13,6 @@ class AskCmd(s_cli.Cmd): def runCmdOpts(self, opts): ques = opts.get('query') core = self.getCmdItem() - resp = core.ask(qu...
initial cli refactor and some helpful cortex cli commands
py
diff --git a/src/mistcommand/helpers/login.py b/src/mistcommand/helpers/login.py index <HASH>..<HASH> 100644 --- a/src/mistcommand/helpers/login.py +++ b/src/mistcommand/helpers/login.py @@ -51,7 +51,7 @@ def parse_config(renew): if not os.path.isfile(config_path) or not api_token or renew: if client: ...
do not prompt user for a y/n when renewing api token
py
diff --git a/graphs/analysis.py b/graphs/analysis.py index <HASH>..<HASH> 100644 --- a/graphs/analysis.py +++ b/graphs/analysis.py @@ -36,7 +36,7 @@ class AnalysisMixin(object): coloring = np.zeros(n, dtype=int) for i, nbrs in enumerate(self.adj_list()): nbr_colors = set(coloring[nbrs]) - for c in...
Python <I> doesn't support the start= kwarg
py
diff --git a/tests/test_decorators.py b/tests/test_decorators.py index <HASH>..<HASH> 100644 --- a/tests/test_decorators.py +++ b/tests/test_decorators.py @@ -341,6 +341,16 @@ def test_marshmallow_support(): assert hug.test.get(api, 'test_marshmallow_input', item='bacon').data == {'errors': {'item': {'type': 'in...
Add test to define how marshmallow style fields should work
py
diff --git a/notifiers/providers/__init__.py b/notifiers/providers/__init__.py index <HASH>..<HASH> 100644 --- a/notifiers/providers/__init__.py +++ b/notifiers/providers/__init__.py @@ -1,7 +1,6 @@ from . import email from . import gitter from . import gmail -from . import hipchat from . import join from . import...
removed hipchat from all_providers
py
diff --git a/fedmsg_meta_fedora_infrastructure/tests/askbot.py b/fedmsg_meta_fedora_infrastructure/tests/askbot.py index <HASH>..<HASH> 100644 --- a/fedmsg_meta_fedora_infrastructure/tests/askbot.py +++ b/fedmsg_meta_fedora_infrastructure/tests/askbot.py @@ -296,10 +296,9 @@ class TestAskbotUpdatedQuestion(Base): ...
Fix old test that I missed a long time ago.
py
diff --git a/python3/HTSeq/scripts/count.py b/python3/HTSeq/scripts/count.py index <HASH>..<HASH> 100644 --- a/python3/HTSeq/scripts/count.py +++ b/python3/HTSeq/scripts/count.py @@ -44,7 +44,7 @@ def count_reads_in_features(sam_filenames, gff_filename, for read in r: if read is not None: ...
Fix typo in htseq-count
py
diff --git a/src/ofxstatement/tests/test_danske.py b/src/ofxstatement/tests/test_danske.py index <HASH>..<HASH> 100644 --- a/src/ofxstatement/tests/test_danske.py +++ b/src/ofxstatement/tests/test_danske.py @@ -36,8 +36,9 @@ def doctest_DanskeCsvStatementParser(): 'Paslaugų ir komisinių pajamos už gaunamus tar...
Don’t compare result of hash() against absolute value. hash() is not guaranteed to give constant results, and actually it has been changing between different versions of Python. Therefore, id attribute (which is generated via hash()) shouldn’t be compared to the absolute value, but to the value generated by the expect...
py
diff --git a/pvlib/clearsky.py b/pvlib/clearsky.py index <HASH>..<HASH> 100644 --- a/pvlib/clearsky.py +++ b/pvlib/clearsky.py @@ -114,8 +114,10 @@ def ineichen(apparent_zenith, airmass_absolute, linke_turbidity, # reinsert tl nans ghi = cg1 * dni_extra * cos_zenith * tl / tl * np.fmax(ghi, 0) - # BncI =...
Add note clearksky Ineichen term b (#<I>) Thanks!
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -86,6 +86,11 @@ VERSION_PY = os.path.join(PACKAGENAME, 'version.py') class GWpyClean(clean): def run(self): if self.all: + # remove dist + if os.path.exists('dist'): + remove...
setup.py: clean 'dist' directory as well
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ setup(name='visidata', install_requires=[ 'python-dateutil', 'windows-curses; platform_system == "Windows"', - 'importlib-metadata >= 3.6; python_version < "3.8"', + ...
[build] ensure all versions allow entry_points(group)
py
diff --git a/salt/proxy/dummy.py b/salt/proxy/dummy.py index <HASH>..<HASH> 100644 --- a/salt/proxy/dummy.py +++ b/salt/proxy/dummy.py @@ -194,10 +194,12 @@ def upgrade(): """ "Upgrade" packages """ - pkgs = uptodate() with _loaded_state(__opts__) as state: - state["packages"] = pkgs - ...
Fix the dummy proxy pkg.upgrade tests, version was getting bumped twice
py
diff --git a/pygount/command.py b/pygount/command.py index <HASH>..<HASH> 100644 --- a/pygount/command.py +++ b/pygount/command.py @@ -106,8 +106,6 @@ def parsed_args(arguments): default_encoding = args.encoding[:first_encoding_semicolon_index] fallback_encoding = args.encoding[first_encoding_...
Cleaned up PEP8 issues and unused code.
py
diff --git a/eqcorrscan/utils/mag_calc.py b/eqcorrscan/utils/mag_calc.py index <HASH>..<HASH> 100644 --- a/eqcorrscan/utils/mag_calc.py +++ b/eqcorrscan/utils/mag_calc.py @@ -84,16 +84,14 @@ def calc_max_curv(magnitudes, plotvar=False): .. rubric:: Example - >>> from obspy.clients.fdsn import Client - >>...
Have a proper test for max curv Previous test for max curv relied on downloaded data, which appears to have changed. This updated test relies on set data with a clear expected result.
py
diff --git a/support/context_processors.py b/support/context_processors.py index <HASH>..<HASH> 100644 --- a/support/context_processors.py +++ b/support/context_processors.py @@ -3,5 +3,5 @@ from .settings import APP_NAME, COMPILE_CSS def app_name(request): return {'APP_NAME': APP_NAME} -def COMPILE_CSS(request...
maybe perhaps that should be lowercase.
py
diff --git a/pandas/core/groupby.py b/pandas/core/groupby.py index <HASH>..<HASH> 100644 --- a/pandas/core/groupby.py +++ b/pandas/core/groupby.py @@ -373,6 +373,7 @@ class GroupBy(object): name_list = [] for ping, labels in zip(self.groupings, recons_labels): + labels = _check_platform_i...
BLD: <I>-bit platform integer issue
py
diff --git a/pyoko/model.py b/pyoko/model.py index <HASH>..<HASH> 100644 --- a/pyoko/model.py +++ b/pyoko/model.py @@ -461,7 +461,8 @@ class Model(Node): if not (internal or self._pre_save_hook_called): self._pre_save_hook_called = True self.pre_save() - self._handle_uniqueness...
FIX, An update has been made to changed_fields method to get the object on time. rref #<I>
py
diff --git a/mdp.py b/mdp.py index <HASH>..<HASH> 100644 --- a/mdp.py +++ b/mdp.py @@ -405,7 +405,7 @@ class MDP(object): def computePpolicyPRpolicy(self): """Computes the transition matrix and the reward matrix for a policy. """ - pass + raise NotImplementedError("This method h...
raise NotImplementedError in methods that have no working code
py
diff --git a/master/buildbot/test/unit/test_process_builder.py b/master/buildbot/test/unit/test_process_builder.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/unit/test_process_builder.py +++ b/master/buildbot/test/unit/test_process_builder.py @@ -66,7 +66,7 @@ class TestBuilderBuildCreation(unittest.TestCas...
be order-independent when checking builds started
py
diff --git a/iacli/ia_mine.py b/iacli/ia_mine.py index <HASH>..<HASH> 100755 --- a/iacli/ia_mine.py +++ b/iacli/ia_mine.py @@ -1,14 +1,14 @@ """Concurrently download metadata for items on Archive.org. usage: - ia mine [--cache | --output=<output.json>] [--workers] <itemlist.txt> + ia mine [--cache | --output=...
fix ia mine docopt parsing issue. Fixes #<I>
py