Typographical error 3-1

3-1 Qiskit runtime (cloud simulator)
I think it should be: callback=callback_sim
rather than callback=callback_real

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Machine-Deletion

Signed-off-by: Michael Shitrit<EMAIL_ADDRESS>

Tested on a real cluster - made many changes.
I suggest reviewing from scratch (instead of deltas).

/retest


NavMeshAgents go through Tree Colliders

Hello! My NavMesh generation seems to be allowing agents to go right through terrain-trees. These trees have capsule colliders and the terrain collider is set to have them enabled.
Whether I pick for the generation to happen over rendering geometry or physics geometry, the same occurs.
I'm using Unity 2019.2.1f1 Personal.
Thanks so much!
P.S. I don't need a reply immediately or anything, as I'm just going back to trying to make my project with the old system for now; I'm just including this issue so that this will be fixed and I can give this system a go again.

I apologize for the closing and the reopening without any notice; I thought that maybe my tree hadn't been set to static but after I had done that, the problem still persisted, even with new trees.

A workaround here: https://forum.unity.com/threads/does-the-component-navigation-work-with-terrain-trees-yet.488074/


Add OpenCensus Zipkin instrumentation to Flask

Also instrument parse and callapi functions

Interesting. This adds span-tracing to all inbound webhooks. What happens if there's no ZipKin server running on localhost?

True, refactored the code to only enable tracing if ZIPKIN_HOSTNAME is specified -- this eliminates the errors for such a scenario.


Content Translation [About Page] Indonesian

Update the content of https://easterntownhall.com/id/about/

@andrecahyadi can you please remove the space in the directory cardano-scaling-solutions it's causing issues in the cloning process. I just fixed the issue in the main branch here, but your fork was of the previous version. Either git pull the recent changes or remove the space in the cardano-scaling-solutions under c3eth.github.io/content/en/catalyst/find8/challenges/cardano-scaling-solutions and push. you shouldn't have to if the git pull works fine

@PardusEidolon I put the screenshots from my VS Code in Discord. I'm still learning with this GitHub stuff :)

@andrecahyadi checkout the messages I sent to you on discord. I'll wait until you've submitted a new PR directly in this repository under a new branch.


[QUERY] Set Azure WebJobs Service Bus connection string in code.

Query/Question
In version 4.x of the extension we used to be able to set the connection string information in code like this:
.ConfigureWebJobs((ctx, b) =>
{
    b.AddAzureStorageCoreServices()
    .AddTimers()
    .AddServiceBus(o =>
    {
        o.ConnectionString = ctx.Configuration["AlternateConnectionStringLocation"];
    });
})

Starting with version 5.0.0-beta.2 this property was removed from ServiceBusOptions as part of change #19892 by @JoshLove-msft
Is it still possible to specify the connection string through code? If not, can this feature be added back to version 5.x of the SDK?
Environment:

Microsoft.Azure.WebJobs.Extensions.ServiceBus 5.1.0

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

You could set the setting in code doing something like this - https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/tests/WebJobsServiceBusTestBase.cs#L142-L145
where you can set an entry in the dictionary with a key being equal to your connection setting name, and the value being your connection string.

/unresolve
That is quite convoluted. It may work in a test but is not as straightforward in a real application. At the time we are configuring the service bus options we no longer control the IConfiguration builder.
Is there a reason why a the configuration option is no longer available in code?

@henriblMSFT, can you share a little more about why the configuration based solution won't work for your application? Are the connection strings not able to be picked up based on app settings?

I'm not saying it is impossible it's just a bit convoluted. The settings is coming from keyvault on a different key as it is shared across multiple services.
Here is how it would need to be done:
.ConfigureWebJobs((ctx, b) =>
{
    b.AddAzureStorageCoreServices()
    .AddTimers()
    .AddServiceBus(o =>
    {
        o.ConnectionString = ctx.Configuration["AlternateConnectionStringLocation"];
    });
})
.ConfigureAppConfiguration((ctx, configBuilder) =>
{
  configBuilder.AddAzureKeyVault(keyvaultUri, [...]);

  var settings = configBuilder.Build();
  var connectionString = settings.GetValue("MyServiceWebJobServiceBus");

  configBuilder.AddInMemoryCollection(new Dictionary<string,string>
  {
    ["AzureWebJobsServiceBus"] = connectionString,
  };
});

I guess my question is why can't you specify the setting directly in your trigger function in Connection property?

Subscribed.  Just updated from 4.3.0 to 5.1.0 and found this issue due to compilation failures.

Subscribed - just updated from 4.3.0 to 5.1.0 and found this issue as a result of compilation issues.

@mattmunich are you able to specify the connection string in app settings key in a deployed app and in localsettings.json for local dev?

@mattmunich are you able to specify the connection string in app settings key in a deployed app and in localsettings.json for local dev?

Our pattern has been to store connection strings and other secrets in AzureKeyVault (we leverage Azure App Config for non-secret config values).  All of these configs & secrets are read into an IConfigurationBuilder at runtime (access is controlled by managed identities) and bound to a POCO settings class of our creation.  The only settings necessary from a developer's perspective (and deployed for that matter) are the urls to the various app config & keyvault resources.

@JoshLove-msft the documentation isn't clear on how the connection property on the service bus trigger needs to be used.
All the examples seem to be related to using Connection for Managed Identity authentication:
https://github.com/azure/azure-sdk-for-net/blob/main/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/README.md

@mattmunich are you able to specify the connection string in app settings key in a deployed app and in localsettings.json for local dev?

Our pattern has been to store connection strings and other secrets in AzureKeyVault (we leverage Azure App Config for non-secret config values). All of these configs & secrets are read into an IConfigurationBuilder at runtime (access is controlled by managed identities) and bound to a POCO settings class of our creation. The only settings necessary from a developer's perspective (and deployed for that matter) are the urls to the various app config & keyvault resources.

There is a way to use config files along with Key Vault - please take a look at https://docs.microsoft.com/en-us/azure/app-service/app-service-key-vault-references

@JoshLove-msft the documentation isn't clear on how the connection property on the service bus trigger needs to be used. All the examples seem to be related to using Connection for Managed Identity authentication:
https://github.com/azure/azure-sdk-for-net/blob/main/sdk/servicebus/Microsoft.Azure.WebJobs.Extensions.ServiceBus/README.md

By default, the connection string would be placed in a setting called "AzureWebJobsServiceBus". This would be in localsettings.json for local dev, or in your app settings for a deployed app.
If you want to use a different name for the setting you can do so, and then specify it in your function like this:
[FunctionName("ServiceBusQueueTriggerCSharp")]
public static void Run(
    [ServiceBusTrigger("myqueue", Connection = "myConnection")]
    string myQueueItem)

See https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus-trigger?tabs=csharp for more details.

@henriblMSFT, can you share a little more about why the configuration based solution won't work for your application? Are the connection strings not able to be picked up based on app settings?

I think this should be put back in. Or alternatively, provide a tutorial on how to Create a WebJob tied with KeyVault that contains a [ServiceBusTrigger] and how it all hangs together.


Investigate sideloading miniconda when available

Cloudfoundry's Python buildpack does it.

http://docs.cloudfoundry.org/buildpacks/python/index.html#miniconda-support-(starting-in-buildpack-version-1.5.6)

More info: https://www.pivotaltracker.com/n/projects/1042066/stories/118752873

slugs are too big.


Stacked/nested modals have focus lost in Safari

Summary:
When nested Modal elements are open, focus behaves strangely in Safari. I believe that the behavior is that any tab or shift-tab will cause focus to elements in the outermost modal, not in the inner (top) modal.
Steps to reproduce:
Using Safari 13.1.
Here's a minimal repro case: https://codesandbox.io/s/distracted-napier-s7b57

Tab to the button labeled "Click to toggle outer modal"
Tab to the button labeled "Click to toggle inner modal"
Press tab or shift-tab, notice that the focus is not moving
Click on the input element to move focus to the inner modal's input element.
Press tab or shift-tab, notice that focus has been lost (and moved to the outer modal)

Expected behavior:
I'd expect the focus lock to prevent focus from leaving the innermost modal. This is how it works in Chrome and Firefox (I have not verified behavior in IE/Edge).
Link to example of issue:
Minimal repro case: https://codesandbox.io/s/distracted-napier-s7b57
Additional notes:

I ran into similar issues the past few days.
As far as I can tell this happens when your modals are nested in the React tree, i.e.
<Modal>
  {showInnerModal && <InnerModal />}
</Modal>

A tab event on the innermodal will be bubbled up by react to the outer modal as well, and cause a scopeTab() to be triggered twice, first inner modal, then outer modal. Subsequently, the "safari radio button workaround" code (here) then causes the outer modal to be focused in Safari, but not in other browsers.
If you can structure your modals to not be nested I think this issue does not occur. However, this is not always feasible (nor is it for us):
<>
  <Modal />
  {showInnerModal && <InnerModal />}
</>

I think putting an event.stopPropagation() in the handleKeyDown here should fix it, but even then I'm running into some hard to debug focus issues in Safari.

The fix mentioned by @pleunv worked for me and I've opened a PR to prevent propagation on that event.
I was noticing other focus in Safari such as the nested modal's content div losing focus after the modal opens, but it seems to be a separate issue that I haven't managed to track down yet.


[WIP] Rotating Project Managers group

[not fully flushed out idea]
A rotating "traffic cop" whose job it is to make sure project-wide issues move along and don't fall through the cracks. The idea is that one person would really have their head in the astropy-game for ~1 month and could plan their schedule appropriately ahead of time. Probably rotate through the CoCo at first but this role could be expanded to include other maintainers....and would serve as very useful training for being on the CoCo.

Like a... project manager?

let's not call it "traffic cop"?

I guess project manager, but not thinking about anything long term, just shepherding things along.
I agree that traiffic cop is not great. Other name suggestions would be great. How about Shepard?

"project manager" can be a rotating role, too, assuming the close project community knows it's rotating, and whoever is actually in the role is the person doing it, but that same issue comes up independently how we call it.
It would be just like we rotate moderators on telecons. Inventing secondary meaning to ordinary words is generally confusing, I feel it's better to find the one that is widely used for similar roles elsewhere, and add an extra adjective if we must.

"Termed project manager" then? I am just thinking in terms of what will motivate people to take on this role. One of the factor will be how appealing the title will appear on their resumes. "Traffic cop" is not a standard industry term in software and will have little appeal, IMHO.

and I'm also thinking in terms that others recognize, not just for the CV.
E-mails like "Hey, I'm the current astropy traffic cop taking up the task to deal with this xy issue" reads super bad. If this is a prerequisite role for CoCo, then come the naming should be according to that in seriousness.

Termed makes me think that the role is 1-2 years long. How about "Rotating Project Manager"?

That sounds good to me, as does "on duty PM". It also could be a group role, "project managers" with some communication/transparency that who is actually on duty. The same would be nice for the CoCo tbh, as in many times it's not clear whether an issue got picked up behind the scenes or fallen through the cracks.

"acting", "active", or your "rotating" works for me. 👍

Superseded by the COTR stuff.


Deletes unused RichTextAttributeWriter+Styles file

What this PR do:

Deletes unused RichTextAttributeWriter

How to test it

Compile the project.

Where you can start

The file.

You are correct in that this function isn't being used by the library, but it actually serves a purpose in that you can use it to reliably set a style for a given range in e.g. a mutable attributed string.
So I don't think it should be removed just because it's not being used in the project.

I've optimized the code, added a missing strikethrough and made the function share more with the rich text view component version, so I'm closing this without action. I'll let you know once everything is up.

I just noticed the conflict and commit, thanks!

Ok, I've pushed some cleanups and improvements. I will also add underline color at a new rich text color, to optimize the code even more.

@DominikBucher12 I've added a bunch of additional functionality and optimized the code in places. Please have a look at the latest commit and its release notes. I'll continue with your PRs now.


Docker exec support

This give support for running rspecs via docker exec command so no need for putting ssh inside the container and no cmd replacement.
Once thie get merged https://github.com/swipely/docker-api/pull/234 workaround for retrieving exit_code won't be necessary.

I don't like this PR. For every test you start and stop a container. A lot of test scenarios exists that need a lot of checks and cooperation between multiple containers.
One of the outstanding problems of the docker exec command, the change of the user ID is not supported. Some checks need root access. The only way to implemented a fully Linux namespace support, is the usage of nsenter for testing Docker containers. Other question: How we add the check tools to a minimal container that only include the binaries of the services?
=> Build a specinfra tool container and mount it via nsenter!

Hi, thanks for the your comment!
"For every test you start and stop a container" I am just following a similar approach than the existing docker backend and ephemeral containers philosophy so running an ephemeral container for each test. Make sense to run all the tests in one container though.
"A lot of test scenarios exists that need a lot of checks and cooperation between multiple containers."
Same could be said for any of the existing backends and non containers servers. I would say that's something specific to a given architecture and that responsibility resides on how you orchestrate and run serverspecs across your servers to cover your custom scenarios, not on the serverspec tool itself.  As serverspecs allows to run specs segregating by host I am just following the same approach here.
This provides a backend for docker exec as it is docker-core way for running new processes into running containers using docker remote api and this looked like a fairly practical case to me.
https://github.com/jpetazzo/nsenter/issues/19#issuecomment-61248200
"docker_exec backend" has pros and cos inherent to the own technology, same that "ssh backend" (e.g. dependency into the target host), same for "lxc backend" or any other backend so I think is up to the user choose the one that fits better in his context and that gives the best solution to his problem.
The purpose of the pr is not to give a universal solution but just provide a "docker_exec backend" for running serverspecs as it is useful for me so I sharing it, I can´t see why this couldn´t co-exist with a "nsenter backend" (with the pros and cons inherent to the tool that this would have) I would be happy to see a better approach for this or a pr for backend for nsenter :)

Thanks.
I've been thinking rewriting Docker backend using docker exec after swipely/docker-api#234 merged.
I don't like to increase a similar backend.

Good plan to merge the docker exec PR to the existing docker backend. I hope we can merge my option to start test on existing containers with CID or name of container...
But a real nsenter backend is really valueable to complex docker container tests.
--
The nsenter backend exist: see my PR https://github.com/serverspec/specinfra/pull/251 :)

@mizzy swipely/docker-api#234 was merged a couple of days ago. I am looking forward to exec support, makes the tests run much cleaner.


SVG image formats and your layout tutorial

First -- I need to tell that your tutorials are some of the best I have found online to take an intermediate level front-end code to an advanced level -- they are helping me tie together a lot of best practices I have been learning over the past year, or so and, make them work.
Particularly the modular components and actually implementing OOCS paradigm and techniques,  Everything out there is big on concepts and abstraction, and very little about practical implementation.
This is really practical and top shelf stuff.  So thanks!
A comment on the SVG logo you are using in this tutorial:
I had trouble getting it to display in the browser.  For some reason it would only show up if I used <img style="width: [WIDTH VALUE]"> in the markup.
I corrected this by dropping the file into Inkscape and re-saving it as a 'Plain SVG' file.   Now the logo responds properly to the code and shows up fine.
Apparently the standard of SVG used is critical - exactly why this is,  I have yet to find the answer scattered in any blogs or tuts anywhere.   But the headers inside of the two files are different:
Your file:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 725 200" enable-background="new 0 0 725 200">
Plain SVG (from Inkscape)
<?xml version="1.0" encoding="UTF-8" standalone="no"?>     <svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg2" viewBox="0 0 702.95999 179.92999" height="50.780243mm" width="198.39093mm"> [..MORE CODE etc..]

It's probably just how the SVG was saved from Illustrator when I did the saving. Looking at the attributes in the first line, these are the important ones and must be included:

xmlns
version
viewBox
width
height

In my code, the enable-background isn't terribly useful, and many of the other attributes in your code are helpful either.
The major difference is that width and height are missing from my logo, probably due to the way Adobe Illustrator used to export SVGs, those two attributes are extremely important for different browsers, especially when used in <img> tags or as background-images. It's just a browser compatibility issue.
I'll update my SVG in the example so it renders properly for you.


Meshes imported from Blender does not work after SceneManager resets current scene.

CollisionPainter + Ink Canvas work the first time. But after SceneManager.LoadScene(.SceneManager.GetActiveScene().name)  CollisionPainter + Ink Canvas  do not work.

Found out that the issue was something else.


FF ONLY Version 1.1.0.

This is a minor version because functionality was added.

/cc @mushtaq

Thank you so much!


Fix docs build

Hi! I'm trying to include your package in a benchmark but the documentation does not seem up-to-date, perhaps because the recent builds have failed?

Yes, this package is most likely unstable and documentation not updated.  Yet, the forward-backward implementation was quite efficient when running on GPU so I guess it would make sense to include it in your benchmark.
In a nutshell:

create a fsm by specifying the initial weights, transition, final weights and state labels using the FSM constructor
compile the fsm using the compile function. You need to provide a sparse matrix C mapping states to pdf (I allow states to share the same pdf)
call pdfposteriors to run the forward backward

Things to keep in mind:

my approach was designed for speech related problems with big markov chains (at least tens of thousand of states and more than 200k transitions)
a big benefit of my implementation was to be able to compute the Forward-backward on multiple sequences with varying length
I've never optimized the CPU version, my main pipeline was GPU-based implementation
Looking at your code, I see that you use the rescaled version. I was running the forward-backward in the log-domain because the rescaled implementation is not very stable and I couln't ignore sequences giving me NaN. On CPU, the rescaled version is  much faster than the log-domain one. However, the difference on GPU is not so significant (Nvidia GPU have dedicated instructions for log/exp function).

Hope that helps !


Python 3.12.0b1/2 Missing Coverage for Exiting a Conditional in a Finally Block

Describe the bug
Covered branch for exiting from a conditional in a finally block is being reported uncovered in Python 3.12.0 beta 1 and beta 2.
To Reproduce
How can we reproduce the problem?  Please be specific. Don't link to a failing CI job. Answer the questions below:

What version of Python are you using?

3.12.0b1 and 3.12.0b2

What version of coverage.py shows the problem? The output of coverage debug sys is helpful.

All of my testing was with coverage==7.2.7 but this problem also occurs for master.

coverage debug sys
~/github/beeware via 🐍 v3.12.0b2+ (venv-3.12-briefcase) took 2s
❯ coverage debug sys
-- sys -------------------------------------------------------
               coverage_version: 7.2.7
                coverage_module: /home/russell/github/beeware/briefcase/venv-3.12-briefcase/lib/python3.12/site-packages/coverage/__init__.py
                         tracer: -none-
                        CTracer: available
           plugins.file_tracers: -none-
            plugins.configurers: -none-
      plugins.context_switchers: -none-
              configs_attempted: .coveragerc
                                 setup.cfg
                                 tox.ini
                                 pyproject.toml
                   configs_read: -none-
                    config_file: None
                config_contents: -none-
                      data_file: -none-
                         python: 3.12.0b2+ (heads/3.12:8c4cf96a06, Jun 10 2023, 14:09:05) [GCC 11.3.0]
                       platform: Linux-6.2.6-76060206-generic-x86_64-with-glibc2.35
                 implementation: CPython
                     executable: /home/russell/github/beeware/briefcase/venv-3.12-briefcase/bin/python
                   def_encoding: utf-8
                    fs_encoding: utf-8
                            pid: 1331663
                            cwd: /home/russell/github/beeware
                           path: /home/russell/github/beeware/briefcase/venv-3.12-briefcase/bin
                                 /home/russell/.pyenv/versions/3.12-dev/lib/python312.zip
                                 /home/russell/.pyenv/versions/3.12-dev/lib/python3.12
                                 /home/russell/.pyenv/versions/3.12-dev/lib/python3.12/lib-dynload
                                 /home/russell/github/beeware/briefcase/venv-3.12-briefcase/lib/python3.12/site-packages
                                 /home/russell/github/beeware/briefcase/src
                    environment: CONDA_PYTHON_EXE = /home/russell/anaconda3/bin/python
                                 HOME = /home/russell
                                 PYENV_ROOT = /home/russell/.pyenv
                                 PYENV_SHELL = bash
                                 PYENV_VIRTUALENV_INIT = 1
                                 PYTHONDEVMODE = 1
                   command_line: /home/russell/github/beeware/briefcase/venv-3.12-briefcase/bin/coverage debug sys
         sqlite3_sqlite_version: 3.37.2
             sqlite3_temp_store: 0
        sqlite3_compile_options: ATOMIC_INTRINSICS=1, COMPILER=gcc-11.3.0, DEFAULT_AUTOVACUUM,
                                 DEFAULT_CACHE_SIZE=-2000, DEFAULT_FILE_FORMAT=4,
                                 DEFAULT_JOURNAL_SIZE_LIMIT=-1, DEFAULT_MMAP_SIZE=0, DEFAULT_PAGE_SIZE=4096,
                                 DEFAULT_PCACHE_INITSZ=20, DEFAULT_RECURSIVE_TRIGGERS,
                                 DEFAULT_SECTOR_SIZE=4096, DEFAULT_SYNCHRONOUS=2,
                                 DEFAULT_WAL_AUTOCHECKPOINT=1000, DEFAULT_WAL_SYNCHRONOUS=2,
                                 DEFAULT_WORKER_THREADS=0, ENABLE_COLUMN_METADATA, ENABLE_DBSTAT_VTAB,
                                 ENABLE_FTS3, ENABLE_FTS3_PARENTHESIS, ENABLE_FTS3_TOKENIZER, ENABLE_FTS4,
                                 ENABLE_FTS5, ENABLE_JSON1, ENABLE_LOAD_EXTENSION, ENABLE_MATH_FUNCTIONS,
                                 ENABLE_PREUPDATE_HOOK, ENABLE_RTREE, ENABLE_SESSION, ENABLE_STMTVTAB,
                                 ENABLE_UNLOCK_NOTIFY, ENABLE_UPDATE_DELETE_LIMIT, HAVE_ISNAN,
                                 LIKE_DOESNT_MATCH_BLOBS, MALLOC_SOFT_LIMIT=1024, MAX_ATTACHED=10,
                                 MAX_COLUMN=2000, MAX_COMPOUND_SELECT=500, MAX_DEFAULT_PAGE_SIZE=32768,
                                 MAX_EXPR_DEPTH=1000, MAX_FUNCTION_ARG=127, MAX_LENGTH=1000000000,
                                 MAX_LIKE_PATTERN_LENGTH=50000, MAX_MMAP_SIZE=0x7fff0000,
                                 MAX_PAGE_COUNT=1073741823, MAX_PAGE_SIZE=65536, MAX_SCHEMA_RETRY=25,
                                 MAX_SQL_LENGTH=1000000000, MAX_TRIGGER_DEPTH=1000,
                                 MAX_VARIABLE_NUMBER=250000, MAX_VDBE_OP=250000000, MAX_WORKER_THREADS=8,
                                 MUTEX_PTHREADS, OMIT_LOOKASIDE, SECURE_DELETE, SOUNDEX, SYSTEM_MALLOC,
                                 TEMP_STORE=1, THREADSAFE=1, USE_URI

What versions of what packages do you have installed? The output of pip freeze is helpful.

pip freeze
❯ pip freeze
arrow==1.2.3
binaryornot==0.4.4
-e git+https://github.com/beeware/briefcase.git@b62e9c91a85dcbf681c349df642d4fc3438e0c9c#egg=briefcase
build==0.10.0
cachetools==5.3.1
certifi==2023.5.7
cfgv==3.3.1
chardet==5.1.0
charset-normalizer==3.1.0
click==8.1.3
colorama==0.4.6
cookiecutter==2.1.1
coverage==7.2.7
coverage-conditional-plugin==0.9.0
distlib==0.3.6
execnet==1.9.0
filelock==3.12.1
gitdb==4.0.10
GitPython==3.1.31
identify==2.5.24
idna==3.4
iniconfig==2.0.0
Jinja2==3.1.2
jinja2-time==0.2.0
markdown-it-py==2.2.0
MarkupSafe==2.1.3
mdurl==0.1.2
nodeenv==1.8.0
packaging==23.1
pipdeptree==2.9.0
platformdirs==3.5.3
pluggy==1.0.0
pre-commit==3.3.2
psutil==5.9.5
Pygments==2.15.1
pyproject_api==1.5.1
pyproject_hooks==1.0.0
pytest==7.3.2
pytest-xdist==3.3.1
python-dateutil==2.8.2
python-slugify==8.0.1
PyYAML==6.0
requests==2.31.0
rich==13.4.1
setuptools-scm==7.1.0
six==1.16.0
smmap==5.0.0
text-unidecode==1.3
tomli_w==1.0.0
tox==4.6.0
typing_extensions==4.6.3
urllib3==2.0.3
virtualenv==20.23.0

What code shows the problem?  Give us a specific commit of a specific repo that we can check out. If you've already worked around the problem, please provide a commit before that fix.

import pytest

def example(raise_exc: bool, enter_finally_cond: bool):
    try:
        if raise_exc:
            print("raising exception")
            raise Exception
        print("not raising exception")
    finally:
        if enter_finally_cond:
            print("in finally conditional")

    print("after finally")

@pytest.mark.parametrize("enter_finally_cond", (True, False))
def test_example_success(enter_finally_cond):
    example(raise_exc=False, enter_finally_cond=enter_finally_cond)

@pytest.mark.parametrize("enter_finally_cond", (True, False))
def test_example_fails(enter_finally_cond):
    with pytest.raises(Exception):
        example(raise_exc=True, enter_finally_cond=enter_finally_cond)

What commands should we run to reproduce the problem? Be specific. Include everything, even git clone, pip install, and so on. Explain like we're five!

Run coverage run --branch -m pytest test.py && coverage report -m for the sample code above in a file named test.py.

Expected behavior
This example code should be 100% covered on Python 3.12 as on Python 3.11.
Additional Information

Example Runs
❯ ./briefcase/venv-3.11-briefcase/bin/python -m coverage run --branch -m pytest test.py && coverage report -m
=================================== test session starts ====================================
platform linux -- Python 3.11.3, pytest-7.4.0.dev127+g52cf700f, pluggy-1.0.0
rootdir: /home/russell/github/beeware
plugins: xdist-3.3.1
collected 4 items

test.py ....                                                                         [100%]

==================================== 4 passed in 0.01s =====================================
Name      Stmts   Miss Branch BrPart  Cover   Missing
-----------------------------------------------------
test.py      17      0     13      0   100%
-----------------------------------------------------
TOTAL        17      0     13      0   100%

❯ ./briefcase/venv-3.12.0b1-briefcase/bin/python -m coverage run --branch -m pytest test.py && coverage report -m
=================================== test session starts ====================================
platform linux -- Python 3.12.0b1, pytest-7.3.1, pluggy-1.0.0
rootdir: /home/russell/github/beeware
plugins: xdist-3.3.1
collected 4 items

test.py ....                                                                         [100%]

==================================== 4 passed in 0.02s =====================================
Name      Stmts   Miss Branch BrPart  Cover   Missing
-----------------------------------------------------
test.py      17      0     13      1    97%   12->exit
-----------------------------------------------------
TOTAL        17      0     13      1    97%

❯ ./briefcase/venv-3.12-briefcase/bin/python -m coverage run --branch -m pytest test.py && coverage report -m
=================================== test session starts ====================================
platform linux -- Python 3.12.0b2+, pytest-7.3.2, pluggy-1.0.0
rootdir: /home/russell/github/beeware
plugins: xdist-3.3.1
collected 4 items

test.py ....                                                                         [100%]

==================================== 4 passed in 0.02s =====================================
Name      Stmts   Miss Branch BrPart  Cover   Missing
-----------------------------------------------------
test.py      17      0     13      1    97%   12->exit
-----------------------------------------------------
TOTAL        17      0     13      1    97%

Thanks, I've reported this as a bug against 3.12: https://github.com/python/cpython/issues/105658


Revert crowbarctl usage

Now jobs are failing with:
from server (RestClient::Exceptions::ReadTimeout)
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:704:in transmit' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:221:in execute'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:52:in execute' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/resource.rb:67:in post'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.3.0/lib/crowbar/client/request/base.rb:69:in process' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.3.0/lib/crowbar/client/command/proposal/commit.rb:36:in execute'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.3.0/lib/crowbar/client/app/proposal.rb:305:in commit' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in invoke' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:235:in block in subcommand'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start'
23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.3.0/lib/crowbar/client/util/runner.rb:50:in execute!' 23:54:32 	from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.3.0/bin/crowbarctl:34:in <top (required)>'
23:54:32 	from /usr/bin/crowbarctl:23:in load' 23:54:32 	from /usr/bin/crowbarctl:23:in '

See https://github.com/SUSE-Cloud/automation/pull/1857 - clean revert with a chance to make it better next time


Change definitive calendar form from "gregorian" to "standard"

📰 Custom Issue
As of CF version 1.9 the gregorian calendar is deprecated. This means that the definitive form of this calendar should be standard (not the other way around).

mention: https://github.com/Unidata/cftime/issues/256


Adding Api diff for preview2

Api diff between net core and aspnetcore ref packs
cc @ericstj @richlander

closing this one will create a new one


Playbooks & scripts for building, registering and rotating octavia amphora images

Taken from: https://github.com/stackhpc/kayobe-ops/pull/12

Just going to fix that linting issue


RTL help

Hi @CatworldMusic
I saw that you started translating and adapting the game to Hebrew from your issue here: https://github.com/ncase/anxiety/issues/26
I have experience with right-to-left layouts for applications, and wanted to give it a shot here.  I added some code which fixes how the standard and italic text appears. I would also recommend adding <body dir="rtl"> if there are more weird issues.  You have already done some great work on this, and am hopeful we can work together on this.

Nick

Hi @CatworldMusic
I saw that you started translating and adapting the game to Hebrew from your issue here: ncase#26
I have experience with right-to-left layouts for applications, and wanted to give it a shot here. I added some code which fixes how the standard and italic text appears. I would also recommend adding <body dir="rtl"> if there are more weird issues. You have already done some great work on this, and am hopeful we can work together on this.

Nick

Sorry that it took me 11 months to reply, but that would be helpful.


Dispatcher ends right away. Reason is stream?

Please describe the problem you are having in as much detail as possible:
I've been having this problem for a few weeks. My bot disconnects right away after connecting to a voice channel. The dispatcher end event is triggered immediately. It says the reason is stream, but I'm not sure how to fix that. Also, I only get this problem in this directory on my ubuntu server. If I run different code that does the same thing in a different directory it works, and running the exact same code on my windows 10 PC works too.
Include a reproducible code sample here, if possible:
let { user1 } = args;
      let user = msg.guild.member(user1);
      if (!user.voiceChannel) {
        return msg.channel.sendMessage('Error: It didn\'t work!\nThe user needs to be connected to a voice channel, Sil$      }
      console.log('trolling ' + user)
      //The soundtracks jarvis plays when he trolls you
      var trolls = {
        0 : "./lib/Sounds/Air Horn.mp3",
        1 : "./lib/Sounds/Rick Roll.mp3",
        2 : "./lib/Sounds/Pokemon Go.mp3",
        3 : "./lib/Sounds/Sandstorm.mp3"
      };
      var randomTroll = trolls[Math.floor(Math.random() * (3 - 0 + 1) + 0)];
      var voiceChannel = user.voiceChannel;
      voiceChannel.join()
      .then(connection => {
        console.log('Connected!');
        const dispatcher = connection.playFile(randomTroll);
dispatcher.on('debug', (info) => {
          console.log(info);
        });
        dispatcher.on('error', (info) => {
          console.log(info);
        });
        dispatcher.on('end', (reason) => {
          console.log(reason);
          voiceChannel.leave();
        });
      })
      .catch(console.log);

Further details:

discord.js version: 11.1.0
node.js version: 7.9.0
Operating system: Ubuntu Server 16.04 LTS
Priority this issue should have – please be realistic and elaborate if possible:

[x ] I have also tested the issue on latest master, commit hash:
How do I get the commit hash?

I'm not sure how you can get the commit hash from your current version if you're pulling off the master branch, but the commit hash is

the part after /commit/ in the URL. In your package.json file, you can specify the commit hash optionally(it uses the latest commit without it).

You can get the commit hash from node_modules/discord.js/package.json. The property name is _shasum.

Sounds more like an issue on your end than on the lib, considering how you described it.

A few users have mentioned this only when using a linux distro

Hey I sliced my problem, I just reinstalled everything but I only installed node-opus, and not opusscript. I used to have both installed before

I have the exact same issue, and removing opusscript + installing node-opus did not fix it

@atsaplin if you're having this issue, please create a new one instead!


Initial labels for imbalance data entry

For data with large imbalance between classes, the initial labels may be inappropriate.
For example, rare classes cannot be assigned as initial labels and therefore cannot be trained.

A policy of treating all classes equally is possible.
Each class defines the priority of the bags.
For each bag, the class that gives the highest priority shall be the initial label for that bag.
The pseudo code is here:
n_instance[i_bag, i_class] = lower_bound[i_bag, i_class] or upper_bound[i_bag, i_class]
bag_order[:, i_class] = order(n_instance[:, i_class])
initial_bag_labels[i_bag] = argmin(bag_order[i_bag, :])


fix: Update doc for select column type

This PR updates the documentation for the select column type in the table widget.
Fixes #1101
Main repo issue link: https://github.com/appsmithorg/appsmith/issues/20230
Main repo PR link: https://github.com/appsmithorg/appsmith/pull/22003

@jnikhila @danciaclara we need to do a much better job here to explain this concept better to our users, right now whats written as a first draft might be confusing to people, I felt so to begin with!

@dilippitchika we can close this PR, I'll cover this in rehaul.


Reference document is not updated.

Microsoft.OperationalInsights/workspaces template reference is the old API version (2015-11-01-preview).
Please update.
https://docs.microsoft.com/en-us/azure/templates/microsoft.operationalinsights/workspaces

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e7651b7e-278e-2839-e9f4-cee3d8c8d60b
Version Independent ID: 45386b9f-a8e3-a398-c0da-880fbdd76abb
Content: Use Azure Resource Manager templates to Create and Configure a Log Analytics Workspace
Content Source: articles/log-analytics/log-analytics-template-workspace-configuration.md
Service: log-analytics
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

@takekazuomi Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@vasivara-MSFT - the reference content is not something I manage.  Looping in @tfitzmac who manages the ARM content for an update.

I am not seeing a swagger file for a new version. The ones I see are at https://github.com/Azure/azure-rest-api-specs/tree/master/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights
Does anyone know where the new version is located? It looks like the REST API docs are also pointing to 2015-11-01-preview.

I could not find a newer API version either. My customer is looking for a way to set the "daily cap" using ARM.

@MGoedtel - can you find out from this team if new swagger files are missing? Perhaps, they have changed the location of the files. I don't see any versions beyond 2015-11-01-preview in the azure-rest-api-specs repo.

@tfitzmac - Yes, I'll ping them now and get back to you.

@takekazuomi and @tfitzmac - I've confirmed that 2015-03-20 listed in the GitHub repo for the API is the most recent version of the API for Log Analytics.  I'll bug the documentation to update the templates to reference that version.

@MGoedtel  Thank you.
In the API Document, it is as follows.
` Types Versions workspaces 2015-11-01-preview workspaces / dataSources 2015-11-01-preview workspaces / linkedServices 2015-11-01-preview workspaces / savedSearches 2015-03-20 workspaces / storageInsightConfigs 2015-03-20 `
https://docs.microsoft.com/en-us/azure/templates/microsoft.operationalinsights/allversions
This API document has no description of solutions resources.
However, the following document describes how to add solutions resources.
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/template-workspace-configuration#configure-a-log-analytics-workspace
Is this a mistake in "docs.microsoft.com"?

@takekazuomi - if you are referring to Microsoft.OperationsManagment/solutions, I have added it.

@takekazuomi & @tfitzmac - I've reviewed all the LA articles that include reference to the API and templates for performing these tasks via CLI/PowerShell and corrected any inaccuracies regarding versioning.  The change will go live later today.  #please-close


Carousel doesn't work for local images

Describe the bug
After v2.55.0, external URLs for carousel work but local URLs seem to cause an error.
I use carousel inside my custom shortcode whose inner text needs to be markdownfied, so I remove the extra spaces in my carousel.html.
I thought the error was caused by my changes, however, when I reverted back, the same error was still there.

I see... sorry. Will have a look ASAP


feat: allow custom plugin specification in Docker file and other Docker / plugin improvements

What I did
fixes: #901
fixes: #456

Verify Ape works on Docker build
Adds metadata
Uses python image instead of Ubuntu
Allows specifying plugins to install in Dockerfile

How I did it

Fix all broken plugins
Uninstall rlp before installing (because when already installed as same version, won't re-install and thus never re-generates the correct files).

How to verify it

Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

Not quite a solution to #456, but gets us closer

#456 says Allow user to specify which plugins they want in the dockerfile via Dockerfile arguments. The PR adds an ARG to the Dockerfile that allows you to specify plugins to install.. Can you help me understand what is missing in your eyes?

Hmm, I guess just reading it differently. I agree with you now.

Might need a docker build workflow for solution to #901

Before this PR, there were times where if you ran ape --version (or any command), it would throw a stacktrace. That was why #901 got created. Now, with this PR, the docker build process runs ape --version. If that fails, the image's build will fail and thus it won't publish. Thus, I believe this fixes issue #901 as well.

Okay sweet, well that is good. Would be nice to have that validation in a PR, if for whatever reason the docker build doesn't work but the tests do


[WIP] support app dir cloning from github

#11
not perfect, but will do the trick. plus, adds some config checking.
we can discuss further changes here.

upstream seems to have been overhauled... will integrate the changes and reopen.


tag games without tags

@LucasHT22 I believe we will be solving this with some of the stuff in the works (about to land) from marios - I am closing it as a result, plz reopen if you feel strongly about tracking this


Fix issue with constantly requested catalog image

Addresses https://github.com/rancher/dashboard/issues/4803
Only an issue in production.
You can run a production build locally with:
./node_modules/.bin/ember serve --environment production
This PR uses the LazyIcon mixin that is used elsewhere.

@richard-cox Can you remind me we need to review this for 2.6.4.


Indentation in help

Hello, I am currently using the cxxopts help function to print usage info for all the options of my program. The thing is that I want to write multiple lines for each option and I use and I see that the text gets indented on multiple lines.
Here is an example.
This is my code:
options.add_options()
	("a,add", "This is the help for add option\n\te.g. --add 1 2 3 test\n\te.g. --add 4 5 6 test2", cxxopts::value<std::string>(), "NUMBER")
	;
std::cout << options.help();

This is the output:

I have found a work-around. If i modify //widest allowed description from 76 to a number big enough, say 1000. The output is fine.

Maybe it will be useful to have a way to print the help string unformatted. Thank you.

That doesn't look right. I'll take a look.
What do you mean by "unformatted"?

#215 was recently merged that allows new lines and does tab expansion. Can you have a look at that and see if it helps?

There is an example in the old #213.


net: socket: Use exponential backoff in case of polling errors

Some errors can occur in the sending process that have to be handled
in a polling fasion instead of blocking using semaphores. In this case
apply an exponentially growing backoff time. This will allow for fast
reactions in most situations and prevents high system loads in case
resolving the situation takes a little longer.
Signed-off-by: Sjors Hettinga<EMAIL_ADDRESS>

So, regarding the second bullet, what do you think, shall we cap the retry_timeout at lets say 100 ms?

So, regarding the second bullet, what do you think, shall we cap the retry_timeout at lets say 100 ms?

Sorry I missed that, completely. It think that makes sense, then it will likely stay below the retransmission timeout


Mixed languages in ''

Issues lists on GitHub have relative times displayed in two languages. For example, my os/browser is set to the Slovak language and when I open a GitHub issues list, some relative times are displayed as translated (red) and some in English (blue) - see the attached screenshot.
Browser: Google Chrome 74.0.3729.169
OS: macOS Mojave 10.14.4

The same problem occurs with me. Part of it is in Polish, in part in English.

Hey @DominikPalo and @Faierbel 👋
I'm unable to reproduce this on my machine. Would you happen to have any Chrome extensions installed that could be causing this? Is this reproducible in Incognito Mode (or with extensions disabled).

Hey @DominikPalo and @Faierbel 👋
I'm unable to reproduce this on my machine. Would you happen to have any Chrome extensions installed that could be causing this? Is this reproducible in Incognito Mode (or with extensions disabled).

I saw this 2 minutes ago as well (mix between Norwegian and English, didn't capture screenshot), but I'm unable to repro anymore 🤔 😕

I've just tried and it happens also in Incognito mode (with all Chrome extensions disabled). But I have to switch to the "Closed" tab and then back to the "Open" tab to replicate it - see the recording: https://gyazo.com/126ce5a0351f06af12f03d7116d69622

Managed to reproduce after a few refreshes on pulls, but not on issues:

BTW, I have lang="en" on the html tag, Accept-Language: en,nb;q=0.9 and navigator.language === "en" 🤷♂

I've figured out what is going on with all your help and am able to reproduce this. I'll try to have a fix going out soon!

We've downgraded the package on github.com until we fix the issue in github/time-elements so you should be seeing only english relative timestamps again. I'll keep this issue open until we've shipped a fix to the package.


pyenv block is not displayed

Hello.
pyenv block is not displayed with this settings
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(virtualenv pyenv vcs)

but it is displayed with this option
POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=true

But with this option, it also displays system when system python is enabled.
Environment Information
Ubuntu 18.04 LTS
zsh 5.4.2 (x86_64-ubuntu-linux-gnu)
oh-my-zsh
p9k installed by cloning the repo
p9k version is 2.1.7 (as far as I understand). I just did git pull
emulators: SerureCRT, Putty, Kitty

Hi @horseinthesky .
Thanks for the report. Just to get you right: You have a different pyenv activated than system and the pyenv segment still does not show up, right? Only if you set POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=true you see it, but you do not want to see the system env, right?
The segment has a shortcut: It shows the PYENV_VERSION if it is non-zero. Could you do an echo x${PYENV_VERSION}x?
And could you post the output of pyenv version-name here?

And what about pyenv version-name? Does it output anything?
And what is the output of pyenv version-file-read $(pyenv root)/version?

And what about pyenv version-name? Does it output anything?
And what is the output of pyenv version-file-read $(pyenv root)/version?

3.7.1 in both cases when I am in env.
And system in both cases when I am in the system.

That's strange. I've just noticed that now it's working like it should: displaying python version when it differs from system version and not displaying system anymore.
Not sure what I did wrong but it's ok now.

Actually, env displays if there is .python-version is the directory. Otherwise, it is not displayed.


Update aplc.py

there is an error while python interprets aplc.py file. there is no parantheses

there is an error while python interprets aplc.py file. there is no parantheses

Thanks suman-r !

Thanks suman-r !


Sync main with dev

Purpose
Sync main with dev.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: Nashaath:x: ruksYou have signed the CLA already but the status is still pending? Let us recheck it.


Automatic configuration of FileLockClusterService

Backports to 2.13.x needed for:
https://github.com/apache/camel-quarkus/commit/554c148a81ad7457e6e44601b2ee30fa1e19d8e5
https://github.com/apache/camel-quarkus/commit/f009310188dcf38befac5b9fae8721fea62d1fa2

CI tests checked on main and 2.13.x.


Select improvements

I'd like to see Select be improved such that data can be a list of objects and have the object be yielded so that I can do something like:
<Select @data={{this.items}} as |item|>
  {{item.name}}
</Select>

Could this one get some priority?  This would eliminate some really nasty code.


Factor out into a library.

I definitely have a use for this in my own project. It would be nice if textql was a library I could import, and then you would have a textql/textql directory that contained main.go that would import the library and provide a CLI interface to it.

This is done for V2, and released