diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/netpyne/analysis/spikes.py b/netpyne/analysis/spikes.py index <HASH>..<HASH> 100644 --- a/netpyne/analysis/spikes.py +++ b/netpyne/analysis/spikes.py @@ -854,7 +854,7 @@ def plotSpikeHist(include=['eachPop', 'allCells'], timeRange=None, binSize=5, ov histoData.append(histoCount) - if is...
Fixed bug in plotSpikeHist
py
diff --git a/coconut/constants.py b/coconut/constants.py index <HASH>..<HASH> 100644 --- a/coconut/constants.py +++ b/coconut/constants.py @@ -176,7 +176,7 @@ min_versions = { # we can't upgrade this; it breaks on Python 2 "ipython": (5, 4), # don't upgrade these; they break on master - "sphinx": (1, ...
Bump sphinx to <I>
py
diff --git a/doc/conf.py b/doc/conf.py index <HASH>..<HASH> 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -99,7 +99,7 @@ pygments_style = 'sphinx' # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = 'default' +html_theme = 'alabaster' # Theme opti...
Retrying alabaster theme.
py
diff --git a/src/rez/pip.py b/src/rez/pip.py index <HASH>..<HASH> 100644 --- a/src/rez/pip.py +++ b/src/rez/pip.py @@ -1,7 +1,7 @@ from __future__ import print_function from rez.packages_ import get_latest_package -from rez.vendor.version.version import Version +from rez.vendor.version.version import Version, Versi...
feat(rez-pip): add pip version check to ensure pep<I> compatibility rez will now enforce wheel distribution based installations. A version of pip >= <I> is required in order to do so. Add pip version check to the callbacks of rez-pip command to validate that an up to date pip is being used. Relates: <URL>
py
diff --git a/valohai_yaml/objs/pipelines/node.py b/valohai_yaml/objs/pipelines/node.py index <HASH>..<HASH> 100644 --- a/valohai_yaml/objs/pipelines/node.py +++ b/valohai_yaml/objs/pipelines/node.py @@ -27,7 +27,7 @@ class Node(Item): actions: Optional[List[NodeAction]] = None ) -> None: self.nam...
Node: accept NodeActions in dict form too
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -12,13 +12,13 @@ setup( author_email='william@grimapps.com', url='https://github.com/grimwm/py-dictobj', classifiers = [ - 'Development Status :: 4 - Beta', + 'Development Status :: 5 - Production/Stable', ...
Correct the description and update the dev status to stable.
py
diff --git a/test_autoflake.py b/test_autoflake.py index <HASH>..<HASH> 100755 --- a/test_autoflake.py +++ b/test_autoflake.py @@ -48,8 +48,6 @@ class UnitTests(unittest.TestCase): def test_standard_package_names(self): self.assertIn('os', list(autoflake.standard_package_names())) self.assertIn('...
Remove "grp" and "atexit" check
py
diff --git a/ouimeaux/subscribe.py b/ouimeaux/subscribe.py index <HASH>..<HASH> 100644 --- a/ouimeaux/subscribe.py +++ b/ouimeaux/subscribe.py @@ -43,9 +43,10 @@ class SubscriptionRegistry(object): response = requests.request(method="SUBSCRIBE", url=url, headers=headers) ...
Refs #<I>: Be more defensive getting properties from response headers, and provide defaults.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -2,17 +2,15 @@ from distutils.core import setup from coils import __version__ setup( - name = 'coils', - version = __version__, - description = 'A small library of generic codes written in 100% pure ...
Fix styling of setup.py to Google style guide.
py
diff --git a/pyiso.py b/pyiso.py index <HASH>..<HASH> 100644 --- a/pyiso.py +++ b/pyiso.py @@ -124,7 +124,7 @@ class VolumeDescriptorDate(object): self.second = local.tm_sec self.hundredthsofsecond = 0 self.gmtoffset = gmtoffset_from_tm(tm, local) - self.date_str = time...
Fix silly bug with recording the volume descriptor date.
py
diff --git a/bulbs/instant_articles/management/commands/migrate_ia_featuretype.py b/bulbs/instant_articles/management/commands/migrate_ia_featuretype.py index <HASH>..<HASH> 100644 --- a/bulbs/instant_articles/management/commands/migrate_ia_featuretype.py +++ b/bulbs/instant_articles/management/commands/migrate_ia_feat...
only do it if not already instant
py
diff --git a/msm/mycroft_skills_manager.py b/msm/mycroft_skills_manager.py index <HASH>..<HASH> 100644 --- a/msm/mycroft_skills_manager.py +++ b/msm/mycroft_skills_manager.py @@ -155,7 +155,8 @@ class MycroftSkillsManager(object): origin = 'cli' else: origin = ...
Fix curate skills list Curate would always fail since the build_skill_entry api had changed.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100755 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages setupopts = dict( name="automate", - version='0.9.4-dev0', + version='0.9.3-dev0', packages=find_packages('src'), package_dir={'': 'src'}, i...
Fix version (we did not yet release <I>)
py
diff --git a/spambl.py b/spambl.py index <HASH>..<HASH> 100644 --- a/spambl.py +++ b/spambl.py @@ -279,6 +279,8 @@ class GoogleSafeBrowsing(object): :returns: a response object :raises UnathorizedAPIKeyError: when the API key for this instance is not valid + :raises HTTPError: if the ...
Make _query_once reraise HTTPError when necessary If the status_code of response for which a HTTPError was raised was different from <I>, the error is reraised
py
diff --git a/ship/validator.py b/ship/validator.py index <HASH>..<HASH> 100644 --- a/ship/validator.py +++ b/ship/validator.py @@ -76,13 +76,15 @@ class CompiledPackageExistsValidationRule: if project.is_multimodule(): if module.get_type() == "webapp": - file = project.get_directo...
Better validation of WAR/JAR
py
diff --git a/livetests.py b/livetests.py index <HASH>..<HASH> 100755 --- a/livetests.py +++ b/livetests.py @@ -52,7 +52,7 @@ def _initialize(api): @pytest.fixture( - scope="module", params=["2.16.23", "3.0.13", "3.1.8", "3.2.3", "3.3.0-rc5"] + scope="module", params=["2.16.23", "3.0.13", "3.1.8", "3.2.3", "3...
Set the <I>-rc7 version in livetests
py
diff --git a/sphinx-prompt/__init__.py b/sphinx-prompt/__init__.py index <HASH>..<HASH> 100644 --- a/sphinx-prompt/__init__.py +++ b/sphinx-prompt/__init__.py @@ -129,7 +129,7 @@ class PromptDirective(rst.Directive): prompt_class, highlight("\n".join(statement), Lexer(), HtmlFo...
Fix incorrect line continuation handling for Batch and PowerShell
py
diff --git a/environ/environ.py b/environ/environ.py index <HASH>..<HASH> 100644 --- a/environ/environ.py +++ b/environ/environ.py @@ -96,7 +96,7 @@ class Env(object): DB_SCHEMES['postgresql'] = 'django.db.backends.postgresql' DB_SCHEMES['psql'] = 'django.db.backends.postgresql' DB_SCHEMES['p...
Added DISABLE_SERVICE_SIDE_CURSORS to DB_BASE_OPTIONS
py
diff --git a/atws/helpers.py b/atws/helpers.py index <HASH>..<HASH> 100644 --- a/atws/helpers.py +++ b/atws/helpers.py @@ -10,11 +10,9 @@ from constants import (AUTOTASK_API_QUERY_DATEFORMAT, def has_udfs(entity): try: - entity.UserDefinedFields.UserDefinedField[0] + return ...
refactored has_udfs so it's more obvious
py
diff --git a/cleverhans/attacks.py b/cleverhans/attacks.py index <HASH>..<HASH> 100644 --- a/cleverhans/attacks.py +++ b/cleverhans/attacks.py @@ -2431,7 +2431,7 @@ def arg_type(arg_names, kwargs): just its hashability and one-to-one mapping between graph structures. """ assert isinstance(arg_names, tuple) -...
Fix bug: graphs never cache (#<I>)
py
diff --git a/aiozk/recipes/base_watcher.py b/aiozk/recipes/base_watcher.py index <HASH>..<HASH> 100644 --- a/aiozk/recipes/base_watcher.py +++ b/aiozk/recipes/base_watcher.py @@ -32,7 +32,7 @@ class BaseWatcher(Recipe): async def watch_loop(self, path): while self.callbacks[path]: - wait = se...
Return new data in watches. Fixes #3
py
diff --git a/httprunner/plugins/uploader/__init__.py b/httprunner/plugins/uploader/__init__.py index <HASH>..<HASH> 100644 --- a/httprunner/plugins/uploader/__init__.py +++ b/httprunner/plugins/uploader/__init__.py @@ -21,6 +21,25 @@ Then you can write upload test script as below: validate: - eq: ...
docs: add upload script example for old way
py
diff --git a/glue/pipeline.py b/glue/pipeline.py index <HASH>..<HASH> 100644 --- a/glue/pipeline.py +++ b/glue/pipeline.py @@ -1188,10 +1188,7 @@ class AnalysisNode(CondorDAGNode): self.__calibration = None self.__calibration_cache = None self.__LHO2k = re.compile(r'H2') - try: - self.__user_tag ...
PR <I> redux: minor improvement on Steve's fix. It is completely equivalent, but shorter and a bit faster, as it uses dict.get().
py
diff --git a/spyderlib/widgets/editor.py b/spyderlib/widgets/editor.py index <HASH>..<HASH> 100644 --- a/spyderlib/widgets/editor.py +++ b/spyderlib/widgets/editor.py @@ -1656,7 +1656,7 @@ class EditorStack(QWidget): answer = QMessageBox.question(self, self.title, ...
Editor: Fix spelling error Update Issue <I> Status: Fixed -
py
diff --git a/tests/collectors/test_usgs.py b/tests/collectors/test_usgs.py index <HASH>..<HASH> 100644 --- a/tests/collectors/test_usgs.py +++ b/tests/collectors/test_usgs.py @@ -43,8 +43,10 @@ class USGSTest(unittest.TestCase): self.c.filter(state="ri") collection = self.c.collect() - # Retu...
Fix USGS test_by_state
py
diff --git a/dedupe/api.py b/dedupe/api.py index <HASH>..<HASH> 100644 --- a/dedupe/api.py +++ b/dedupe/api.py @@ -172,8 +172,9 @@ class DedupeMatching(Matching) : def match(self, data, threshold = 0.5) : # pragma : no cover """ Identifies records that all refer to the same entity, returns tuples...
Added match method documentation to api.py
py
diff --git a/wandb/data_types.py b/wandb/data_types.py index <HASH>..<HASH> 100644 --- a/wandb/data_types.py +++ b/wandb/data_types.py @@ -1166,7 +1166,7 @@ class ImageMask(Media): PILImage = util.get_module( "PIL.Image", required='wandb.Image needs the PIL package. To get it, run "pip install p...
[Bugfix] Binary image masks (#<I>)
py
diff --git a/suds/sudsobject.py b/suds/sudsobject.py index <HASH>..<HASH> 100644 --- a/suds/sudsobject.py +++ b/suds/sudsobject.py @@ -59,10 +59,11 @@ class Factory: @classmethod def subclass(cls, name, super): name = name.encode('utf-8') - myclass = cls.cache.get(name) + key = "%s.%s" ...
update cache key in Factory to include class name
py
diff --git a/tests_tf/test_mnist_blackbox.py b/tests_tf/test_mnist_blackbox.py index <HASH>..<HASH> 100644 --- a/tests_tf/test_mnist_blackbox.py +++ b/tests_tf/test_mnist_blackbox.py @@ -8,15 +8,15 @@ class TestMNISTBlackboxF(unittest.TestCase): # Run the MNIST tutorial on a dataset of reduced size, reduced nu...
change pb size for blackbox test
py
diff --git a/bigchaindb/backend/mongodb/query.py b/bigchaindb/backend/mongodb/query.py index <HASH>..<HASH> 100644 --- a/bigchaindb/backend/mongodb/query.py +++ b/bigchaindb/backend/mongodb/query.py @@ -133,8 +133,9 @@ def write_vote(conn, vote): @register_query(MongoDBConnection) def get_genesis_block(conn): - ...
fixed mongodb queries to return genesis block and last voted block
py
diff --git a/librarian/library.py b/librarian/library.py index <HASH>..<HASH> 100644 --- a/librarian/library.py +++ b/librarian/library.py @@ -16,8 +16,8 @@ class Library(object): """ def __init__(self, dbname, cachelimit=100): self.dbname = dbname - self.save_events = [] - self.load_ev...
Changed Library.{load,save}_events to Library.{load,save}_chain to avoid confusion
py
diff --git a/salt/utils/http.py b/salt/utils/http.py index <HASH>..<HASH> 100644 --- a/salt/utils/http.py +++ b/salt/utils/http.py @@ -182,13 +182,13 @@ def query(url, log.debug('Requesting URL {0} using {1} method'.format(log_url, method)) if method == 'POST': # Make sure no secret fields show up in...
Fix error introduced in #<I>
py
diff --git a/pyontutils/graphml_to_ttl.py b/pyontutils/graphml_to_ttl.py index <HASH>..<HASH> 100755 --- a/pyontutils/graphml_to_ttl.py +++ b/pyontutils/graphml_to_ttl.py @@ -233,9 +233,6 @@ def main(): ns = list(w.nodes()) es = list(w.edges()) - embed() - - node_dict = {} for node in nodes: #...
graphml to ttl removed embed
py
diff --git a/app/drivers/openmz.py b/app/drivers/openmz.py index <HASH>..<HASH> 100644 --- a/app/drivers/openmz.py +++ b/app/drivers/openmz.py @@ -37,8 +37,15 @@ class TSVQuantDriver(BaseDriver): consensus_quants = readers.quant_generator(self.quantfn) return lookups.create_quant_lookup(spectra, conse...
Created content generator calling code for tsv mzid with quant
py
diff --git a/django_choice_object/choice.py b/django_choice_object/choice.py index <HASH>..<HASH> 100644 --- a/django_choice_object/choice.py +++ b/django_choice_object/choice.py @@ -23,6 +23,7 @@ class ChoiceMetaclass(type): if name.endswith('_GROUP') and isinstance(value, set): value = s...
Forgotten continue statement. grrrr
py
diff --git a/sockjs/cyclone/basehandler.py b/sockjs/cyclone/basehandler.py index <HASH>..<HASH> 100644 --- a/sockjs/cyclone/basehandler.py +++ b/sockjs/cyclone/basehandler.py @@ -32,11 +32,11 @@ class BaseHandler(RequestHandler): self.server.stats.connectionClosed() self.logged = False - ...
Add chunk parameter of overloaded finish method Problem example: RequestHandler calls write_error() which in turn calls self.finish() with a chunk parameter, leading to the uncaught exception "TypeError: finish() takes exactly 1 argument (2 given)"
py
diff --git a/manage.py b/manage.py index <HASH>..<HASH> 100644 --- a/manage.py +++ b/manage.py @@ -197,7 +197,7 @@ def start_daemon(): # Get the waiting jobs (STATUS_WAITING) ordered by the age-in-minutes/priority DESC # Jobs with a priority of `1` will sort above equally-old jobs with...
Queue running was in reverse order
py
diff --git a/bibliopixel/led/base.py b/bibliopixel/led/base.py index <HASH>..<HASH> 100644 --- a/bibliopixel/led/base.py +++ b/bibliopixel/led/base.py @@ -62,14 +62,11 @@ class LEDBase(object): result.append([x, 0, 0]) return result - def doBrightness(self): - if self._waitingBrightnes...
Inline LEDBase.doBrightness.
py
diff --git a/scripts/importer/Events.py b/scripts/importer/Events.py index <HASH>..<HASH> 100644 --- a/scripts/importer/Events.py +++ b/scripts/importer/Events.py @@ -491,7 +491,7 @@ def add_event(tasks, args, events, name, log, load=True, delete=True): # Create new event new_event = EVENT(newname) new_e...
MAINT: soften logging output when creating new (but empty) event.
py
diff --git a/blueqat/backends/numpy_backend.py b/blueqat/backends/numpy_backend.py index <HASH>..<HASH> 100644 --- a/blueqat/backends/numpy_backend.py +++ b/blueqat/backends/numpy_backend.py @@ -413,6 +413,25 @@ class NumPyBackend(Backend): ctx.qubits_buf = newq return ctx + def gate_mat1(self, g...
ENH: Support mat1 gate for numpy backend
py
diff --git a/sphinxarg/ext.py b/sphinxarg/ext.py index <HASH>..<HASH> 100644 --- a/sphinxarg/ext.py +++ b/sphinxarg/ext.py @@ -4,10 +4,9 @@ import os from docutils import nodes from docutils.statemachine import StringList from docutils.parsers.rst.directives import flag, unchanged -from docutils.parsers.rst import P...
Import Directive from docutils.parsers.rst Instead of sphinx.util.compat, which is deprecated, causes problems with rc releases of docutils, and also just imports Directive from docutils.parsers.rst Closes <URL>
py
diff --git a/override_settings/__init__.py b/override_settings/__init__.py index <HASH>..<HASH> 100644 --- a/override_settings/__init__.py +++ b/override_settings/__init__.py @@ -53,3 +53,21 @@ class override_settings(object): def disable(self): settings._wrapped = self.wrapped + +def with_apps(*apps): ...
Add "with_apps" and "without_apps" decorators
py
diff --git a/splinter/driver/webdriver/chrome.py b/splinter/driver/webdriver/chrome.py index <HASH>..<HASH> 100644 --- a/splinter/driver/webdriver/chrome.py +++ b/splinter/driver/webdriver/chrome.py @@ -1,6 +1,5 @@ # -*- coding: utf-8 -*- -from selenium.webdriver.chrome.webdriver import WebDriver as chrome_driver - +f...
using the new way for import a chrome driver
py
diff --git a/icekit/publishing/models.py b/icekit/publishing/models.py index <HASH>..<HASH> 100644 --- a/icekit/publishing/models.py +++ b/icekit/publishing/models.py @@ -418,9 +418,7 @@ class PublishingModel(models.Model): def clone(src_manager): through_qs = src_manager.through.objects \ - ...
Remove unsafe select-related performance improvement, re #<I> Do not assume that all M2M through tables with a publishable item at one end or the other have a publishable target item. This unfortunately reduces performance, but avoids crashing errors.
py
diff --git a/mbuild/plugins/trajectory.py b/mbuild/plugins/trajectory.py index <HASH>..<HASH> 100755 --- a/mbuild/plugins/trajectory.py +++ b/mbuild/plugins/trajectory.py @@ -39,7 +39,11 @@ class Trajectory(md.Trajectory): box = compound.boundingbox() - return cls(xyz, t, unitcell_lengths=box.length...
again, make sure that a trajectory has the unit cell set
py
diff --git a/src/benchsuite/rest/apiv1/__init__.py b/src/benchsuite/rest/apiv1/__init__.py index <HASH>..<HASH> 100644 --- a/src/benchsuite/rest/apiv1/__init__.py +++ b/src/benchsuite/rest/apiv1/__init__.py @@ -22,7 +22,7 @@ from flask import Blueprint from flask_restplus import Api, fields, Resource from benchsuit...
added a default error handler that send back to the client the error message
py
diff --git a/pyrax/fakes.py b/pyrax/fakes.py index <HASH>..<HASH> 100644 --- a/pyrax/fakes.py +++ b/pyrax/fakes.py @@ -619,7 +619,7 @@ class FakeIdentity(BaseIdentity): self._default_region = random.choice(("DFW", "ORD")) self.services = {"fake": FakeIdentityService(self)} - def authenticate(self...
Add backwards compatibility param to fake method
py
diff --git a/netpyne/cell.py b/netpyne/cell.py index <HASH>..<HASH> 100644 --- a/netpyne/cell.py +++ b/netpyne/cell.py @@ -189,9 +189,11 @@ class Cell (object): for ptrItem,secLoc in zip(ptr, secLocs): sim.simData[key]['cell_'+str(self.gid)][secLoc] = h.Vect...
debugging issue with plotTraces
py
diff --git a/src/livestreamer/plugins/tvcatchup.py b/src/livestreamer/plugins/tvcatchup.py index <HASH>..<HASH> 100644 --- a/src/livestreamer/plugins/tvcatchup.py +++ b/src/livestreamer/plugins/tvcatchup.py @@ -25,7 +25,7 @@ class TVCatchup(Plugin): stream_url = match.groupdict()["stream_url"] ...
tvcatchup now returns a variant playlist
py
diff --git a/salt/grains/core.py b/salt/grains/core.py index <HASH>..<HASH> 100644 --- a/salt/grains/core.py +++ b/salt/grains/core.py @@ -1018,6 +1018,8 @@ def os_data(): # architecture. if grains.get('os_family') == 'Debian': osarch = __salt__['cmd.run']('dpkg --print-architecture').strip() + el...
Query rpm to determine arch on Fedora. Fixes #<I>
py
diff --git a/gns3server/compute/qemu/qemu_vm.py b/gns3server/compute/qemu/qemu_vm.py index <HASH>..<HASH> 100644 --- a/gns3server/compute/qemu/qemu_vm.py +++ b/gns3server/compute/qemu/qemu_vm.py @@ -1640,7 +1640,7 @@ class QemuVM(BaseNode): if interface == "sata": # special case, sata co...
Fix single quote is not closed. Fixes #<I>
py
diff --git a/slave/buildslave/test/unit/test_scripts_create_slave.py b/slave/buildslave/test/unit/test_scripts_create_slave.py index <HASH>..<HASH> 100644 --- a/slave/buildslave/test/unit/test_scripts_create_slave.py +++ b/slave/buildslave/test/unit/test_scripts_create_slave.py @@ -639,6 +639,22 @@ class TestCreateSlav...
Add test for handling special characters in all options fields Currently fails.
py
diff --git a/switchyard/lib/packet/packet.py b/switchyard/lib/packet/packet.py index <HASH>..<HASH> 100644 --- a/switchyard/lib/packet/packet.py +++ b/switchyard/lib/packet/packet.py @@ -176,10 +176,14 @@ class Packet(object): raise TypeError("Indexes must be integers (slices are not supported)") ...
Allow negative indexing for packet headers within a packet object
py
diff --git a/source/rafcon/gui/mygaphas/view.py b/source/rafcon/gui/mygaphas/view.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/mygaphas/view.py +++ b/source/rafcon/gui/mygaphas/view.py @@ -27,6 +27,7 @@ class ExtendedGtkView(GtkView, Observer): hovered_handle = None _selection = None + _widget_...
feat(view): Keep state machine position fixed within window This commit allows to keep the position of a state machine fixed within the window, also when size of left sidebar changes. Fixes #<I>
py
diff --git a/tests/unit/test_datasets_downloader.py b/tests/unit/test_datasets_downloader.py index <HASH>..<HASH> 100644 --- a/tests/unit/test_datasets_downloader.py +++ b/tests/unit/test_datasets_downloader.py @@ -142,5 +142,5 @@ class TestDownloader(TestCase): downloader.url = Mock(return_value="http://w...
Use async in downloader test
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ from Cython.Build import cythonize DOCLINES = __doc__.split("\n") ######################## -VERSION = "0.4.1" +VERSION = "0.4.2" ISRELEASED = False __version__ = VERSION ########################
Updated setup.py to <I>
py
diff --git a/test/test_basics.py b/test/test_basics.py index <HASH>..<HASH> 100644 --- a/test/test_basics.py +++ b/test/test_basics.py @@ -49,7 +49,7 @@ def test_parallel(verbose=False): np.random.seed(0) n = 5 - nthreads = 8 + nthreads = pypolyagamma.get_omp_num_threads() v3 = np.zeros(n) a...
set test_parallel to use machine num threads
py
diff --git a/tests/test_auth.py b/tests/test_auth.py index <HASH>..<HASH> 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -60,7 +60,8 @@ def automated_oauth_approval(url): br["Passwd"] = password response1 = br.submit() br.select_form(nr=0) - response2 = br.submit() + req2 = br.click(ty...
think this fixes the oauth tests?
py
diff --git a/pycbc/psd/read.py b/pycbc/psd/read.py index <HASH>..<HASH> 100644 --- a/pycbc/psd/read.py +++ b/pycbc/psd/read.py @@ -34,5 +34,5 @@ def from_txt(filename, length, delta_f, low_freq_cutoff): for k in xrange(kmin, length): psd[k] = float(psd_interp(k * delta_f)) - return FrequencySeries(ps...
fixed read psd so it works in a gpu context
py
diff --git a/examples/server/tests/test_forms.py b/examples/server/tests/test_forms.py index <HASH>..<HASH> 100644 --- a/examples/server/tests/test_forms.py +++ b/examples/server/tests/test_forms.py @@ -22,6 +22,7 @@ class SubForm1(NgModelFormMixin, NgModelForm): class Meta: model = SubModel widg...
Added fields='__all__' to Form Meta class to be prepared for Django-<I>
py
diff --git a/ella/newman/context_processors.py b/ella/newman/context_processors.py index <HASH>..<HASH> 100644 --- a/ella/newman/context_processors.py +++ b/ella/newman/context_processors.py @@ -6,8 +6,10 @@ def newman_media(request): settings, if not available, use MEDIA_URL + 'newman_media/' combination """...
Added DEBUG to context.
py
diff --git a/flask_googleauth.py b/flask_googleauth.py index <HASH>..<HASH> 100644 --- a/flask_googleauth.py +++ b/flask_googleauth.py @@ -267,7 +267,12 @@ class GoogleAuth(OpenIdMixin): def decorated(*args, **kwargs): if not self._check_auth(): blueprint = current_app.extensions[...
Don't force authentication for googleauth requests otherwise we end up in a loop.
py
diff --git a/tests/test_disque.py b/tests/test_disque.py index <HASH>..<HASH> 100644 --- a/tests/test_disque.py +++ b/tests/test_disque.py @@ -1,4 +1,9 @@ -"""Unit Tests for the pydisque module.""" +""" +Unit Tests for the pydisque module. + +Currently, most of these tests require a fresh instance of +Disque to be vali...
Bug Hunt. I tried adding some unit tests for enqueue and dequeue, and am finding a few bugs in the unit tests (mostly around jscan and qpeek). I'll keep looking into it, but until then, adding this.
py
diff --git a/docs/source/conf.py b/docs/source/conf.py index <HASH>..<HASH> 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -38,7 +38,7 @@ extensions = [ 'sphinx.ext.napoleon', 'sphinx.ext.intersphinx', 'sphinx.ext.githubpages', - 'nbsphinx', +# 'nbsphinx', # 'sphinx_autodoc_typehi...
rm nbsphinx for now (include here + in requirements when needed)
py
diff --git a/cherrypy/lib/sessions.py b/cherrypy/lib/sessions.py index <HASH>..<HASH> 100644 --- a/cherrypy/lib/sessions.py +++ b/cherrypy/lib/sessions.py @@ -398,15 +398,25 @@ class SessionWrapper: # The actual hook functions def save(): - # Save the session either before or after the body is returned - if n...
All tests now pass with the new tool API (but xmlrpc hangs?).
py
diff --git a/norduniclient/contextmanager.py b/norduniclient/contextmanager.py index <HASH>..<HASH> 100644 --- a/norduniclient/contextmanager.py +++ b/norduniclient/contextmanager.py @@ -31,7 +31,10 @@ class Neo4jDBSessionManager: except Exception as e: raise e finally: - sessi...
Adding try except to session.close
py
diff --git a/discord/ext/commands/cog.py b/discord/ext/commands/cog.py index <HASH>..<HASH> 100644 --- a/discord/ext/commands/cog.py +++ b/discord/ext/commands/cog.py @@ -269,7 +269,7 @@ class Cog(metaclass=CogMeta): name=cls.__cog_group_name__, description=cls.__cog_group_description_...
[commands] Properly set default guilds for group to None instead of []
py
diff --git a/unpickle_test.py b/unpickle_test.py index <HASH>..<HASH> 100644 --- a/unpickle_test.py +++ b/unpickle_test.py @@ -187,7 +187,7 @@ class TestUnpickleRaw(unittest.TestCase): def test__construct_simple_trie(self): - """ + r""" trie for set {he, her, his, him, it} #0 ...
Fix deprecation warning due to invalid escape sequences.
py
diff --git a/lib/elements/bfe_server_info.py b/lib/elements/bfe_server_info.py index <HASH>..<HASH> 100644 --- a/lib/elements/bfe_server_info.py +++ b/lib/elements/bfe_server_info.py @@ -20,7 +20,7 @@ """ __revision__ = "$Id$" -from invenio.config import accessurl, CFG_SITE_ADMIN_EMAIL, CFG_SITE_LANG, CFG_SITE_NAME...
Updated codebase to use CFG_SITE_SUPPORT_EMAIL instead of supportemail everywhere. Updated some outdated page() etc docstrings. Other lowercase legacy variable updates to follow.
py
diff --git a/panels/_version.py b/panels/_version.py index <HASH>..<HASH> 100644 --- a/panels/_version.py +++ b/panels/_version.py @@ -1,2 +1,2 @@ # Versions compliant with PEP 440 https://www.python.org/dev/peps/pep-0440 -__version__ = "0.0.51" +__version__ = "0.0.52"
Update version number to <I>
py
diff --git a/unyt/unit_symbols.py b/unyt/unit_symbols.py index <HASH>..<HASH> 100644 --- a/unyt/unit_symbols.py +++ b/unyt/unit_symbols.py @@ -186,8 +186,8 @@ furlong = quan(660, "ft") yard = yd = quan(1, "yd") #: pound lb = pound = quan(1.0, "lb") -#: pound-foot -lfb = pound_foot = quan(1.0, "lbf") +#: pound-force ...
lbf is pound-force (force of one pound under earth gravity), not pound-foot
py
diff --git a/consul/base.py b/consul/base.py index <HASH>..<HASH> 100644 --- a/consul/base.py +++ b/consul/base.py @@ -296,7 +296,11 @@ class Consul(object): """ Returns all the members that this agent currently sees. This may vary by agent, use the nodes api of Catalog to retriev...
document the wan param for agent.members
py
diff --git a/glances/processes.py b/glances/processes.py index <HASH>..<HASH> 100644 --- a/glances/processes.py +++ b/glances/processes.py @@ -235,10 +235,13 @@ class GlancesProcesses(object): 'memory_info', 'memory_percent', 'name', 'nice', 'pid', ...
gids is not available on Windows
py
diff --git a/blockstack/lib/operations/namespacereveal.py b/blockstack/lib/operations/namespacereveal.py index <HASH>..<HASH> 100644 --- a/blockstack/lib/operations/namespacereveal.py +++ b/blockstack/lib/operations/namespacereveal.py @@ -166,6 +166,7 @@ def check( state_engine, nameop, block_id, checked_ops ): if...
return false on mismatched sender (backport from master)
py
diff --git a/push_notifications/admin.py b/push_notifications/admin.py index <HASH>..<HASH> 100644 --- a/push_notifications/admin.py +++ b/push_notifications/admin.py @@ -1,5 +1,6 @@ from django.apps import apps from django.contrib import admin, messages +from django.utils.encoding import force_text from django.util...
WebPushError does not have .message, use force_text instead. (#<I>)
py
diff --git a/tests/unit/beacons/test_watchdog.py b/tests/unit/beacons/test_watchdog.py index <HASH>..<HASH> 100644 --- a/tests/unit/beacons/test_watchdog.py +++ b/tests/unit/beacons/test_watchdog.py @@ -162,6 +162,10 @@ class IWatchdogBeaconTestCase(TestCase, LoaderModuleMockMixin): self.assertEqual(ret[0]["pa...
Skip test on FreeBSD as there's limited inotify/watchdog support on it
py
diff --git a/wandb/apis/public.py b/wandb/apis/public.py index <HASH>..<HASH> 100644 --- a/wandb/apis/public.py +++ b/wandb/apis/public.py @@ -2399,7 +2399,9 @@ class RunArtifacts(Paginator): self.client, self.run.entity, self.run.project, - r["node"]["d...
Fixes Artifact Construction from Public Runs (#<I>) * init * better fix
py
diff --git a/satpy/readers/utils.py b/satpy/readers/utils.py index <HASH>..<HASH> 100644 --- a/satpy/readers/utils.py +++ b/satpy/readers/utils.py @@ -319,10 +319,10 @@ def apply_earthsun_distance_correction(reflectance, utc_date=None): from pyorbital.astronomy import sun_earth_distance_correction if utc_date...
Modify way of accessing attributes in the Sun-Earth distance correction.
py
diff --git a/amazon/api.py b/amazon/api.py index <HASH>..<HASH> 100644 --- a/amazon/api.py +++ b/amazon/api.py @@ -1244,6 +1244,15 @@ class AmazonProduct(LXMLWrapper): """ return self._safe_get_element_text('ItemAttributes.ProductGroup') + @property + def product_type_name(self): + """P...
Add support for product type name property parsing
py
diff --git a/pythonforandroid/recipes/python2/__init__.py b/pythonforandroid/recipes/python2/__init__.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/recipes/python2/__init__.py +++ b/pythonforandroid/recipes/python2/__init__.py @@ -56,6 +56,11 @@ class Python2Recipe(GuestPythonRecipe): def set_libs_flags(...
Make python2 use our libffi library in case that is present in our requirements This is only necessary for python2 because in python3 the configure option that we use in python2 has been removed
py
diff --git a/rawdisk/plugins/filesystems/ntfs/mft.py b/rawdisk/plugins/filesystems/ntfs/mft.py index <HASH>..<HASH> 100644 --- a/rawdisk/plugins/filesystems/ntfs/mft.py +++ b/rawdisk/plugins/filesystems/ntfs/mft.py @@ -25,6 +25,19 @@ from mft_entry import MftEntry +ENTRY_MFT = 0 +ENTRY_MFT_MIRROR = 1 +ENTRY_LOGFIL...
Added definitions for mft system files
py
diff --git a/workbench/server/data_store.py b/workbench/server/data_store.py index <HASH>..<HASH> 100644 --- a/workbench/server/data_store.py +++ b/workbench/server/data_store.py @@ -290,6 +290,10 @@ class DataStore(object): results['md5'] = md5 results['__time_stamp'] = datetime.datetime.utcnow() +...
if data being added to the database doesn't have a mod_time add one
py
diff --git a/salt/utils/event.py b/salt/utils/event.py index <HASH>..<HASH> 100644 --- a/salt/utils/event.py +++ b/salt/utils/event.py @@ -58,19 +58,23 @@ class SaltEvent(object): self.push.connect(self.pulluri) self.cpush = True - def get_event(self, wait=5, tag=''): + def get_event(self, wai...
Add abaility to return "full" event data
py
diff --git a/tweepy/api.py b/tweepy/api.py index <HASH>..<HASH> 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -316,8 +316,7 @@ class API(object): followers = bind_api( path = '/statuses/followers.json', parser = parse_users, - allowed_param = ['id', 'user_id', 'screen_name', 'page', 'c...
Remove auth requirement from API.followers()
py
diff --git a/test/test.py b/test/test.py index <HASH>..<HASH> 100755 --- a/test/test.py +++ b/test/test.py @@ -51,13 +51,16 @@ class TestAegea(unittest.TestCase): raise e return self.SubprocessResult(out, err, return_code) + @unittest.skipIf("GITHUB_ACTIONS" in os.environ, "suffers from rate ...
Disable CI tests for pricing commands that often hit rate limits
py
diff --git a/gwpy/segments/flag.py b/gwpy/segments/flag.py index <HASH>..<HASH> 100644 --- a/gwpy/segments/flag.py +++ b/gwpy/segments/flag.py @@ -351,7 +351,7 @@ class DataQualityFlag(object): @padding.deleter def padding(self): - self._padding = (float(0), float(0)) + self._padding = (0., 0....
Consistent notation with padding.setter
py
diff --git a/djsupervisor/management/commands/supervisor.py b/djsupervisor/management/commands/supervisor.py index <HASH>..<HASH> 100644 --- a/djsupervisor/management/commands/supervisor.py +++ b/djsupervisor/management/commands/supervisor.py @@ -38,9 +38,6 @@ except ImportError: from supervisor import supervisord, ...
Move watchdog imports so they only run for autoreload.
py
diff --git a/scripts/importer/mtasks/asiago.py b/scripts/importer/mtasks/asiago.py index <HASH>..<HASH> 100644 --- a/scripts/importer/mtasks/asiago.py +++ b/scripts/importer/mtasks/asiago.py @@ -142,12 +142,13 @@ def do_asiago_spectra(events, stubs, args, tasks, task_obj, log): name = alias ...
BUG: add unfiltered name to aliases for 'asiago_spectra'.
py
diff --git a/test/test_singularity.py b/test/test_singularity.py index <HASH>..<HASH> 100644 --- a/test/test_singularity.py +++ b/test/test_singularity.py @@ -45,10 +45,10 @@ echo 'Echo' wf = script.workflow() Base_Executor(wf).run() - @unittest.skipIf(not shutil.which('singularity') or sys.platf...
Fix linux test on singlarity for lack of authentication
py
diff --git a/confidence/models.py b/confidence/models.py index <HASH>..<HASH> 100644 --- a/confidence/models.py +++ b/confidence/models.py @@ -202,6 +202,26 @@ class Configuration(Mapping): def __dir__(self): return sorted(set(chain(super().__dir__(), self.keys()))) + def __getstate__(self): + ...
Define __gestate__ and __setstate__ to enable pickling of Configuration objects _missing attribute seems the culprit, particularly when that is set to NotConfigured (the default). As both 'magic' Missing values require the value to be an exact instance match at runtime, both these cases need special treatment.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -15,8 +15,7 @@ setup(name = "artist", 'Intended Audience :: Education', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'P...
Update Python classifiers in setup.py
py
diff --git a/fluo/db/models/models.py b/fluo/db/models/models.py index <HASH>..<HASH> 100644 --- a/fluo/db/models/models.py +++ b/fluo/db/models/models.py @@ -27,6 +27,7 @@ from django.contrib.contenttypes.models import ContentType from django.core import validators from django.core.mail import send_mail from django...
added OrderedModel.get_max_ordering()
py
diff --git a/libre/settings.py b/libre/settings.py index <HASH>..<HASH> 100644 --- a/libre/settings.py +++ b/libre/settings.py @@ -112,6 +112,8 @@ MIDDLEWARE_CLASSES = ( 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middle...
Add Django's transaction middleware
py
diff --git a/cassandra/connection.py b/cassandra/connection.py index <HASH>..<HASH> 100644 --- a/cassandra/connection.py +++ b/cassandra/connection.py @@ -125,6 +125,7 @@ class _Frame(object): NONBLOCKING = (errno.EAGAIN, errno.EWOULDBLOCK) + class ConnectionException(Exception): """ An unrecoverable er...
check for no hosts on getaddrinfo not sure how this can happen without raising something else, but socket.create_connection checks it
py
diff --git a/owslib/coverage/wcs100.py b/owslib/coverage/wcs100.py index <HASH>..<HASH> 100644 --- a/owslib/coverage/wcs100.py +++ b/owslib/coverage/wcs100.py @@ -46,7 +46,7 @@ class WebCoverageService_1_0_0(WCSBase): #serviceIdentification metadata subelem=self._capabilities.find(ns('Service')) - ...
adding type attribute to wcs service identification
py
diff --git a/gandi/cli/tests/commands/test_certificate.py b/gandi/cli/tests/commands/test_certificate.py index <HASH>..<HASH> 100644 --- a/gandi/cli/tests/commands/test_certificate.py +++ b/gandi/cli/tests/commands/test_certificate.py @@ -342,7 +342,11 @@ v0L9Vc0443fop+UbFCabF0NWM6rJ31Nlv7s3mQIA ...
Fixes certificate unittests to work without network
py
diff --git a/openquake/calculators/base.py b/openquake/calculators/base.py index <HASH>..<HASH> 100644 --- a/openquake/calculators/base.py +++ b/openquake/calculators/base.py @@ -1008,6 +1008,7 @@ class RiskCalculator(HazardCalculator): % self.oqparam.inputs['job_ini']) rlzs = ds...
Better logging [ci skip]
py
diff --git a/libsubmit/providers/local/local.py b/libsubmit/providers/local/local.py index <HASH>..<HASH> 100644 --- a/libsubmit/providers/local/local.py +++ b/libsubmit/providers/local/local.py @@ -89,6 +89,9 @@ class Local(ExecutionProvider): def __init__ (self, config, channel_script_dir=None, channel=None): ...
Adding a note about local provider defaults As requested by @yadudoc.
py
diff --git a/kotti_contactform/populate.py b/kotti_contactform/populate.py index <HASH>..<HASH> 100644 --- a/kotti_contactform/populate.py +++ b/kotti_contactform/populate.py @@ -17,6 +17,7 @@ class PublicKeySchemaNode(colander.SchemaNode): name = 'public_key' title = _(u'Public key') description = _(u'Y...
Public and private key are not required, it's possible to use the form without the captcha.
py
diff --git a/flowcraft/generator/inspect.py b/flowcraft/generator/inspect.py index <HASH>..<HASH> 100644 --- a/flowcraft/generator/inspect.py +++ b/flowcraft/generator/inspect.py @@ -1428,9 +1428,13 @@ class NextflowInspector: logger.debug("Sending initial data with run id: {}".format(run_id)) + ...
Added debug logging to inspect broadcast
py