message
stringlengths
13
484
diff
stringlengths
38
4.63k
Perform passes -> Add Passes It's actually adding that many passes rather than performing. Add 1 pass makes 2 passes. Does not perform 1 pass.
@@ -2093,9 +2093,11 @@ class RootNode(list): menu_op.Enable(False) menu.AppendSubMenu(operation_convert_submenu, _("Convert Operation")) duplicate_menu = wx.Menu() + gui.Bind(wx.EVT_MENU, self.menu_passes(node, 1), + duplicate_menu.Append(wx.ID_ANY, _("Add 1 pass."), "", wx.ITEM_NORMAL)) for i in range(2, 10): gui.Bind...
Update Pushgateway to 1.3.1 [ENHANCEMENT] Web UI: Improved metrics text alignment. [BUGFIX] Web UI: Fix deletion of groups with empty label values.
@@ -164,7 +164,7 @@ packages: <<: *default_context static: <<: *default_static_context - version: 1.3.0 + version: 1.3.1 license: ASL 2.0 URL: https://github.com/prometheus/pushgateway summary: Prometheus push acceptor for ephemeral and batch jobs.
Increase fio ssh timeout FIO takes time to write data on nfs system with synthetic networking
@@ -74,7 +74,7 @@ class Fio(Tool): iodepth: int, numjob: int, time: int = 120, - ssh_timeout: int = 600, + ssh_timeout: int = 1800, block_size: str = "4K", size_gb: int = 0, direct: bool = True,
Update get-started.rst fix -- dash
@@ -22,7 +22,7 @@ This will pop up a GUI window showing the full range of widgets available to an application using Toga. There is a known issue with the current build on some Mac OS distributions. If you are -running Mac OS Sierra or higher, use the following installation command instead: +running Mac OS Sierra or hig...
Port.to_conf() serialises VLAN names correctly Resolves
@@ -218,10 +218,14 @@ class Port(Conf): def to_conf(self): result = super(Port, self).to_conf() + if result is not None: if 'stack' in result and result['stack'] is not None: result['stack'] = {} for stack_config in list(self.stack_defaults_types.keys()): result['stack'][stack_config] = self.stack[stack_config] + if se...
Fix dispatching of backwards kernel for ROCm. Summary: Use WARP_SIZE consistently also for the dispatch dimensions. Pull Request resolved:
@@ -324,7 +324,7 @@ Tensor embedding_dense_backward_cuda(const Tensor & grad_, const Tensor & indice } dim3 grid(THCCeilDiv(num_indices, (int64_t) 4), THCCeilDiv(stride, (int64_t) 128)); - dim3 block(32, 4); + dim3 block(WARP_SIZE, 4); AT_DISPATCH_FLOATING_TYPES_AND_HALF(grad.scalar_type(), "embedding_backward", [&] { ...
DOC: added use of end_date & start_date in live mode. issues &
@@ -176,6 +176,13 @@ Here is the breakdown of the new arguments: - ``simulate_orders``: Enables the paper trading mode, in which orders are simulated in Catalyst instead of processed on the exchange. It defaults to ``True``. +- ``end_date``: When setting the end_date to a time in the **future**, + it will schedule the ...
Extract type of TClonesArray objects from streamer This enables reading of (split) fTracks branch in the ROOT's Event example. We need to attach proper streamers to the branches corresponding to the class members of objects saved in TClonesArray. The object class name is available in the title of the corresponding stre...
@@ -174,6 +174,7 @@ class TTreeMethods(object): _copycontext = True _vector_regex = re.compile(b"^vector<(.+)>$") + _objectpointer_regex = re.compile(b"\((.*)\)") def _attachstreamer(self, branch, streamer, streamerinfosmap, isTClonesArray): if streamer is None: @@ -227,6 +228,9 @@ class TTreeMethods(object): elif isin...
Fix Cisco.SMB.get_interfaces script HG-- branch : feature/microservices
@@ -30,6 +30,7 @@ class Script(BaseScript): "Po": "aggregated", # Port-channel/Portgroup "Tu": "tunnel", # Tunnel "Vl": "SVI", # Vlan + "oo": "management", # oob } def execute(self):
Failed to format message File "/usr/lib/python2.7/site-packages/oslo_privsep/daemon.py", line 204, in remote_call raise exc_type(*result[2]) File "/usr/lib/python2.7/site-packages/zun/common/exception.py", line 204, in __init__ self.message = str(self.message) % kwargs ValueError: unsupported format character ')' (0x29...
@@ -201,7 +201,7 @@ class ZunException(Exception): self.message = message try: - self.message = str(self.message) % kwargs + self.message = self.message % kwargs except KeyError: # kwargs doesn't match a variable in the message # log the issue and the kwargs
Update howto-transparent-vms.md for newer versions Update howto-transparent-vms.md for newer versions
@@ -14,9 +14,13 @@ Internal Network* setup can be applied to other setups. ## 1. Configure Proxy VM -On the proxy machine, **eth0** is connected to the internet. **eth1** is -connected to the internal network that will be proxified and configured -to use a static ip (192.168.3.1). +First, we have to find out under whic...
Replace str with bytes for imaplib append and ParseFlags Last Argument of APPEND You can see it's parsed with the bytes regex MapCLRF re.compile(br'\r\n|\r|\n') You can see it's parsed with the bytes regex Flags re.compile(br'.*FLAGS \((?P<flags>[^\)]*)\)')
@@ -55,7 +55,7 @@ class IMAP4: def socket(self) -> _socket: ... def recent(self) -> _CommandResults: ... def response(self, code: str) -> _CommandResults: ... - def append(self, mailbox: str, flags: str, date_time: str, message: str) -> str: ... + def append(self, mailbox: str, flags: str, date_time: str, message: byte...
Fix getting chapter list for jpmtl Fix getting chapter list for jpmtl
@@ -42,26 +42,24 @@ class JpmtlCrawler(Crawler): logger.info('Novel author: %s', self.novel_author) toc_url = chapters_url % self.novel_id - chapters = self.get_json(toc_url) - toc = (chapters[0]['chapters']) - #for a in soup.select('ol.book-volume__chapters li a'): - for chapter in toc: - chap_id = len(self.chapters) ...
Remove par_file argument in SubmititLaumcher submitit doesn't use this argument anymore
@@ -13,12 +13,11 @@ log = logging.getLogger(__name__) class SubmititLauncher(Launcher): - def __init__(self, queue, folder, queue_parameters, conda_file=None, par_file=None): + def __init__(self, queue, folder, queue_parameters, conda_file=None): self.queue = queue self.queue_parameters = queue_parameters self.folder =...
Fix "then then" typos in docstrings. They were both added in commit
@@ -138,7 +138,7 @@ def chunked(iterable, n, strict=False): To use a fill-in value instead, see the :func:`grouper` recipe. If the length of *iterable* is not divisible by *n* and *strict* is - ``True``, then then ``ValueError`` will be raised before the last + ``True``, then ``ValueError`` will be raised before the la...
Mark test of cleanup behavior as local This informs pytest not to try to load its own configuration, but rather run what is loaded locally in the test.
+import pytest + import parsl from parsl.app.app import App -from parsl.tests.configs.local_threads import config +from parsl.tests.configs.local_ipp import config + +parsl.clear() +dfk = parsl.load(config) @App('python') @@ -9,14 +14,12 @@ def slow_double(x, dur=0.1): time.sleep(dur) return x * 5 - +@pytest.mark.local...
MacOS: For CPython on MacOS linking against libpython appears to be necessary. * It's not for Anaconda, so lets try and avoid going into that branch by checking for static Python. * Also finally have a "macosx_target" to check for, instead of using darwin checks everywhere.
@@ -124,6 +124,8 @@ static_libpython = getBoolOption("static_libpython", False) # no longer cross compile this way. win_target = os.name == "nt" +macosx_target = sys.platform == "darwin" + # Windows subsystem mode: Disable console for windows builds. win_disable_console = getBoolOption("win_disable_console", False) @@ ...
Update index.md updated to sound classification
@@ -209,9 +209,9 @@ The task of action recognition is to predict action that is being performed on a | ------------------------- | ---------------| -------------- | ------ | ------- | | RGB-I3D, pretrained on ImageNet\* | [TensorFlow\*](./i3d-rgb-tf/i3d-rgb-tf.md) | i3d-rgb-tf | | | -## Audio Classification +## Sound C...
Restricting apple-clang to version 10.0 or greater No support for std::optional before version 10.0
@@ -34,7 +34,7 @@ class CppTaskflowConan(ConanFile): # Exclude compilers not supported by cpp-taskflow if (compiler == "gcc" and compiler_version < "7.3") or \ (compiler == "clang" and compiler_version < "6") or \ - (compiler == "apple-clang" and compiler_version < "9") or \ + (compiler == "apple-clang" and compiler_ve...
Minor whitespace tweaks to shorten a few really long lines. The code which initializes the parser is still really complex and ugly. But now it is limited to lines no more than 120 characters ;-) I'm not sure if this is an improvement in readability, but I tried.
@@ -784,9 +784,9 @@ class Cmd(cmd.Cmd): do_not_parse = self.commentGrammars | self.commentInProgress | pyparsing.quotedString after_elements = \ pyparsing.Optional(pipe + pyparsing.SkipTo(output_parser ^ string_end, ignore=do_not_parse)('pipeTo')) + \ - pyparsing.Optional( - output_parser + pyparsing.SkipTo(string_end,...
Update README.md Removed extra empty line.
@@ -73,7 +73,6 @@ https://wiki.fulmo.org/downloads/raspiblitz-2018-10-20.img.gz (or [build your ow 2. Write the SD-Card image to your SD Card - if you need details, see here: https://www.raspberrypi.org/documentation/installation/installing-images/README.md - ## Boot your RaspiBlitz Connect all hardware like on photo a...
Properly log RpcError with no parent request This should get rid of the unexpected BufferError traceback.
@@ -592,6 +592,14 @@ class MTProtoSender: # However receiving a File() with empty bytes is "common". # See #658, #759 and #958. They seem to happen in a container # which contain the real response right after. + # + # But, it might also happen that we get an *error* for no parent request. + # If that's the case attempt...
add model to admin to be able to view domain less logs on long run to support QA as well in short term
@@ -4,7 +4,7 @@ from django.contrib.auth.models import User from django_digest.models import PartialDigest, UserNonce -from .models import DomainPermissionsMirror, HQApiKey +from .models import DomainPermissionsMirror, HQApiKey, UserHistory class DDUserNonceAdmin(admin.ModelAdmin): @@ -45,3 +45,21 @@ class HQApiKeyAdmi...
Update transformer.py one mistake in the docstring of transformer_prepare_decoder
@@ -625,7 +625,7 @@ def transformer_prepare_decoder(targets, hparams, features=None): Returns: decoder_input: a Tensor, bottom of decoder stack - decoder_self_attention_bias: a bias tensor for use in encoder self-attention + decoder_self_attention_bias: a bias tensor for use in decoder self-attention """ if hparams.pre...
take last element instead of popping the transaction Other components doing analysis will otherwise have a mistaken view of the final globalstate of a transaction
@@ -308,9 +308,9 @@ class LaserEVM: return [new_global_state], op_code except TransactionEndSignal as end_signal: - transaction, return_global_state = ( - end_signal.global_state.transaction_stack.pop() - ) + transaction, return_global_state = end_signal.global_state.transaction_stack[ + -1 + ] if return_global_state i...
Parameterize the pyplot "clear_figure" tests In `st.pyplot`, the logic for clearing the "global" pyplot figure is different from the logic for clearing a specified pyplot figure. This PR makes the distinction clearer in our tests.
"""st.pyplot unit tests.""" +from typing import Optional from unittest.mock import patch import matplotlib import matplotlib.pyplot as plt import numpy as np +from parameterized import parameterized import streamlit as st from streamlit.web.server.server import MEDIA_ENDPOINT @@ -31,6 +33,11 @@ class PyplotTest(DeltaGe...
Onefile: Fix, LTO mode was always enabled for onefile compilation. * The Windows gcc doesn't currently support LTO though, support for it is coming in a future release though. * This makes sure LTO usage is identical between backend and onefile compilation.
@@ -381,7 +381,7 @@ if "clang" in env.the_cc_name: lto_mode = enableLtoSettings( env=env, lto_mode=lto_mode, - pgo_mode=False, # TODO: Have this here too, decompression might benefit. + pgo_mode="no", # TODO: Have this here too, decompression might benefit. msvc_mode=msvc_mode, gcc_mode=gcc_mode, clang_mode=clang_mode,...
fix intro.md references in versioned_docs The new docusaurus version should have been generated _after_ the update to the source intro.md So manually correct this here.
@@ -27,7 +27,8 @@ Use the version switcher in the top bar to switch between documentation versions | | Version | Release notes | Python Versions | | -------|---------------------------|-------------------------------------------------------------------------------------| -------------------| -| &#9658;| 1.1 (Stable) | ...
Correct SensitivityDemandSimulateTool Fix to pass output_parameters as `'A' 'B' 'C'` instead of `['A', 'B', 'C']
@@ -1368,11 +1368,9 @@ class SensitivityDemandSimulateTool(object): # output_parameters output_parameters = parameters[6].valueAsText.split(';') - args = [None, 'sensitivity-demand-simulate', '--scenario-path', scenario_path, '--weather-path', weather_path, + run_cli(None, 'sensitivity-demand-simulate', '--scenario-pat...
Remove cooldown on !module command This allows for other bots to run !module disable X and then !module disable Y quickly in succession.
@@ -278,4 +278,6 @@ class AdminCommandsModule(BaseModule): self.commands["unsilence"] = Command.raw_command(self.cmd_unsilence, level=500, description="Unsilence the bot") self.commands["unmute"] = self.commands["unsilence"] - self.commands["module"] = Command.raw_command(self.cmd_module, level=500, description="Modify...
Fix wrk2 docker file It looks like commit overwrote the content of the wrk2 workload with the one from wrk. Fixing that here.
FROM REPLACE_NULLWORKLOAD_UBUNTU -# apache-install-pm +# nodejs-install-pm RUN apt-get update -RUN apt-get install -y apache2 -# service_stop_disable apache2 -# apache-install-pm +RUN apt-get install -y nodejs +# service_stop_disable nodejs +# nodejs-install-pm -# wrk-ARCHx86_64-install-man -RUN /bin/true; cd /home/REP...
interfaceio: Start IO loop on demand It used to start up as part of module initialization. Now it is started when it's actually going to be used.
@@ -611,9 +611,10 @@ class TapInterface (Interface, EventMixin): RXData, ]) - io_loop = TapIO() + io_loop = None def __init__ (self, name="", tun=False): + self._start_io_loop() self.tap = None Interface.__init__(self, name) EventMixin.__init__(self) @@ -621,6 +622,12 @@ class TapInterface (Interface, EventMixin): if n...
Add 'just fix' command This run 'cargo fix' across the project to fix rustc warnings.
@@ -62,6 +62,20 @@ clean: $cmd done +fix: + #!/usr/bin/env sh + set -e + for crate in $(echo {{crates}}) + do + for feature in $(echo {{features}}) + do + cmd="cargo fix --manifest-path=$crate/Cargo.toml $feature" + echo "\033[1m$cmd\033[0m" + $cmd + done + done + echo "\n\033[92mFix Success\033[0m\n" + lint: #!/usr/bi...
swarming: add log when expired task slice is going to run This is followup for No functional change.
@@ -1279,7 +1279,20 @@ def bot_reap_task(bot_dimensions, bot_version): t = request.task_slice(i) limit += datetime.timedelta(seconds=t.expiration_secs) - if limit < utils.utcnow(): + slice_expiration = to_run.created_ts + slice_index = task_to_run.task_to_run_key_slice_index(to_run.key) + for i in range(slice_index + 1...
Update Nameserver for INWX I've added all Nameserver of INWX
@@ -11,7 +11,7 @@ except ImportError: LOGGER = logging.getLogger(__name__) -NAMESERVER_DOMAINS = ["inwx.com"] +NAMESERVER_DOMAINS = ["ns.inwx.de", "ns2.inwx.de", "ns3.inwx.eu", "ns4.inwx.com", "ns5.inwx.net", "ns.domrobot.com", "ns.domrobot.net", "ns.domrobot.org", "ns.domrobot.info", "ns.domrobot.biz"] def provider_pa...
GDB helpers: add an option to print gen. variable names in "*state" cmd TN:
@@ -21,12 +21,30 @@ class BaseCommand(gdb.Command): class StateCommand(BaseCommand): - """Display the state of the currently running property.""" + """Display the state of the currently running property. + +This command may be followed by a "/X" flag, where X is one or several of: + + * s: to print the name of the Ada ...
Handle None values to compare_dicts utility compare_dicts utility in ocs_ci/utility/environment_check.py needs to handle None values passed to it. This is to avoid Errors in ocs-ci tests. This PR addresses
@@ -44,7 +44,12 @@ def compare_dicts(before, after): Returns: list: List of 2 lists - ('added' and 'removed' are lists) + None: If both parameters are None """ + if not before and not after: + log.debug("compare_dicts: both before and after are None") + return None + added = [] removed = [] uid_before = [ @@ -186,6 +19...
feat: update harbor-detect template Added version detection Change the path Updated the body matchers
@@ -2,22 +2,37 @@ id: harbor-detect info: name: Harbor Detect - author: pikpikcu + author: pikpikcu,daffainfo severity: info + description: Harbor is an open source trusted cloud native registry project that stores, signs, and scans content. + reference: + - https://github.com/goharbor/harbor + metadata: + verified: tr...
Expand an error diagnosis to include the wider range of possibilities As we have seen, we do not have, at this time, any way to disambiguate between stratisd not running at all and stratisd running but no D-Bus connection established. It would be possible to do better, by actually checking.
@@ -98,10 +98,13 @@ def interpret_errors(errors): error.get_dbus_name() == \ 'org.freedesktop.DBus.Error.AccessDenied': return "Most likely stratis has insufficient permissions for the action requested." + # We have observed two causes of this problem. The first is that + # stratisd is not running at all. The second is...
Windows: Fixup for older gcc as used by Anaconda. * Seems that one doesn't like the "\" in the filename, but likes the "/" only, despite being on Windows.
@@ -1759,6 +1759,10 @@ if gcc_mode: with open(tmp_linker_filename, "w") as tmpfile: for filename in source_files: filename = ".".join(filename.split(".")[:-1]) + ".o" + + if os.name == "nt": + filename = filename.replace(os.path.sep, "/") + tmpfile.write('"%s"\n' % filename) tmpfile.write(env.subst("$SOURCES"))
Update All Rescan Endpoint Modify the Rescan Endpoints to support the movement to multiprocess. Next steps are to provide a method for interprocess communication via interprocess Pipes. These pipes will provide an interface for the stop query interface.
@@ -358,9 +358,11 @@ class SpiderFootWebUi: # Start running a new scan newId = sf.genScanInstanceGUID(scanname) - t = SpiderFootScanner(scanname, scantarget, targetType, newId, + p = mp.Process(target=SpiderFootScanner, args=(scanname, scantarget, targetType, newId modlist, cfg, modopts) - t.start() + ) + p.start() + #...
TST: Additional tests of counts_per_seq [CHANGED] Made API consistent across all cases of counts_per_seq. Existing test methods extended to check explicitly for exclude_observed=True in test_counts_per_seq. [NEW] Created a test_entropy_excluding_unobserved to make sure entropy calculations remain the same.
@@ -2155,7 +2155,7 @@ class AlignmentBaseTests(SequenceCollectionBaseTests): def test_counts_per_seq(self): """SequenceCollection.counts_per_seq handles motif length, allow_gaps etc..""" - data = {"a": "AAAA??????", "b": "CCCGGG--NN"} + data = {"a": "AAAA??????", "b": "CCCGGG--NN", "c": "CCGGTTCCAA"} coll = self.Class(...
Fixes broken API key generation link in readme The previous link no longer exists/has been moved.
@@ -8,7 +8,7 @@ The Labelbox Python API offers a simple, user-friendly way to interact with the * Use Python 3.7 or 3.8. * Create an account by visiting http://app.labelbox.com/. -* [Generate an API key](https://labelbox.com/docs/api/api-keys). +* [Generate an API key](https://labelbox.com/docs/api/getting-started#crea...
Update integration.R adapted function to provided notebook
@@ -45,14 +45,14 @@ runSeuratRPCA = function(data, batch, hvg=2000) { require(Seurat) batch_list = SplitObject(data, split.by = batch) - batch_list <- lapply(X = batch_list, FUN = function(x) { - ScaleData(object = x) - RunPCA(x, features = hvg) + features <- SelectIntegrationFeatures(batch_list) + batch_list <- lapply...
Fix `Mask2FormerForUniversalSegmentation` fix
@@ -2468,7 +2468,7 @@ class Mask2FormerForUniversalSegmentation(Mask2FormerPreTrainedModel): transformer_decoder_hidden_states = outputs.transformer_decoder_hidden_states output_auxiliary_logits = ( - self.config.use_auxiliary_loss if output_auxiliary_logits is None else output_auxiliary_logits + self.config.output_aux...
Spanner: Adding system test for "partial" key ranges This is a follow-on to
@@ -1003,6 +1003,60 @@ class TestSessionAPI(unittest.TestCase, _TestData): expected = all_data_rows[START+1 : END+1] self._check_row_data(rows, expected) + def test_read_partial_range_until_end(self): + row_count = 3000 + start = 1000 + session, committed = self._set_up_table(row_count) + snapshot = session.snapshot(re...
ceph-mgr: run mgr_modules.yml only on the first mgr host the task will be delegated to mons[0] for all mgr hosts, so we can just run it on the first host and have the same effect.
- name: include mgr_modules.yml include_tasks: mgr_modules.yml - when: ceph_mgr_modules|length > 0 \ No newline at end of file + when: + - ceph_mgr_modules|length > 0 + - inventory_hostname == groups[mgr_group_name][0] \ No newline at end of file
Introducing the changes in Croatia holidays as of 2020 * Remembrance Day was added, * Independence Day is no longer a holiday * Statehood Day date has changed closes
+from datetime import date + from ..core import WesternCalendar, ChristianMixin from ..registry_tools import iso_register @@ -9,9 +11,7 @@ class Croatia(WesternCalendar, ChristianMixin): FIXED_HOLIDAYS = WesternCalendar.FIXED_HOLIDAYS + ( (5, 1, "International Workers' Day"), (6, 22, "Anti-Fascist Struggle Day"), - (6,...
Remove redundant .json() innvocation. The auth method already unmarshals the response body into a dict from JSON.
@@ -606,7 +606,7 @@ class Client(object): if role: params['role'] = role - return self.auth('/v1/auth/{0}/login'.format(mount_point), json=params, use_token=use_token).json() + return self.auth('/v1/auth/{0}/login'.format(mount_point), json=params, use_token=use_token) def create_userpass(self, username, password, poli...
Added Aqua Enterprise Added Aqua Enterprise
@@ -2630,3 +2630,8 @@ requests: name: "Coverity" dsl: - "status_code==200 && (\"-994319624\" == mmh3(base64_py(body)))" + + - type: dsl + name: "Aqua Enterprise" + dsl: + - "status_code==200 && (\"-1261322577\" == mmh3(base64_py(body)))"
Select annotation-like objects with string or int If selector is string, transformed to dict(type=selector), if selector is int, indexes the resulting list of objects filtered down by row, col and secondary y.
@@ -1194,6 +1194,10 @@ class BaseFigure(object): def _selector_matches(obj, selector): if selector is None: return True + # If selector is a string then put it at the 'type' key of a dictionary + # to select objects where "type":selector + if type(selector) == type(str()): + selector = dict(type=selector) # If selector...
Update bdzadq.json amended wording
"anxiety and sleep problems. <a href='https://www.rcpsych.ac.uk/expertadvice/treatments/benzodiazepines.aspx'> The Royal College of Psychiatrists states</a> ", "that \"around 4 in every 10 people who take them every day for more than 6 weeks will become addicted\" ", "and therefore they should not be prescribed for lon...
Update build.yml Removing 3.5 from Windows and Mac... it's legacy since september 2020
@@ -64,7 +64,7 @@ jobs: runs-on: windows-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8] + python-version: [3.6, 3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -86,7 +86,7 @@ jobs: runs-on: macos-latest strategy: matrix: - python-version: [3.5, 3.6, 3....
[query] Remove verbose print Looks like this got added in some dndarray work
@@ -290,7 +290,6 @@ class RVDPartitioner( } def keysIfOneToOne(): Option[IndexedSeq[Row]] = { - log.info(s"keysIfOneToOne ${kType} ${this}") if (kType.size == 0) { return None }
Updating the appveyor script to run for the other conda versions. the conda that is activated in appveyors VM is "clean" no need to set up a new test environment. only testing on tree currently (to hopefully speed up tests)
@@ -4,45 +4,44 @@ build: off environment: matrix: - - PYTHON: 2.7 - MINICONDA: C:\Miniconda - PYTHON_ARCH: 32 - - PYTHON: 3.5 - MINICONDA: C:\Miniconda3 - PYTHON_ARCH: 32 - - PYTHON: 3.6 - MINICONDA: C:\Miniconda3 - PYTHON_ARCH: 32 - - PYTHON: 2.7 - MINICONDA: C:\Miniconda - PYTHON_ARCH: 64 - - PYTHON: 3.5 - MINICONDA:...
Remove display_claimed_answer Replaced with append_to_found_embed which is more general
@@ -286,13 +286,6 @@ class DuckGamesDirector(commands.Cog): found_embed.description = f"{old_desc.rstrip()}\n{text}" await game.found_msg.edit(embed=found_embed) - async def display_claimed_answer(self, game: DuckGame, author: discord.Member, answer: tuple[int]) -> None: - """Add a claimed answer to the game embed.""" ...
Pass multiple regions correctly to make_examples Currently if more than one region is set for the runner, it does not pass them properly to make_examples and causes a failure.
@@ -340,8 +340,10 @@ def _run_make_examples(pipeline_args): localized_region_paths = map('"${{INPUT_REGIONS_{0}}}"'.format, range(num_localized_region_paths)) region_literals = get_region_literals(pipeline_args.regions) - extra_args.extend( - ['--regions', ' '.join(region_literals + localized_region_paths)]) + extra_ar...
chore: Add mergify[bot] to exception list According to this mergify's login id is `mergify[bot]` so am guessing this should work.
@@ -7,6 +7,7 @@ pull_request_rules: - author!=gavindsouza - author!=deepeshgarg007 - author!=ankush + - author!=mergify[bot] - or: - base=version-13 - base=version-12
mark private inline functions in mesh.c with static keyword mark _det3x3(), _tri_area(), _aux_hex()
@@ -910,13 +910,13 @@ int32 mesh_get_centroids(Mesh *mesh, float64 *ccoors, int32 dim) return(RET_OK); } -inline float64 _det3x3(float64 j[9]) +static inline float64 _det3x3(float64 j[9]) { return (j[0]*j[4]*j[8] + j[3]*j[7]*j[2] + j[1]*j[5]*j[6] - j[2]*j[4]*j[6] - j[5]*j[7]*j[0] - j[1]*j[3]*j[8]); } -inline float64 _t...
removed warnings about obsolete ini section 'stream-blanker' instead we will have a plausibility check for the whole configuration in near future
@@ -220,8 +220,6 @@ class VocConfigParser(SafeConfigParser): or self.getboolean('audio', 'forcevolumecontrol', fallback=False)) def getBlinderEnabled(self): - if self.has_section('stream-blanker'): - self.log.error("configuration section 'stream-blanker' is obsolete and will be ignored! Use 'blinder' instead!"); return...
Update mkvtomp4.py improved error handling
@@ -204,7 +204,7 @@ class MkvtoMp4: if self.needProcessing(inputfile): options, preopts, postopts = self.generateOptions(inputfile, original=original) if not options: - self.log.error("Error converting, inputfile had a valid extension but returned no data. Either the file does not exist, was unreadable, or was an incor...
Alien vault not found fix fixes
@@ -303,6 +303,9 @@ script: dbotScoreType = 'hash'; malInfo[argName.toUpperCase()] = args[argName]; } + if (raw === 'Not found') { + return raw; + } if (dq(raw, 'pulse_info.count') > 0) { dbotScore = dq(raw, 'pulse_info.count'); malInfo.Malicious.PulseIDs = dq(raw, 'pulse_info.pulses.id');
Update QRL Testnet Setup.md updating instructions
@@ -27,5 +27,28 @@ This document describes the setup procedure to install and configure a QRL node ### Start your node -`python main.py` +`qrl/main.py` + + +### Information + +Your data and wallet will be stored in ${HOME}/.qrl + +Testing PyPI packages (experimental) +==================================== + +We have exp...
Add the mgmtworker/env/source_plugins dir [ci skip] This is where source plugins are going to be installed, so this directory needs to exist
@@ -40,6 +40,7 @@ mkdir -p %{buildroot}/var/log/cloudify/mgmtworker mkdir -p %{buildroot}/opt/mgmtworker/config mkdir -p %{buildroot}/opt/mgmtworker/work mkdir -p %{buildroot}/opt/mgmtworker/env/plugins +mkdir -p %{buildroot}/opt/mgmtworker/env/source_plugins cp -R ${RPM_SOURCE_DIR}/packaging/mgmtworker/files/* %{build...
Fixes heat-keystone-setup-domain authentication failures with v3 With keystone v3 configured, attempting to create a heat domain and heat user fails with authentication errors Closes-Bug:
@@ -29,7 +29,9 @@ DEBUG = False USERNAME = os.environ.get('OS_USERNAME') PASSWORD = os.environ.get('OS_PASSWORD') AUTH_URL = os.environ.get('OS_AUTH_URL', '').replace('v2.0', 'v3') -TENANT_NAME = os.environ.get('OS_TENANT_NAME') +PROJECT_NAME = os.environ.get('OS_PROJECT_NAME') +USER_DOMAIN_NAME = os.environ.get('OS_US...
Update jkbledelegate.py Fix
@@ -28,7 +28,7 @@ class jkBleDelegate(btle.DefaultDelegate): if not self._protocol.is_record_start(self.notificationData): log.debug(f"Not valid start of record - wiping data {self.notificationData}") self.notificationData = bytearray() - if is_record_complete(self.notificationData): + if self._protocol.is_record_compl...
Felix: Log only Fatal errors to syslog Note that felix will continue to log warnings and higher to /var/log/calico/felix.log.
@@ -19,13 +19,13 @@ EtcdCertFile = <%= node['bcpc']['etcd'][@cert_type]['crt']['filepath'] %> EtcdKeyFile = <%= node['bcpc']['etcd'][@cert_type]['key']['filepath'] %> # The log severity above which logs are sent to the stdout. -LogSeverityScreen = Warning +LogSeverityScreen = Fatal # The log severity above which logs a...
Typo confirm -> override in wallet send Wallet look in extra_params/args by "override" key (override = args["override"]) not "confirm". Due to this confirmation doesn't works for now.
@@ -79,9 +79,9 @@ def get_transactions_cmd(wallet_rpc_port: int, fingerprint: int, id: int, offset "-o", "--override", help="Submits transaction without checking for unusual values", is_flag=True, default=False ) def send_cmd( - wallet_rpc_port: int, fingerprint: int, id: int, amount: str, fee: str, address: str, confi...
Update poullight.txt One more minor update for Reference section.
# See the file 'LICENSE' for copying permission # Reference: https://twitter.com/MBThreatIntel/status/1240389621638402049 +# Reference: https://twitter.com/James_inthe_box/status/1240400306858573825 # Reference: https://app.any.run/tasks/9bde133d-2b57-4c69-82b2-ce92afc70617/ poullight.ru
Update docstring Following
@@ -89,8 +89,8 @@ class FastGradientMethod(Attack): :param x: An array with the original inputs :type x: `np.ndarray` - :param y: - :type y: + :param y: Target values (class labels) one-hot-encoded of shape (nb_samples, nb_classes) + :type y: `np.ndarray` :return: An array holding the adversarial examples :rtype: `np.n...
Fix libvirt-guests handling post virt-guest-shutdown Tripleo_nova_libvirt_guests.service calls libvirt-guests.sh assuminig there is monolithic libvirt container running. That's not the case for modular libvirt. Use a proper container name for that.
@@ -1486,8 +1486,8 @@ outputs: [Service] EnvironmentFile=-/etc/sysconfig/libvirt-guests - ExecStart=/bin/{{container_cli}} exec nova_libvirt /bin/rm -f /var/lib/libvirt/libvirt-guests - ExecStop=/bin/{{container_cli}} exec nova_libvirt /bin/sh -x /usr/libexec/libvirt-guests.sh shutdown + ExecStart=/bin/podman exec nova...
typo minor typo
@@ -88,6 +88,6 @@ If you have [`custom_updater`](https://github.com/custom-components/custom_updat This and [`custom_updater`](https://github.com/custom-components/custom_updater) can not operate on the same installation. -If you used the special endpoint `/customcards/` endpoint for your Lovelace cards, you now need t...
minor change brolti changed to brotli
@@ -76,7 +76,7 @@ WordOps made some fundamental changes: - We've deprecated the mail stack. As an alternative, you can take a look at [Mail-in-a-Box](https://github.com/mail-in-a-box/mailinabox), [iRedMail](https://www.iredmail.org/) or [Caesonia](https://github.com/vedetta-com/caesonia). As Roundcube alternative, ther...
Correction to remove Maintains the object form even with the mass removal.
@@ -1660,14 +1660,10 @@ class RootNode(list): self.build_tree(node, obj_value) def add_operations_group(self, ops, pathname, basename): - # group = Node(NODE_OPERATION_GROUP, basename, self.node_operations, self) - # group.filepath = pathname self.build_tree(self.node_operations, ops) def add_element_group(self, elemen...
Add logging to webhooks Fixes
@@ -24,6 +24,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. """ +import logging import asyncio import json import time @@ -46,6 +47,8 @@ __all__ = ( 'Webhook', ) +log = logging.getLogger(__name__) + class WebhookAdapter: """Base class for all webhook adapters. @@ -194...
Cleanup in main window Have to figure out what the alternative of Action.connect_proxy would be.
@@ -528,7 +528,6 @@ class Namespace(object): element_factory = inject('element_factory') ui_manager = inject('ui_manager') action_manager = inject('action_manager') - main_window = inject('main_window') menu_xml = STATIC_MENU_XML % ('window', 'open-namespace') @@ -865,7 +864,9 @@ class Toolbox(object): action_name = bu...
Adding slashsolu to the docs. Shorting the `run_multiline` example. Fixing code block in `run_multiline`.
@@ -42,6 +42,12 @@ these commands (e.g. ``"/SOLU"``): mapdl.run('/SOLU') mapdl.solve() +You can use the alternative: + +.. code:: python + + mapdl.slashsolu() + Some commands can only be run non-interactively from within in a script. PyMAPDL gets around this restriction by writing the commands to a temporary input file...
test_apk: try to load androguard from local source code first If the Debian package is installed, the tests should try to load androguard from the local git/source before trying to load the Debian package.
import unittest - +import inspect +import os import sys +# ensure that androguard is loaded from this source code +localmodule = os.path.realpath( + os.path.join(os.path.dirname(inspect.getfile(inspect.currentframe())), '..')) +if localmodule not in sys.path: + sys.path.insert(0, localmodule) + from androguard.core.byt...
add additional dynamic domains now-dns, other missing domains
@@ -39178,6 +39178,7 @@ dynamic_dns_domains, isDynDNS_default *.inboxwebmail.net*, True *.inbrand.net.br*, True *.inbtec.com.br*, True +*.inc.gs*, True *.inca.com.ar*, True *.incarsreview.info*, True *.incasi.co.id*, True @@ -53093,6 +53094,7 @@ dynamic_dns_domains, isDynDNS_default *.mikroskeem.cf*, True *.mikrotik-te...
MAINT: Punctuate `fromstring` docstring. [ci skip]
@@ -979,8 +979,8 @@ def luf(lamdaexpr, *args, **kwargs): elements is also ignored. .. deprecated:: 1.14 - If this argument is not provided `fromstring` falls back on the - behaviour of `frombuffer`, after encoding unicode string inputs as + If this argument is not provided, `fromstring` falls back on the + behaviour of...
Ubuntu 17.x + Anaconda (python 3.5) installing Add instructions to install it in Ubuntu 17.x where Python 3.5 is not available by using Anaconda.
@@ -68,10 +68,35 @@ OSX Ubuntu/Debian """"""""""""" +Ubuntu 16.x or earlier :: apt-get install libleveldb-dev python3.5-dev python3-pip libssl-dev +Ubuntu 17.x or later + +Python 3.5 is not available in Ubuntu 17.x repositories but you can proceed to install it by using ``Anaconda`` instead of virtualenv: + +1) Downloa...
fix broken config remove repeated lines.
@@ -55,8 +55,6 @@ ExpressionExclusions_Calcs = #Recommended INI file for full test coverage: -[StandardTests] - [ConnectionTests] # An auto-generated section that is used to run tests to verify TDVT can connect to the Staples & cast_calcs tables. # The Connection Tests, and any other tests with the attribute `SmokeTest...
Verification: delete bots' messages Messages are deleted after a delay of 10 seconds. This helps keep the channel clean. The periodic ping is an exception; it will remain.
@@ -38,6 +38,7 @@ PERIODIC_PING = ( f"@everyone To verify that you have read our rules, please type `{BotConfig.prefix}accept`." f" If you encounter any problems during the verification process, ping the <@&{Roles.admin}> role in this channel." ) +BOT_MESSAGE_DELETE_DELAY = 10 class Verification(Cog): @@ -56,7 +57,11 @...
chore: Do not print traceback in console Instead print class of error and the site name
@@ -43,9 +43,8 @@ def enqueue_events_for_all_sites(): for site in sites: try: enqueue_events_for_site(site=site) - except: - # it should try to enqueue other sites - print(frappe.get_traceback()) + except Exception as e: + print(e.__class__, 'Failed to enqueue events for site: {}'.format(site)) def enqueue_events_for_s...
Retry bucket creation in signing setup. Closes
@@ -754,7 +754,7 @@ class TestStorageSignURLs(unittest.TestCase): cls.skipTest("Signing tests requires a service account credential") bucket_name = "gcp-signing" + unique_resource_id() - cls.bucket = Config.CLIENT.create_bucket(bucket_name) + cls.bucket = retry_429(Config.CLIENT.create_bucket)(bucket_name) cls.blob = c...
Add typeguard to MonitoringHub initializer * Add typeguard to MonitoringHub initializer This is part of issue * Change resource monitoring interval to float after feedback from zhuozhao * change docstring to match new type
@@ -3,6 +3,7 @@ import socket import pickle import logging import time +import typeguard import datetime import zmq @@ -12,7 +13,7 @@ from parsl.utils import RepresentationMixin from parsl.monitoring.message_type import MessageType -from typing import Optional +from typing import Optional, Tuple try: from parsl.monitor...
fix(backups): Allow individual backups of all tables Due to previous logic, only tables under DocType table were allowed to take partial backups. This change allows backup to be taken for deprecated doctypes too.
@@ -116,16 +116,16 @@ class BackupGenerator: def setup_backup_tables(self): """Sets self.backup_includes, self.backup_excludes based on passed args""" - existing_doctypes = set([x.name for x in frappe.get_all("DocType")]) + existing_tables = frappe.db.get_tables() def get_tables(doctypes): tables = [] for doctype in do...
Add batch_kwargs to page_renderer output for validation and profiling results
@@ -43,6 +43,7 @@ class ValidationResultsPageRenderer(Renderer): run_id = validation_results.meta['run_id'] batch_id = BatchKwargs(validation_results.meta['batch_kwargs']).to_id() expectation_suite_name = validation_results.meta['expectation_suite_name'] + batch_kwargs = validation_results.meta.get("batch_kwargs") # Gr...
MAINT: be more tolerant of setuptools>=60 NumPy may fail to build with the default vendored distutils in setuptools>=60. Rather than panic and die when new setuptools is found, let's check (or set, if possible) the SETUPTOOLS_USE_DISTUTILS environment variable that restores "proper" setuptools behavior.
import numpy.distutils.command.sdist import setuptools if int(setuptools.__version__.split('.')[0]) >= 60: - raise RuntimeError( - "Setuptools version is '{}', version < '60.0.0' is required. " - "See pyproject.toml".format(setuptools.__version__)) + # setuptools >= 60 switches to vendored distutils by default; this + ...
Fix deprecation warning about escaped chars Python3 interprets string literals as Unicode strings. This means that \S is treated as an escaped Unicode character. To fix this the RegEx patterns should be declared as raw strings.
@@ -691,8 +691,12 @@ class SAMLMirrorFrontend(SAMLFrontend): for binding, endp in self.endpoints[endp_category].items(): valid_providers = "|^".join(providers) parsed_endp = urlparse(endp) - url_map.append(("(^%s)/\S+/%s" % (valid_providers, parsed_endp.path), - functools.partial(self.handle_authn_request, binding_in=b...
Remove wrong color space conversions image in docs also related to
@@ -21,9 +21,6 @@ Filters in ``histolab`` are designed to be applied singularly or combined in a c * Image filters: * **Transforming image color space**: Color images can be represented using alternative color spaces and the most common one is the RGB space, where the image is represented using distinct channels for Re...
Dont allow snap spell types on macos Fixes
@@ -23,6 +23,7 @@ from pkg_resources import parse_version from raven.processors import SanitizePasswordsProcessor from termcolor import cprint +from conjureup import consts from conjureup.app_config import app from conjureup.models.metadata import SpellMetadata from conjureup.telemetry import track_event @@ -509,19 +51...
fix: dialogue label equals in DialogueLabel.__eq__, compare the label fields rather than the hash of the label fields
@@ -130,9 +130,12 @@ class DialogueLabel: def __eq__(self, other: Any) -> bool: """Check for equality between two DialogueLabel objects.""" - if isinstance(other, DialogueLabel): - return hash(self) == hash(other) - return False + return ( + isinstance(other, DialogueLabel) + and self.dialogue_reference == other.dialog...
Fix MySQL exception handler and typo There was the same issue about the MySQL exception handler that was fixed in Then a typo left in monitoring_purge (obj_attr_list -> _obj_attr_list).
@@ -47,7 +47,6 @@ from lib.auxiliary.value_generation import ValueGeneration from lib.remote.process_management import ProcessManagement from lib.auxiliary.data_ops import str2dic, dic2str, makeTimestamp from lib.operations.base_operations import BaseObjectOperations -from lib.stores.common_datastore_adapter import Met...
remove print skip deleted release notes
@@ -198,9 +198,7 @@ def createFileReleaseNotes(fileName): names = fileName.split("\t") changeType = names[0] fullFileName = names[1] - print("fullFileName: " + fullFileName) - print("changeType: " + changeType) - if changeType != "R100": + if changeType != "R100" and changeType != "D": with open(contentLibPath + fullFi...
Added selector argument and changed _subplot_has_no_traces It is now called _subplot_not_empty and selector can be used to choose what is meant by non-empty. The prior tests pass, but new tests for the subset selection criteria have to be introduced.
@@ -1302,7 +1302,7 @@ because subplot does not have a secondary y-axis""" # if exclude_empty_subplots is True, check to see if subplot is # empty and return if it is if exclude_empty_subplots and ( - not self._subplot_contains_trace(xref, yref) + not self._subplot_not_empty(xref, yref, selector=exclude_empty_subplots) ...
Update building_properties.py fix typo
@@ -769,9 +769,9 @@ def get_properties_technical_systems(locator, prop_hvac): return result -def verify_overlap_season(building_name, has_teating_season, has_cooling_season, heat_start, heat_end, cool_start, +def verify_overlap_season(building_name, has_heating_season, has_cooling_season, heat_start, heat_end, cool_sta...
Update CONTRIBUTING.md Fixed pycryptodome version (Thanks Florian REY)
@@ -24,7 +24,7 @@ You'll need Python 2.7 and we seriously advise you to use virtualenv (http://pyp The following packages are required: * Tornado >= 2.3.0 -* pycryptodome >= 3.4.5 +* pycryptodome >= 3.4.7 * pycurl >= 7.19.0 * Pillow >= 2.3.0 * redis >= 2.4.11
Fix yaml configuration-envs-interpolation examples the interpolation of the environment variables in yaml is wrong, I have changed the example from {$ ENV_VAR} to $ {ENV_VAR}
@@ -77,9 +77,9 @@ where ``examples/providers/configuration/config.yml`` is: .. code-block:: ini section: - option1: {$ENV_VAR} - option2: {$ENV_VAR}/path - option3: {$ENV_VAR:default} + option1: ${ENV_VAR} + option2: ${ENV_VAR}/path + option3: ${ENV_VAR:default} See also: :ref:`configuration-envs-interpolation`.
Update pyobjects test to be a list Refs the discussion in
@@ -126,8 +126,8 @@ Pkg.removed("samba-imported", names=[Other.server, Other.client]) random_password_template = '''#!pyobjects import random, string -password = ''.join(random.SystemRandom().choice( - string.ascii_letters + string.digits) for _ in range(20)) +password = ''.join([random.SystemRandom().choice( + string....