diff
stringlengths
139
3.65k
message
stringlengths
8
627
diff_languages
stringclasses
1 value
diff --git a/betfairlightweight/resources/streamingresources.py b/betfairlightweight/resources/streamingresources.py index <HASH>..<HASH> 100644 --- a/betfairlightweight/resources/streamingresources.py +++ b/betfairlightweight/resources/streamingresources.py @@ -335,9 +335,9 @@ class CricketInningsStats: self....
Fix CricketInningsStats field names
py
diff --git a/WrightTools/data/_join.py b/WrightTools/data/_join.py index <HASH>..<HASH> 100644 --- a/WrightTools/data/_join.py +++ b/WrightTools/data/_join.py @@ -189,7 +189,7 @@ def join( if vals.dtype.kind in "fmM": vals[:] = np.nan elif vals.dtype.kind in "c": - vals[:] = np...
fixed complex nan that was missed last time
py
diff --git a/landsat/image.py b/landsat/image.py index <HASH>..<HASH> 100644 --- a/landsat/image.py +++ b/landsat/image.py @@ -270,7 +270,7 @@ class BaseProcess(VerbosityMixin): def _calculate_cloud_ice_perc(self): self.output('Calculating cloud and snow coverage from QA band', normal=True, arrow=True) ...
use get name method for BQA band
py
diff --git a/tests/basics/try-reraise2.py b/tests/basics/try-reraise2.py index <HASH>..<HASH> 100644 --- a/tests/basics/try-reraise2.py +++ b/tests/basics/try-reraise2.py @@ -4,16 +4,25 @@ def f(): raise ValueError("val", 3) except: try: + print(1) raise TypeError ...
Add "tracing" to try-reraise2.py test. It now fails.
py
diff --git a/gandi/cli/core/conf.py b/gandi/cli/core/conf.py index <HASH>..<HASH> 100644 --- a/gandi/cli/core/conf.py +++ b/gandi/cli/core/conf.py @@ -89,7 +89,7 @@ class GandiConfig(object): @classmethod def save(cls, filename, config): """ Save configuration to yaml file. """ - mode = os.O_W...
Fixes bug with configuration file not truncated upon save and becoming corrupted. Flag was missing so if we wrote data smaller than previous we had junk at the end of file.
py
diff --git a/qface/helper/qtcpp.py b/qface/helper/qtcpp.py index <HASH>..<HASH> 100644 --- a/qface/helper/qtcpp.py +++ b/qface/helper/qtcpp.py @@ -2,7 +2,10 @@ Provides helper functionality specificially for Qt C++/QML code generators """ import qface.idl.domain as domain -from jinja2 import environmentfilter +try: ...
Fix usage of deprecated 'environmentfilter' function from jinja The decorator function was renamed with jinja <I> and removed with <I>.
py
diff --git a/openstack_dashboard/api/base.py b/openstack_dashboard/api/base.py index <HASH>..<HASH> 100644 --- a/openstack_dashboard/api/base.py +++ b/openstack_dashboard/api/base.py @@ -325,7 +325,7 @@ def url_for(request, service_type, endpoint_type=None, region=None): raise exceptions.ServiceCatalogException(se...
Simplify is_service_enabled Remove service_name argument from the is_service_enabled function. The argument is unused and complicates the function's logic. Change-Id: I1ac8a<I>bd<I>ef<I>d5fec<I>a8fe0e<I>e<I>a
py
diff --git a/test/test_block_token.py b/test/test_block_token.py index <HASH>..<HASH> 100644 --- a/test/test_block_token.py +++ b/test/test_block_token.py @@ -258,8 +258,12 @@ class TestDocument(unittest.TestCase): class TestSeparator(unittest.TestCase): def test_match(self): - token = next(block_token.t...
☕️ added test for alternative Separator forms
py
diff --git a/scraper/code_gov/__init__.py b/scraper/code_gov/__init__.py index <HASH>..<HASH> 100644 --- a/scraper/code_gov/__init__.py +++ b/scraper/code_gov/__init__.py @@ -282,7 +282,7 @@ class CodeGovProject(dict): project['description'] = repository.description # TODO: Update licenses from GitH...
Fixed minor schema bug with GitHub Licenses
py
diff --git a/pyqode/core/widgets/tabs.py b/pyqode/core/widgets/tabs.py index <HASH>..<HASH> 100644 --- a/pyqode/core/widgets/tabs.py +++ b/pyqode/core/widgets/tabs.py @@ -213,7 +213,7 @@ class TabWidget(QTabWidget): self.setTabText(self.currentIndex(), code_edit._tab_name) ext = os.pat...
Fix icon update in case of first save of a new file
py
diff --git a/src/python/pants/backend/core/tasks/build_lint.py b/src/python/pants/backend/core/tasks/build_lint.py index <HASH>..<HASH> 100644 --- a/src/python/pants/backend/core/tasks/build_lint.py +++ b/src/python/pants/backend/core/tasks/build_lint.py @@ -43,6 +43,7 @@ class BuildLint(Task): self.actions.add(...
Add a note that build_lint.py is broken Testing Done: None Bugs closed: <I> Reviewed at <URL>
py
diff --git a/pymatgen/symmetry/tests/test_groups.py b/pymatgen/symmetry/tests/test_groups.py index <HASH>..<HASH> 100644 --- a/pymatgen/symmetry/tests/test_groups.py +++ b/pymatgen/symmetry/tests/test_groups.py @@ -200,6 +200,8 @@ class SpaceGroupTest(unittest.TestCase): self.assertEqual(sg.to_latex_string(), ...
Additional test for unicode spacegroups
py
diff --git a/insultgenerator/words.py b/insultgenerator/words.py index <HASH>..<HASH> 100644 --- a/insultgenerator/words.py +++ b/insultgenerator/words.py @@ -1,14 +1,20 @@ import pkg_resources import random -_insulting_adjectives = [] +_wordlists = {} + +def _load_wordlist(list_reference, filename): + global _word...
Refectoring wordlist access methods to enable additional lists
py
diff --git a/storage/utilities_test.py b/storage/utilities_test.py index <HASH>..<HASH> 100644 --- a/storage/utilities_test.py +++ b/storage/utilities_test.py @@ -6,14 +6,17 @@ import time import types import numpy +# Find parent directory to path +pardir = os.path.abspath(os.path.join(os.path.dirname(__file__), '....
Made location of test and demo data independent on where test is run from
py
diff --git a/Tangelo/tangelo/stream.py b/Tangelo/tangelo/stream.py index <HASH>..<HASH> 100644 --- a/Tangelo/tangelo/stream.py +++ b/Tangelo/tangelo/stream.py @@ -1,6 +1,4 @@ import json -import md5 -import os import traceback import cherrypy @@ -61,15 +59,8 @@ class TangeloStream(object): return result ...
Replacing manual generation of random key with use of tangelo util function.
py
diff --git a/anyconfig/api.py b/anyconfig/api.py index <HASH>..<HASH> 100644 --- a/anyconfig/api.py +++ b/anyconfig/api.py @@ -22,9 +22,10 @@ import anyconfig.template import anyconfig.utils # Import some global constants will be re-exported: -from anyconfig.mergeabledict import MS_REPLACE, MS_NO_REPLACE, \ - MS...
eliminate '\' in imports lines
py
diff --git a/master/buildbot/test/fake/latent.py b/master/buildbot/test/fake/latent.py index <HASH>..<HASH> 100644 --- a/master/buildbot/test/fake/latent.py +++ b/master/buildbot/test/fake/latent.py @@ -91,7 +91,6 @@ class LatentController(SeverWorkerConnectionMixin): def do_start_instance(self, result): ...
test: Allow start_instance() with a connected worker
py
diff --git a/jsonschema/tests/test_jsonschema_test_suite.py b/jsonschema/tests/test_jsonschema_test_suite.py index <HASH>..<HASH> 100644 --- a/jsonschema/tests/test_jsonschema_test_suite.py +++ b/jsonschema/tests/test_jsonschema_test_suite.py @@ -91,9 +91,7 @@ if sys.version_info < (3, 9): # pragma: no cover allo...
Fix the skip for <<I> leading zero ipv4 tests.
py
diff --git a/tag.py b/tag.py index <HASH>..<HASH> 100644 --- a/tag.py +++ b/tag.py @@ -7,7 +7,7 @@ VERSION_FILE = "__%s_version__.py" % PROJECT VERSION_BLOCK = """ # -*- coding: UTF8 -*- -__VERSION__ = "%(tag)s" +__VERSION__ = "%s" __RELEASE__ = "" """
'tag' will only be a string (probably containing a number) so don't try to use it as a mapping
py
diff --git a/{{cookiecutter.project_slug}}/config/settings/local.py b/{{cookiecutter.project_slug}}/config/settings/local.py index <HASH>..<HASH> 100644 --- a/{{cookiecutter.project_slug}}/config/settings/local.py +++ b/{{cookiecutter.project_slug}}/config/settings/local.py @@ -68,7 +68,7 @@ if env("USE_DOCKER") == "ye...
Fix INTERNAL_IPS for DOCKER when ip higher than 9 previously, for IP ex: <I> becomes: <I> now, it becomes <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from distutils.core import setup setup(name='messagegroups', - version='0.1.1', + version='0.3', description='Render grouped messages with the Django messaging framework', author='Facto...
Updated setup.py to <I>
py
diff --git a/source/rafcon/gui/interface.py b/source/rafcon/gui/interface.py index <HASH>..<HASH> 100644 --- a/source/rafcon/gui/interface.py +++ b/source/rafcon/gui/interface.py @@ -5,10 +5,14 @@ from rafcon.gui.singleton import main_window_controller, library_manager def open_folder(query): import gtk - fr...
let the open state machine file choose dialog select the last folder - before the last folder was open and after being in it you have had to go back to open again the last state machine you have had open
py
diff --git a/etrago/cluster/disaggregation.py b/etrago/cluster/disaggregation.py index <HASH>..<HASH> 100644 --- a/etrago/cluster/disaggregation.py +++ b/etrago/cluster/disaggregation.py @@ -47,7 +47,10 @@ class Disaggregation: def construct_partial_network(self, cluster, scenario): """ Compute t...
Extend explanation for disaggregation.construct_partial_network
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -20,5 +20,6 @@ setup( 'Framework :: Django', ], include_package_data=True, + requires=['microsofttranslator==0.4',], zip_safe=False )
Dependency in setup.py, where it should be
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,7 @@ import opterator setup( name="opterator", version=opterator.__version__, - py_modules=['opterator'], + py_modules=['opterator', 'test_opterator'], author="Dusty Phillips",...
include the test file in the dist
py
diff --git a/tomodachi/container.py b/tomodachi/container.py index <HASH>..<HASH> 100644 --- a/tomodachi/container.py +++ b/tomodachi/container.py @@ -194,7 +194,16 @@ class ServiceContainer(object): logging.getLogger("exception").exception("Uncaught exception: {}".format(str(e))) if sta...
Catches errors in _started_service() function which previously passed by uncaught
py
diff --git a/lib/svtplay_dl/fetcher/hls.py b/lib/svtplay_dl/fetcher/hls.py index <HASH>..<HASH> 100644 --- a/lib/svtplay_dl/fetcher/hls.py +++ b/lib/svtplay_dl/fetcher/hls.py @@ -109,7 +109,7 @@ class HLS(VideoRetriever): return "hls" def download(self): - self.output_extention = "tls" + s...
hls.download: the extension should be ts not tls
py
diff --git a/datasketch/hyperloglog.py b/datasketch/hyperloglog.py index <HASH>..<HASH> 100644 --- a/datasketch/hyperloglog.py +++ b/datasketch/hyperloglog.py @@ -184,7 +184,7 @@ class HyperLogLog(object): ''' Estimate the cardinality of the data seen so far. ''' - num_zero = self.reg....
make hyperloglog compatible with numpy array as reg
py
diff --git a/pelix/http/basic.py b/pelix/http/basic.py index <HASH>..<HASH> 100644 --- a/pelix/http/basic.py +++ b/pelix/http/basic.py @@ -662,13 +662,14 @@ class HttpService(object): if servlet is not None: with self._lock: # Unregister all paths for this servlet - ...
Avoid reusing argument name as local variable
py
diff --git a/dynaconf/validator.py b/dynaconf/validator.py index <HASH>..<HASH> 100644 --- a/dynaconf/validator.py +++ b/dynaconf/validator.py @@ -56,13 +56,13 @@ class Validator(object): """ def __init__( - self, - names, - must_exist=None, - condition=None, - when=None, ...
Fix the import according to pep8
py
diff --git a/lib/methods/docker.py b/lib/methods/docker.py index <HASH>..<HASH> 100644 --- a/lib/methods/docker.py +++ b/lib/methods/docker.py @@ -86,6 +86,8 @@ class DockerMethod(BaseMethod): def copySSHKeys(self, config, **kwargs): key_file = configuration.getSettings('dockerKeyFile') authorized_keys_fil...
Support for known_hosts-file.
py
diff --git a/holoviews/__init__.py b/holoviews/__init__.py index <HASH>..<HASH> 100644 --- a/holoviews/__init__.py +++ b/holoviews/__init__.py @@ -1,6 +1,8 @@ from __future__ import print_function, absolute_import import os, sys, re, pydoc +import numpy as np # pyflakes:ignore (API import) + _cwd = os.path.abspath...
Added holoviews to top level imports
py
diff --git a/pandas/core/generic.py b/pandas/core/generic.py index <HASH>..<HASH> 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2780,7 +2780,7 @@ class NDFrame(PandasObject, SelectionMixin, indexing.IndexingMixin): protocol : int Int which indicates which protocol should be ...
DOC: Add protocol value '5' to pickle #<I> (#<I>)
py
diff --git a/organizations/v0/views.py b/organizations/v0/views.py index <HASH>..<HASH> 100644 --- a/organizations/v0/views.py +++ b/organizations/v0/views.py @@ -31,12 +31,11 @@ class OrganizationsViewSet(mixins.UpdateModelMixin, viewsets.ReadOnlyModelViewSe """ We perform both Update and Create action via th...
Handle <I> in create-or-update more idiomatically Instead of broadly catching Exception and returning None unless it's an Http<I>, only handle Http<I>, and let other errors raise normally. The non-Http<I> case was untested and would end up raising an exception anyway.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -56,7 +56,7 @@ setup( data_files=[( (BASE_DIR, ['data/nssm_original.exe']) )], - install_requires=['indy-plenum-dev==1.6.552', + install_requires=['indy-plenum-dev==1.6.553', 'in...
INDY-<I>: Updated indy-plenum dependency
py
diff --git a/ospd/command/command.py b/ospd/command/command.py index <HASH>..<HASH> 100644 --- a/ospd/command/command.py +++ b/ospd/command/command.py @@ -344,6 +344,13 @@ class StopScan(BaseCommand): self._daemon.stop_scan(scan_id) + # Don't send response until the scan is stopped. + try: + ...
Don't send <stop_scan> response until the scan is stopped.
py
diff --git a/apidoc/__init__.py b/apidoc/__init__.py index <HASH>..<HASH> 100644 --- a/apidoc/__init__.py +++ b/apidoc/__init__.py @@ -1 +1 @@ -__version__ = "1.1a0" \ No newline at end of file +__version__ = "1.1a1" \ No newline at end of file
Change version to <I>a1
py
diff --git a/analyzers/LdapQuery/LdapQuery.py b/analyzers/LdapQuery/LdapQuery.py index <HASH>..<HASH> 100644 --- a/analyzers/LdapQuery/LdapQuery.py +++ b/analyzers/LdapQuery/LdapQuery.py @@ -7,7 +7,7 @@ from cortexutils.analyzer import Analyzer class LdapQuery(Analyzer): def __init__(self): Analyzer.__in...
adding a missing character in params
py
diff --git a/sorl/thumbnail/templatetags/thumbnail.py b/sorl/thumbnail/templatetags/thumbnail.py index <HASH>..<HASH> 100644 --- a/sorl/thumbnail/templatetags/thumbnail.py +++ b/sorl/thumbnail/templatetags/thumbnail.py @@ -90,7 +90,7 @@ class ThumbnailNode(ThumbnailNodeBase): options.update(value) ...
removing a temporal change. it works now
py
diff --git a/salt/daemons/masterapi.py b/salt/daemons/masterapi.py index <HASH>..<HASH> 100644 --- a/salt/daemons/masterapi.py +++ b/salt/daemons/masterapi.py @@ -46,26 +46,6 @@ log = logging.getLogger(__name__) # only accept valid minion ids -def master_keys(opts): - ''' - Generate and return the master lon...
Removed master_keys which depends on salt.transport.table which no longer exists
py
diff --git a/spyderlib/utils/external/pickleshare.py b/spyderlib/utils/external/pickleshare.py index <HASH>..<HASH> 100644 --- a/spyderlib/utils/external/pickleshare.py +++ b/spyderlib/utils/external/pickleshare.py @@ -78,7 +78,7 @@ class PickleShareDB(MutableMapping): return self.cache[fil][0] tr...
Python 3 compatibility. external/pickleshare: applied patch proposed for Issue <I>
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -28,8 +28,15 @@ setup( ] }, include_package_data=True, + install_requires=["docutils>=0.14"], use_scm_version=True, setup_requires=['setuptools_scm'], + project_urls={ + "Bug Tracker...
Update setup.py with latest setuptools specification (#<I>)
py
diff --git a/pdfwatermarker/encrypt/encrypt.py b/pdfwatermarker/encrypt/encrypt.py index <HASH>..<HASH> 100644 --- a/pdfwatermarker/encrypt/encrypt.py +++ b/pdfwatermarker/encrypt/encrypt.py @@ -51,8 +51,6 @@ PDFTK_PATH = '/opt/pdflabs/pdftk/bin/pdftk' def get_pdftk_path(): if os.path.exists(PDFTK_PATH): ...
Removed print statement for pdftk binary
py
diff --git a/cumulusci/tasks/github.py b/cumulusci/tasks/github.py index <HASH>..<HASH> 100644 --- a/cumulusci/tasks/github.py +++ b/cumulusci/tasks/github.py @@ -129,10 +129,9 @@ class CreateRelease(BaseGithubTask): draft = self.options.get('draft', False) in [True, 'True', 'true'] prerelease = 'Beta...
Remove `target_commitish` from create_release call
py
diff --git a/tests/integration/test_podman.py b/tests/integration/test_podman.py index <HASH>..<HASH> 100644 --- a/tests/integration/test_podman.py +++ b/tests/integration/test_podman.py @@ -173,16 +173,13 @@ def test_http_client_context(podman_backend): def test_wait_for_status(podman_backend): image = podman_...
podman,testing: simplify test_wait_for_status the messing around with times was not needed really
py
diff --git a/tests/engine2_test.py b/tests/engine2_test.py index <HASH>..<HASH> 100644 --- a/tests/engine2_test.py +++ b/tests/engine2_test.py @@ -25,6 +25,7 @@ from django.core import exceptions from openquake import engine2 from openquake.db import models +from openquake.job import validation from tests.utils ...
Added an integration test for loading and validating a job profile (read from a config file)
py
diff --git a/penaltymodel_mip/tests/test_generation.py b/penaltymodel_mip/tests/test_generation.py index <HASH>..<HASH> 100644 --- a/penaltymodel_mip/tests/test_generation.py +++ b/penaltymodel_mip/tests/test_generation.py @@ -339,7 +339,7 @@ class TestGeneration(unittest.TestCase): configurations = {(+1, +1):...
Remove min_classical_gap set to 0
py
diff --git a/docs/conf.py b/docs/conf.py index <HASH>..<HASH> 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -218,8 +218,5 @@ class ProcessLink(transforms.Transform): def setup(app): """Add custom parsers to Sphinx generation.""" - app.add_config_value('recommonmark_config', { - 'enable_auto_doc_ref': Fals...
Fix unbuildable doc (#<I>)
py
diff --git a/satpy/readers/eps_l1b.py b/satpy/readers/eps_l1b.py index <HASH>..<HASH> 100644 --- a/satpy/readers/eps_l1b.py +++ b/satpy/readers/eps_l1b.py @@ -116,6 +116,7 @@ class EPSAVHRRFile(BaseFileHandler): filename, filename_info, filetype_info) self.lons, self.lats = None, None + s...
Initialize angles in epsl1b reader
py
diff --git a/src/hamster/widgets/activityentry.py b/src/hamster/widgets/activityentry.py index <HASH>..<HASH> 100644 --- a/src/hamster/widgets/activityentry.py +++ b/src/hamster/widgets/activityentry.py @@ -209,6 +209,7 @@ class CmdLineEntry(gtk.Entry): self.original_fact = None self.popup = gtk.Win...
set cmdline popup type_hint
py
diff --git a/octodns/provider/gcore.py b/octodns/provider/gcore.py index <HASH>..<HASH> 100644 --- a/octodns/provider/gcore.py +++ b/octodns/provider/gcore.py @@ -141,7 +141,7 @@ class GCoreProvider(BaseProvider): values = defaultdict(defaultdict) records, exists = self.zone_records(zone) for...
fix API incorrect behaviour while returning records data: API always must return type in upper case, but at this moment it returns record type as it was provided on record creation
py
diff --git a/openquake/hazardlib/tests/source/rupture_test.py b/openquake/hazardlib/tests/source/rupture_test.py index <HASH>..<HASH> 100644 --- a/openquake/hazardlib/tests/source/rupture_test.py +++ b/openquake/hazardlib/tests/source/rupture_test.py @@ -14,6 +14,7 @@ # You should have received a copy of the GNU Affer...
Marked test_get_cdppvalue as slow
py
diff --git a/pandas/tests/frame/methods/test_rename.py b/pandas/tests/frame/methods/test_rename.py index <HASH>..<HASH> 100644 --- a/pandas/tests/frame/methods/test_rename.py +++ b/pandas/tests/frame/methods/test_rename.py @@ -406,3 +406,14 @@ class TestRename: ], ).set_index(["STK_ID", "RPT_Date"...
TST: Add test for #<I> (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -39,6 +39,7 @@ setup( for root, _, files in os.walk('iprestrict/{}'.format(d)) for f in files] }, + include_package_data=True,...
Templates and static files not included in pip package Include package data files in wheel as well.
py
diff --git a/ELiDE/ELiDE/board/board.py b/ELiDE/ELiDE/board/board.py index <HASH>..<HASH> 100644 --- a/ELiDE/ELiDE/board/board.py +++ b/ELiDE/ELiDE/board/board.py @@ -244,11 +244,16 @@ class Board(RelativeLayout): Logger.debug("Board: selecting " + repr(candidate)) if hasattr(self.sele...
Be more consistent about telling the selection it's selected I don't remember exactly why I have separate properties 'selected' and 'hit'. Maybe I'll remove one eventually.
py
diff --git a/tests/test_export_manager.py b/tests/test_export_manager.py index <HASH>..<HASH> 100644 --- a/tests/test_export_manager.py +++ b/tests/test_export_manager.py @@ -180,6 +180,24 @@ class BaseExportManagerTest(unittest.TestCase): self.assertTrue(Bypass.executed, "Bypass should have been called") ...
add test case for bypass failing silently
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup setup(name='pysmap', packages=['pysmap', 'pysmap.twitterutil', 'pysmap.viz'], - version='0.0.27', + version='0.0.28', description='pysmap is a set of tools for working with twit...
updated to have smappdragon as dependency installed
py
diff --git a/pandas/io/json/_table_schema.py b/pandas/io/json/_table_schema.py index <HASH>..<HASH> 100644 --- a/pandas/io/json/_table_schema.py +++ b/pandas/io/json/_table_schema.py @@ -231,7 +231,8 @@ def build_table_schema( level or levels if the index is unique. version : bool, default True W...
DOC: version kwargs in build_table_schema (#<I>)
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,15 +38,13 @@ setup( url='https://github.com/thiagopbueno/tf-rddlsim', packages=find_packages(), scripts=['scripts/tfrddlsim', 'tfrddlsim/viz/plots/plot_navigation_policy'], + python_requires=">=3.6", ...
refactor: update python and install_requires in setup.py
py
diff --git a/Simple Django client/plugIt/views.py b/Simple Django client/plugIt/views.py index <HASH>..<HASH> 100644 --- a/Simple Django client/plugIt/views.py +++ b/Simple Django client/plugIt/views.py @@ -175,9 +175,9 @@ def check_rights(request, meta): return gen403(request, baseURI, 'only_admin_user') ...
Hostfox with orga member too
py
diff --git a/py3o/template/main.py b/py3o/template/main.py index <HASH>..<HASH> 100644 --- a/py3o/template/main.py +++ b/py3o/template/main.py @@ -65,7 +65,7 @@ def move_siblings(start, end, new_): old_.remove(end) -def get_list_transformer(): +def get_list_transformer(namespaces): """this function return...
A better transformer with a more robust namespaces support
py
diff --git a/pythonforandroid/bdistapk.py b/pythonforandroid/bdistapk.py index <HASH>..<HASH> 100644 --- a/pythonforandroid/bdistapk.py +++ b/pythonforandroid/bdistapk.py @@ -42,7 +42,11 @@ class BdistAPK(Command): if source == 'command line': continue if not argv_contains('--...
Allow list of permissions for bdist
py
diff --git a/reana_commons/version.py b/reana_commons/version.py index <HASH>..<HASH> 100755 --- a/reana_commons/version.py +++ b/reana_commons/version.py @@ -14,4 +14,4 @@ and parsed by ``setup.py``. from __future__ import absolute_import, print_function -__version__ = "0.8.2a1" +__version__ = "0.8.2a2"
release: <I>a2
py
diff --git a/src/you_get/common.py b/src/you_get/common.py index <HASH>..<HASH> 100755 --- a/src/you_get/common.py +++ b/src/you_get/common.py @@ -555,7 +555,8 @@ class SimpleProgressBar: def update_received(self, n): self.received += n - bytes_ps = n / (time.time() - self.last_updated) + ...
[common] fix division by zero
py
diff --git a/mockredis/client.py b/mockredis/client.py index <HASH>..<HASH> 100644 --- a/mockredis/client.py +++ b/mockredis/client.py @@ -1,5 +1,6 @@ from __future__ import division from collections import defaultdict +from copy import deepcopy from itertools import chain from datetime import datetime, timedelta ...
Deepcopy timeouts in do_expire method to avoid RuntimeError in Python 3.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( - name='urltoolslib', + name='urlfinderlib', # Versions should comply with PEP440. For a d...
Turns out that was not a unique name after all...
py
diff --git a/test/TodoListTest.py b/test/TodoListTest.py index <HASH>..<HASH> 100644 --- a/test/TodoListTest.py +++ b/test/TodoListTest.py @@ -223,7 +223,7 @@ class TodoListTester(TopydoTest): todo = self.todolist.todo('t5c') self.todolist.append(todo, "A") - self.assertNotEquals(self.todolis...
assertNotEquals -> assertNotEqual
py
diff --git a/gns3server/schemas/node.py b/gns3server/schemas/node.py index <HASH>..<HASH> 100644 --- a/gns3server/schemas/node.py +++ b/gns3server/schemas/node.py @@ -144,7 +144,7 @@ NODE_OBJECT_SCHEMA = { }, "console_type": { "description": "Console type", - "enum": ["vnc", "t...
Add missing https console keyword in JSON schema. Fixes #<I>.
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -38,15 +38,19 @@ class PyTest(TestCommand): errcode = pytest.main(self.test_args) sys.exit(errcode) - dependencies = [ - "gns3-netifaces>=0.10.4.1", "jsonschema>=2.4.0", "aiohttp>=0.15.1", ...
Adds gns3-netifaces to dependencies only if netifaces isn't already installed otherwise this requires a compilation and therefore the Python development files.
py
diff --git a/get-poetry.py b/get-poetry.py index <HASH>..<HASH> 100644 --- a/get-poetry.py +++ b/get-poetry.py @@ -412,7 +412,7 @@ class Installer: def customize_install(self): if not self._accept_all: print("Before we start, please answer the following questions.") - print("You ma...
Remove duplicate customize_install function (#<I>) Fix a couple minor typos while we're at it
py
diff --git a/soundcloud/request.py b/soundcloud/request.py index <HASH>..<HASH> 100644 --- a/soundcloud/request.py +++ b/soundcloud/request.py @@ -12,7 +12,7 @@ from io import BytesIO from requests.packages.urllib3.packages import six from requests.packages.urllib3.packages.six import b -from requests.packages.urll...
Update monkey patched encode_multipart_formdata to use iter_fields. Fixes incompatibility with recent versions of requests
py
diff --git a/charmhelpers/contrib/openstack/utils.py b/charmhelpers/contrib/openstack/utils.py index <HASH>..<HASH> 100644 --- a/charmhelpers/contrib/openstack/utils.py +++ b/charmhelpers/contrib/openstack/utils.py @@ -153,7 +153,7 @@ SWIFT_CODENAMES = OrderedDict([ ('newton', ['2.8.0', '2.9.0', '2.10.0']...
Add <I> to swift list of releases for ocata
py
diff --git a/testing/test_skipping.py b/testing/test_skipping.py index <HASH>..<HASH> 100644 --- a/testing/test_skipping.py +++ b/testing/test_skipping.py @@ -156,6 +156,21 @@ class TestXFail(object): assert callreport.passed assert callreport.wasxfail == "this is an xfail" + def test_xfail_use_p...
Update test_skipping to test that platform can be used in xfail
py
diff --git a/src/flake8_requirements/modules.py b/src/flake8_requirements/modules.py index <HASH>..<HASH> 100644 --- a/src/flake8_requirements/modules.py +++ b/src/flake8_requirements/modules.py @@ -530,6 +530,7 @@ KNOWN_3RD_PARTIES = { "pillow": ["PIL"], "protobuf": ["google.protobuf"], "py_lru_cache": ...
Add PyGithub to known 3rd party mapping
py
diff --git a/yotta/lib/logging_setup.py b/yotta/lib/logging_setup.py index <HASH>..<HASH> 100644 --- a/yotta/lib/logging_setup.py +++ b/yotta/lib/logging_setup.py @@ -58,7 +58,7 @@ def init(level=0, enable_subsystems=[]): handler.setFormatter(Formatter()) root.addHandler(handler) - # set appropriate ...
oops, don't use non-ascii dash character in soruce
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,10 @@ +#!/usr/bin/env python import os - -from setuptools import setup +try: + from setuptools import setup +except ImportError: + from distutils.core import setup with open(os.path.join(os.path.dirname(_...
Update setup.py for docs
py
diff --git a/MAVProxy/modules/mavproxy_mode.py b/MAVProxy/modules/mavproxy_mode.py index <HASH>..<HASH> 100644 --- a/MAVProxy/modules/mavproxy_mode.py +++ b/MAVProxy/modules/mavproxy_mode.py @@ -56,7 +56,7 @@ class ModeModule(mp_module.MPModule): if len(args) == 3: latitude = float(args[0]) ...
Allow decimal altitude to the guided command
py
diff --git a/src/python/test/test_dxpy.py b/src/python/test/test_dxpy.py index <HASH>..<HASH> 100755 --- a/src/python/test/test_dxpy.py +++ b/src/python/test/test_dxpy.py @@ -1809,7 +1809,12 @@ class TestDXSearch(unittest.TestCase): for i in range(len(methods)): conditions = dict(common_co...
When a test fails, log the input that was being processed
py
diff --git a/bakery/views.py b/bakery/views.py index <HASH>..<HASH> 100644 --- a/bakery/views.py +++ b/bakery/views.py @@ -3,6 +3,7 @@ Views that inherit from Django's class-based generic views and add methods for building flat files. """ import os +import six import shutil import logging from django.conf import ...
Trying to get the write command to work in Python 3
py
diff --git a/polyaxon/signals/project_tensorboard_jobs.py b/polyaxon/signals/project_tensorboard_jobs.py index <HASH>..<HASH> 100644 --- a/polyaxon/signals/project_tensorboard_jobs.py +++ b/polyaxon/signals/project_tensorboard_jobs.py @@ -73,6 +73,16 @@ def tensorboard_job_status_post_save(sender, **kwargs): ...
Schedule a stop tensorboard if it fails
py
diff --git a/test_login.py b/test_login.py index <HASH>..<HASH> 100644 --- a/test_login.py +++ b/test_login.py @@ -580,8 +580,8 @@ class LoginTestCase(unittest.TestCase): 'Custom name not found as cookie name') cookie = path_cookie[name] - expiration_date = datetime....
Use UTC methods for testing REMEMBER_COOKIE_DURATION
py
diff --git a/commentjson/commentjson.py b/commentjson/commentjson.py index <HASH>..<HASH> 100755 --- a/commentjson/commentjson.py +++ b/commentjson/commentjson.py @@ -51,7 +51,7 @@ parser = Lark(''' %import common.WS %ignore WS %ignore COMMENT -''', start='start') +''') serializer = Reconstructor(pars...
fix assertion error caused by lark-parser==<I>
py
diff --git a/safe/definitionsv4/hazard.py b/safe/definitionsv4/hazard.py index <HASH>..<HASH> 100644 --- a/safe/definitionsv4/hazard.py +++ b/safe/definitionsv4/hazard.py @@ -91,7 +91,8 @@ hazard_generic = { 'classifications': [generic_hazard_classes], 'compulsory_fields': [hazard_value_field], 'fields':...
Add missing layer_modes for generic hazard.
py
diff --git a/SECEdgar/filings/filing.py b/SECEdgar/filings/filing.py index <HASH>..<HASH> 100644 --- a/SECEdgar/filings/filing.py +++ b/SECEdgar/filings/filing.py @@ -48,7 +48,7 @@ class Filing(AbstractFiling): 'action': 'getcompany', 'dateb': sanitize_date(self.end_date), 'output...
BUG: Filing 4 is an ownership form. To make this filing type available, we need to set owner to include
py
diff --git a/salt/modules/cp.py b/salt/modules/cp.py index <HASH>..<HASH> 100644 --- a/salt/modules/cp.py +++ b/salt/modules/cp.py @@ -423,6 +423,8 @@ def get_url(path, dest='', saltenv='base', makedirs=False, source_hash=None): log.error('Unable to fetch file %s from saltenv %s.', salt.util...
Make the returned data consistent between Py2 and Py3
py
diff --git a/tests/test-parser.py b/tests/test-parser.py index <HASH>..<HASH> 100644 --- a/tests/test-parser.py +++ b/tests/test-parser.py @@ -537,6 +537,27 @@ class test_parser(unittest.TestCase): s = 'ssh -p 2222 <user>@<host>' self.assertRaisesRegexp(errors.ParsingError, r"unexpected token '\\n'.*p...
tests: add test for if redirections
py
diff --git a/scapy/base_classes.py b/scapy/base_classes.py index <HASH>..<HASH> 100644 --- a/scapy/base_classes.py +++ b/scapy/base_classes.py @@ -12,6 +12,7 @@ Generators and packet meta classes. ################ import re,random,socket +from types import GeneratorType import scapy.config from . import error @...
Allow generator to be used for sr function issue #<I>
py
diff --git a/spyderlib/qt/__init__.py b/spyderlib/qt/__init__.py index <HASH>..<HASH> 100644 --- a/spyderlib/qt/__init__.py +++ b/spyderlib/qt/__init__.py @@ -9,7 +9,7 @@ import os -os.environ.setdefault('QT_API', 'pyqt5') +os.environ.setdefault('QT_API', 'pyqt') assert os.environ['QT_API'] in ('pyqt5', 'pyqt', '...
PyQt 4 per default until sufficiently tested
py
diff --git a/myql/myql.py b/myql/myql.py index <HASH>..<HASH> 100755 --- a/myql/myql.py +++ b/myql/myql.py @@ -221,6 +221,17 @@ class MYQL(object): return self + ## DELETE + def delete(self, table): + """Deletes record in table + >>> yql.delete('yql.storage').where(['name','=','store://YEl70PraLL...
#<I> : delete OK
py
diff --git a/gkeepapi/node.py b/gkeepapi/node.py index <HASH>..<HASH> 100644 --- a/gkeepapi/node.py +++ b/gkeepapi/node.py @@ -1161,7 +1161,7 @@ class NodeBlob(Element): super(NodeBlob, self).load(raw) self._blob_id = raw.get('blob_id') self._media_id = raw.get('media_id') - self._mime...
Fixed a few KeyErrors
py
diff --git a/lago/plugins/vm.py b/lago/plugins/vm.py index <HASH>..<HASH> 100644 --- a/lago/plugins/vm.py +++ b/lago/plugins/vm.py @@ -235,7 +235,7 @@ class VMProviderPlugin(plugins.Plugin): :exc:`~lago.plugins.vm.ExtractPathError`: on all other failures. """ if self.vm.alive() and self.v...
ssh: increase SSH tries on collect to 5 It is apparent in the logs that we fallback too early to libguestfs, giving only one try for SSH. Extracting the logs with libguestfs should be the last resort, so for now increasing number of SSH tries to 5.
py
diff --git a/django_pyodbc/introspection.py b/django_pyodbc/introspection.py index <HASH>..<HASH> 100644 --- a/django_pyodbc/introspection.py +++ b/django_pyodbc/introspection.py @@ -94,15 +94,15 @@ WHERE cursor.execute(sql, [table_name]) - columns = [FieldInfo( - force_text(line[...
reverted to working, simple NullBooleanField fix
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ import sys data = dict( name='python-datetime-tz', - version='0.3', + version='0.5.1', author='Tim Ansell', author_email='mithro@mithis.com', url='http://github.com/mithro/python-dat...
Bump to <I>, with windows timezone mapping fixes
py
diff --git a/dashboard.py b/dashboard.py index <HASH>..<HASH> 100644 --- a/dashboard.py +++ b/dashboard.py @@ -4,14 +4,14 @@ import os Config = ConfigParser.ConfigParser() class PsiTurkConfig: - def __init__(self, filename): + def __init__(self, filename="config.txt"): self.filename = filename ...
Full config file CRUD support through dashboard class.
py
diff --git a/src/collectors/websitemonitor/test/testwebsitemonitor.py b/src/collectors/websitemonitor/test/testwebsitemonitor.py index <HASH>..<HASH> 100644 --- a/src/collectors/websitemonitor/test/testwebsitemonitor.py +++ b/src/collectors/websitemonitor/test/testwebsitemonitor.py @@ -54,12 +54,10 @@ class TestWebsite...
tests pass, but not sure why, not merging until I understand this better and ensure tests are accurate
py
diff --git a/setup.py b/setup.py index <HASH>..<HASH> 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup setup( name='Flask-QiniuStorage', - version='0.9.4', + version='0.9.5', url='https://github.com/csuzhangxc/Flask-QiniuStorage', license='MIT', autho...
update to version <I> for PyPi
py
diff --git a/tests/quick_pops.py b/tests/quick_pops.py index <HASH>..<HASH> 100644 --- a/tests/quick_pops.py +++ b/tests/quick_pops.py @@ -67,6 +67,7 @@ def quick_slocus_qtrait_pop_params(N=1000, simlen=100): 'demography': np.array([N] * simlen, dtype=np.uint32), 'gvalue': SlocusAdditiveTrait(2.0), ...
set prune_selected = False in fixture
py
diff --git a/salt/master.py b/salt/master.py index <HASH>..<HASH> 100644 --- a/salt/master.py +++ b/salt/master.py @@ -241,7 +241,7 @@ class MWorker(multiprocessing.Process): Handle a command sent via an aes key ''' data = self.crypticle.loads(load) - log.info('AES payload received wit...
Fix log bug in AES callbacks on the master
py
diff --git a/salt/modules/dockerng.py b/salt/modules/dockerng.py index <HASH>..<HASH> 100644 --- a/salt/modules/dockerng.py +++ b/salt/modules/dockerng.py @@ -4621,7 +4621,7 @@ def inspect_network(network_id): @_api_version(1.21) @_client_version('1.5.0') -def connect_container_to_network(container, network_id): +d...
Added ipv4 arg to connect_container_to_network
py
diff --git a/bob/ip/facedetect/script/plot_froc.py b/bob/ip/facedetect/script/plot_froc.py index <HASH>..<HASH> 100644 --- a/bob/ip/facedetect/script/plot_froc.py +++ b/bob/ip/facedetect/script/plot_froc.py @@ -26,13 +26,6 @@ import matplotlib; matplotlib.use('pdf') #avoids TkInter threaded start import matplotlib.pyp...
Trying to fix matplotlib issue
py