mportError: Found an incompatible version of auto-gptq. Found version 0.4.2, but only versions above {AUTOGPTQ_MINIMUM_VERSION} are supported

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
Should work
Current behaviour
gives error as per title
Steps to reproduce
!docker run --gpus all \
    -v /home/gcpuser/sky_workdir:/sky_workdir \
    -v /root/.cache:/root/.cache \
    winglian/axolotl:main-latest \
                accelerate launch -m axolotl.cli.train /sky_workdir/orca-qlora-zy.yaml

base_model: teknium/OpenHermes-2.5-Mistral-7B
base_model_config: teknium/OpenHermes-2.5-Mistral-7B
model_type: MistralForCausalLM
tokenizer_type: LlamaTokenizer
is_mistral_derived_model: true

load_in_8bit: false
load_in_4bit: true
strict: false

gptq: false
datasets:
  - path: manishiitg/aditi-gpt4-v2-orca
    type: completion

hub_model_id: manishiitg/herms-25-7B-aditi-gpt4-orca
hf_use_auth_token: true

eval_sample_packing: false
dataset_prepared_path:
val_set_size: 0.001
output_dir: /sky_workdir

adapter: qlora
lora_model_dir:

sequence_len: 8192
sample_packing: True
pad_to_sequence_len: True

lora_r: 32
lora_alpha: 16
lora_dropout: 0.05
lora_target_linear: true
lora_fan_in_fan_out:
lora_target_modules:
  - gate_proj
  - down_proj
  - up_proj
  - q_proj
  - v_proj
  - k_proj
  - o_proj

wandb_project:
wandb_entity:
wandb_watch:
wandb_run_id:
wandb_log_model:

gradient_accumulation_steps: 4
micro_batch_size: 8
num_epochs: 2
optimizer: adamw_bnb_8bit
lr_scheduler: cosine
learning_rate: 0.0002

train_on_inputs: false
group_by_length: false
bf16: true
fp16: false
tf32: false

gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention:
flash_attention: true

warmup_steps: 10
eval_steps: 20
eval_table_size: 5
eval_table_max_new_tokens: 128
save_steps:
debug:
deepspeed:
weight_decay: 0.0
fsdp:
fsdp_config:
special_tokens:
  bos_token: "<s>"
  eos_token: "</s>"
  unk_token: "<unk>"

Config yaml
No response
Possible solution
No response
Which Operating Systems are you using?

[X] Linux
[ ] macOS
[ ] Windows

Python Version
3.10
axolotl branch-commit
main
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this bug has not been reported yet.
[X] I am using the latest version of axolotl.
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue.

Same issue here.
I'm using docker image: winglian/axolotl:main-py3.10-cu118-2.0.1
Last pushed: Nov 8, 2023 at 2:55 am
Digest:sha256:0da75e481402756cca380756b4493150229320776f20c2e67c751fca69690ada

There was another issue with similar problem: https://github.com/OpenAccess-AI-Collective/axolotl/issues/817
But neither downgrading peft nor upgrading auto-gptq works, just shows different errors.

conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia

@ehartford Didn't help. Getting this now:
Traceback (most recent call last):
  File "/root/miniconda3/envs/py3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/root/miniconda3/envs/py3.10/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/workspace/axolotl/src/axolotl/cli/train.py", line 38, in <module>
    fire.Fire(do_cli)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/fire/core.py", line 141, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/fire/core.py", line 475, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/fire/core.py", line 691, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
  File "/workspace/axolotl/src/axolotl/cli/train.py", line 34, in do_cli
    train(cfg=parsed_cfg, cli_args=parsed_cli_args, dataset_meta=dataset_meta)
  File "/workspace/axolotl/src/axolotl/train.py", line 124, in train
    trainer.train(resume_from_checkpoint=resume_from_checkpoint)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/trainer.py", line 1591, in train
    return inner_training_loop(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/trainer.py", line 1984, in _inner_training_loop
    self._maybe_log_save_evaluate(tr_loss, model, trial, epoch, ignore_keys_for_eval)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/trainer.py", line 2328, in _maybe_log_save_evaluate
    metrics = self.evaluate(ignore_keys=ignore_keys_for_eval)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/trainer.py", line 3066, in evaluate
    output = eval_loop(
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/trainer.py", line 3214, in evaluation_loop
    if has_length(dataloader):
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/transformers/trainer_utils.py", line 623, in has_length
    return len(dataset) is not None
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 486, in __len__
    return len(self._index_sampler)
ValueError: __len__() should return >= 0
 17%|______________________________________                                                                                | 1/6 [00:30<02:30, 30.01s/it]
Traceback (most recent call last):
  File "/root/miniconda3/envs/py3.10/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/accelerate/commands/accelerate_cli.py", line 47, in main
    args.func(args)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/accelerate/commands/launch.py", line 986, in launch_command
    simple_launcher(args)
  File "/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/accelerate/commands/launch.py", line 628, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError: Command '['/root/miniconda3/envs/py3.10/bin/python', '-m', 'axolotl.cli.train', 'examples/mistral/qlora.yml']' returned non-zero exit status 1.

Completely different error, not cause by this issue

@ehartford Thanks, any idea how to solve it? Or should I create a separate issue for it?

I've never seen that error.  I'd recommend you try to follow the stack trace and see what code is causing it

try to install peft==0.6.0

Same issue here.
I'm using docker image: winglian/axolotl:main-py3.10-cu118-2.0.1
Last pushed: Nov 8, 2023 at 2:55 am
Digest:sha256:0da75e481402756cca380756b4493150229320776f20c2e67c751fca69690ada

I faced the same issue and reported in Discord. Caseus advised pip uninstall autogptq within the Docker Image. This did work to resolve the issue for me (till the underlying dependency issue is settled in a new Image).
If you need autogptq - to quote him : ""try pip uninstalling auto-gptq
then pip install auto-gptq --extra-index-url https://huggingface.github.io/autogptq-index/whl/cu118/"" . But I haven't tried tested this within Docker.

The other issue is, I'm not even trying to use GPTQ-based training, so not sure why this AutoGPTQ issue should even error out the run?
I ended up getting the training run to start by using recommended fixes of reinstalling torch and installing peft==0.6.0.

Same here: fixed with https://github.com/OpenAccess-AI-Collective/axolotl/pull/838

I used it yesterday with peft==0.6.0 and auto-gptq==0.4.2 when I hit this and had to drop the optimum version.

The new peft just dropped this morning and I had to pin optimum yesterday so thinking optimum needs to be pinned.
Right now I'm using peft==0.6.0 auto-gptq==0.4.2 and optimum==1.13.2 and it's working.

and it's working.

I should clarify that. As far as those two dependency versions working together, that appears to be fine. As far as getting this thing to work with gptq on multiple gpus these days, it's a friggen mess of working out various version issues beyond this one.


Maintenance API returns resource group name in lower-case

We've been working with version 2018-06-01-preview of the Maintenance API's (via v38.1.0 of the Azure SDK for Go) - and have noticed a bug where the Resource Group name that's returned from Azure is always lower-cased for the ID, regardless of the input case. For example if I create a Maintenance Configuration in the resource group Group1 the ID for create will be:
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/microsoft.maintenance/maintenanceconfigurations/mc1

when actually this should be:
/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Group1/providers/microsoft.maintenance/maintenanceconfigurations/mc1

Would it be possible to update this API to return the Resource Group name in the correct case, rather than lower-casing it?
Thanks!

@shants123 for reassign if need. or let me know if you are not right contact person. Thanks


Add note about Profile index adjustments

FIXES #768
There is currently no documentation about "profile index" and actually how to adjust this or what affects it.  The "profile index" directly affects the key combo to launch, such as Ctrl+Shift+1

This helps tell users how to adjust the index numbering, and hence control the assigned key combo to launch.

Hi @thadguidry, I made a few small formatting changes to your PR and merged it in!
Thank you SO MUCH for the help on this! :)


Card search (crypt/library): update when removing a filter

The issue happens when searching for a card by name with an active filter

If you remove the filter then no card shows up, although the error message disappears

You need to update the card name field (by example, adding a letter or a space) to get your results

Ideally, just removing the filter should be enough to get the updated results, without needing to update the card name.

Fixed in 88d1be6.


[otbn] investigate bn_256 implementation

We should investigate the potential implementation of the Barreto-Naehrig pairing friendly curve (bn_256) on OTBN.
This should cover:

To what extent can the existing P-256 bit implementation be reduced
Is the implementation well covered by our current instruction set
Rough estimation on code size
Rough estimation on performance

estimate 8

A bit of background: we might need carry-less multiplications to support this curve better, initial evaluation is only if that instruction would be needed.

CC @jadephilipoom @moidx
Is this still an active issue?

I don't think so. It's not on the cryptolib list of algorithms, so it seems like there isn't much demand for this curve. I'll close, others please feel free to reopen if there's a reason to look into this.


Clarify LLVM release in README

I was reading the readme and thought "oh this is using an old LLVM release" but there are actually packages for newer versions on nuget.org.

Thanks!


WIP: attempt upgrade to unreleased 0.9.0

[ ] is no longer broken

I attempted to update bevy ahead of the upcoming release but was left stuck with a strange error about not being able to derive Resource on AssetBuilder.

Hey, thanks for opening this.
I have not yet started with the update since the plugin depends on multiple other ones that are not prepared for an update yet.
I will likely not merge this, but appreciate the diff as help (see #87).

Hey, thanks for opening this. I have not yet started with the update since the plugin depends on multiple other ones that are not prepared for an update yet. I will likely not merge this, but appreciate the diff as help (see #87).

haha, totally missed that the only open PR is exactly this...

The other PR is much better, closing


Add a Gym website

Is your feature request related to a problem? Please describe.
I want to add a gym website (named Apna Gym) , so please assign me this issue under hacktoberfest label.
Describe the solution you'd like
A gym website along with the gym subscription form.
Describe alternatives you've considered
NA
Additional context
Add any other context or screenshots about the feature request here.

@ilhamansari sure .. let me show the responsiveness or share me the deployed link

@Ayan-thecodeking I am currently working on responsiveness and it will show up in the near future.
Here's the deployed link (desktop only for now)
So please add the hacktoberfest label.


add function 'states'

Right now I cannot figure out how to get a list of all defined entities.
Maybe there could be a function
def states(domain: str = None) -> List[str]:
    """Returns a list of all states in a domain. If None, all states are returned."""

This is related to issue #9.  We should come up with a consistent way to address the state-related issues.


Can a new version of arrow be published to pypi?

I need the pattern cache changes in the DateFormatParser but those aren't yet published to pypi.
Thanks!

Will do that today!

Great thanks!

While you're at it, https://arrow.readthedocs.io/en/latest/ should be updated.

Any update on this? Thanks!

For my topydo project I'd like to use the coarse human dates (#388), but unfortunately the functionality still hasn't landed in PyPi.

Looks like the latest code still hasn't landed on PyPi, though it's been quite some time.  Would it be possible to make a new release?  I'm also looking for #388

0.11.0 and 0.12.0 were released on PyPi in November 2017 so we should be good here.


python312Packages.boto3-stubs: 1.34.120 -> 1.34.121, python312Packages.botocore-stubs: 1.34.120 -> 1.34.121

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 317938 run on x86_64-linux 1

14 packages built:

aws-sam-cli
aws-sam-cli.dist
python311Packages.boto3-stubs
python311Packages.boto3-stubs.dist
python311Packages.botocore-stubs
python311Packages.botocore-stubs.dist
python311Packages.types-aiobotocore
python311Packages.types-aiobotocore.dist
python312Packages.boto3-stubs
python312Packages.boto3-stubs.dist
python312Packages.botocore-stubs
python312Packages.botocore-stubs.dist
python312Packages.types-aiobotocore
python312Packages.types-aiobotocore.dist


XSS attack vector

I would like to contribute to this repo by explaining about attack mentioned above. Please assign me this issue under JWOC 2023.
Thank You!

@White-rose69 Sure, you may go ahead. Also, could you try to simulate this attack?

I'll add the difficulty label once u raise the PR for this issue

Can I use a lab to simulate the  attack ???

Sure @White-rose69

@SANTHOSH17-DOT I have raised the PR .
Kindly review it


fix: wasm splashscreen exception

GitHub Issue (If applicable): closes #1185
PR Type
What kind of change does this PR introduce?

Bugfix

What is the current behavior?
What is the new behavior?
wasm splashscreenn should no longer throw
PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tested code with current supported SDKs
[ ] Tested the changes where applicable:

[ ] UWP
[ ] WinUI
[ ] iOS
[ ] Android
[x] WASM
[ ] MacOS

[ ] Updated the documentation as needed:

[ ] General Doc Update
[ ] Controls Doc Update
[ ] Extensions Doc Update
[ ] controls-styles.md
[ ] lightweight-styling.md (LightWeight Styling Resource Keys)

[x] Runtime Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
[x] Contains NO breaking changes
[x] Associated with an issue (GitHub or internal)
[x] Commits must be following the Conventional Commits specification.

Other information
regression from: #1151

@jeromelaban, @kazo0 we would need to backport these changes right?

@Mergifyio backport release/stable/6.1

RNG failure:

https://dev.azure.com/uno-platform/Uno Platform/_build/results?buildId=132802&view=logs&j=f7f63a24-0615-5eab-63ee-d9a8a60dd7f8
^ timed out, but its tests all passed..?

Retrying again...


Use vanity domain after VDF

How to categorize this PR?

/area open-source
/kind task
/priority normal
What this PR does / why we need it:
As the vanity domain flip is now completed, we can again use the vanity domain.
Release note:

NONE

/invite @wyb1 @zanetworker


urllib3 leaks lots of resources

For fun I decided to run the tests with PYTHONWARNINGS=always::DeprecationWarning,error::ResourceWarning nosetests.
According to the warning in the socket module, virtually every test in urllib3 fails to properly close a socket. Example output:
https://travis-ci.org/kevinburke/urllib3/jobs/39233502#L697
Exception ignored in: <ssl.SSLSocket fd=62, family=AddressFamily.AF_INET,
type=SocketType.SOCK_STREAM, proto=6, laddr=('<IP_ADDRESS>', 57685),
raddr=('<IP_ADDRESS>', 40285)>

I'm surprised no one has raised this issue, given how many people use the library. I'm forced to conclude

the python library is raising this error erroneously
everyone leaks sockets, and it's harmless
everyone leaks sockets, and no one cares because sockets are always available
the tests leak sockets more than most because they expose error conditions

What's going on? Is there something easy that can be done to fix this @sigmavirus24, @Lukasa, @jschneier , thoughts?

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Hi,
fyi,
On PyPy -2.4.0 upgrading to urllib3-1.10 solves this problem for me.

@smetj Thanks for the update!
@sigmavirus24 How do you feel about closing this? Or do you have plans to investigate further?

@sigmavirus24 said to close until someone else complains. :)

For the sake of completeness.
I kept hitting this problem with the "requests" library.
Apparently it comes bundled with a version of urllib3.
If you're using requests on PyPy, make sure you upgrade to the latest version.
I can confirm requests-2.5.1 fixes the problem for me.


Feature Request: Prefetch into Cache up to a Configurable Size

It would be very useful to have a configurable prefetch feature that buffers down into page cache, e.g. --max-read-ahead of data from the file on every read.
This would be particularly useful for cases where the upstream cloud storage provider seems to be throttling based on the number of requests/hour rather than MB/hour, (e.g. ACD). If the subsequent read request can be served from the cache, no further read happens. If a back-end read is required, prefetch an extra max-read-ahead sized block. By serving several consecutive requests from the prefetch cache it would greatly reduce the number of requests for use-cases such as media servers that only pass a small amount of data at a time up to the clients.

Provided the reader isn't seeking, rclone will read the files using streaming, so that will be just one request.
There is a certain amount of read-ahead - I did try adding more but it then can interfere with the seeking.
I need to revisit this!

The access pattern exhibited by media streaming server such as plex is such that they open a file, read a chunk at the required position and close the file. The read the next chunk and close the file, repeat. AFAICT, this is largely due to media clients behaving in that same way (they'll request a chunk of an certain length from a certain position and drop the TCP connection when they have had their fill). This is where prefetch would be very handy to avoid some number of the subsequent reads.

The access pattern exhibited by media streaming server such as plex is such that they open a file, read a chunk at the required position and close the file. The read the next chunk and close the file, repeat. AFAICT

Ok that is interesting.  Have you verified that by looking at the rclone mount logs?

I'll try to put some rclone and inotify logs together to verify it for the specific case I am looking at, but I know that most mobile devices follow that access pattern as clients, and it would surprise me if the server does anything other than what the client asks.
Also the symptoms I am seeing match what I would expect given the (undocumented) ACD requests-per-hour throttling and the behaviour I am seeing when accessing higher bit rate streams. The reason why it manifests only on higher bit rate streams being that buffers are usually fixed size in MB, which means that there are fewer seconds per MB, thus more requests per hour on a higher bit rate stream. Since I can fetch an entire 50GB VM image down from in a single shot without any obvious slowdown, the throttling seems to be based on requests per hour rather than MB per hour.
But you are right, I'll put together some logging to confirm it beyond any doubt.

I believe this ticket is the same as the issue discussed in:
https://github.com/ncw/rclone/issues/1043
So these two issues should be merged.

@ncw have you given any thought as to how this would look like?
From my limited experience with rclone (couple of hours now) the best way to tackle this (and probably #1172 and #1043 at the same time) seems to be to create something similar to the existing asyncReader that instead of creating a pool of buffers for a single request it would create a pool of buffers per object. Buffers can be either in-memory or on-disk.
Unline WithBuffer() does now, but it would probably wrap object.Open() as well so it can check to see if there is an existing cache of the object in the pool, and if we have already cached the offset the user is seeking for, we return a reader for it.
The returned readers would probably also be used to tell the buffer to fetch more as it gets closer to where we have stopped fetching.
There are various issues to be solved, wrinkles to be ironed out etc here, but I'm just trying to get the ball rolling, figure out a design, and see if I can give this a shot. :)
Thanks.

What's the story with this now?


Implement Portability Mode: Memory Type Translation

Map memory types/heaps from the capture device to the types available on the replay device based on memory properties.

Is the plan to do this differently than what is currently implemented in vktrace?
My biggest concern is that when going from a system with a few memory types with many flags to systems with many memory types with a few flags each, then you may not have sufficient information about which flags matter unless you split the memory types while tracing.
Also, at least in theory, a tracer may have to create its own memory handling of buffers similar to how optimal images are handled in vktrace, since an implementation where you want to replay may require some kinds of buffers to go into a particular kind of memory type, while the trace host might only use one memory type for all types of buffers.
And the vktrace way of putting each optimal image into their own VkDeviceMemory may not scale, as there is only a limited number of VkDeviceMemory that are available to use in total.

The plan for the memory type translation would be to defer memory allocation until image or buffer memory bind.  At bind we would determine the appropriate memory type based on the usage flags specified at resource creation.  This should allow us to select the appropriate memory type for cases such as an iGPU capture where all memory types have a combination of the DEVICE_LOCAL and HOST_VISIBLE flags and a dGPU replay where the DEVICE_LOCAL and HOST_VISIBLE memory types are separate.
This will be a replay option that can be enabled or disabled explicitly.
This will also result in cases where resources sharing the same memory allocation at capture will be split into separate allocations on replay.  When splitting into separate allocations, we would like to avoid creating a single allocation per resource.  The plan for the initial implementation is to use AMD's Vulkan Memory Allocator to handle memory allocation and manage resource sub-allocation.

Sounds like a good plan. Another way to solve the first problem of replaying traces from architectures where memory types have combined DEVICE_LOCAL and HOST_VISIBLE is to split them in the tracer, so that the traced program only sees separate DEVICE_LOCAL and HOST_VISIBLE memory types.

Closed with #339


COMP: Supress warning in MSVC for non-float complex

PR Checklist

[ ] No API changes were made (or the changes have been approved)
[ ] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[ ] Updated API documentation (or API not changed)
[ ] Added license to new files (if any)
[ ] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[ ] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

Thanks @blowekamp  Can you please add this _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to the other cxx files where the warnings appear as well? At least, I think Modules\Core\Common\test\itkNumericTraitsTest.cxx and Modules\Core\Common\test\itkMathTest.cxx

@N-Dekker I was just addressed warning I saw on the SimpleITK dashboard. I was unsure if the definition needed to occur at before the point of template instantiation/usage or before the header include. Are you able to verify if this approach takes care of the warnings in MSVC?

I changed my ryzenator nightly build configuration to also test ITK_LEGACY_REMOVE:BOOL=OFF. We should have the results on the dashboard tomorrow.

I'm not sure, maybe we should add _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to the entire project, via CMake. Unless LEGACY_REMOVE=ON, of course.

I just kicked of a build manually. Hopefully I got the settings right, so this will be tested.

I'm not sure, maybe we should add _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to the entire project, via CMake. Unless LEGACY_REMOVE=ON, of course.

If a project is using these deprecated std::complex types, IHMO they should get the warning as an indication they may get undefined behavior from their compiler. However, when compiling ITK we want to suppress the warning.
IMHO that is the goal here, so that could be a "private" define for the project.

The build is finished. It doesn't have any warnings.
Aaaand I just figured out why. This build is done using VS2017, and VS2022 has introduced the warning.

I have changed my dashboard build configuration to use multiple versions of Visual Studio. It should be exercised overnight.

Here are the warnings. A sample:
M:\Dashboard\ITK\Modules\Core\Common\src\itkNumericTraits.cxx(76,86): warning C4996: 'std::complex<char>::complex': warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning.[M:\Dashboard\ITK-build\Modules\Core\Common\src\ITKCommon.vcxproj]
M:\Dashboard\ITK\Modules\Core\Common\test\itkMathTest.cxx(674,37): warning C4996: 'std::complex<int>::complex': warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [M:\Dashboard\ITK-build\Modules\Core\Common\test\itkMathTest.vcxproj]
M:\Dashboard\ITK\Modules\Core\Common\test\itkNumericTraitsTest.cxx(1276,43): warning C4996: 'std::complex<char>::complex': warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [M:\Dashboard\ITK-build\Modules\Core\Common\test\ITKCommon1TestDriver.vcxproj]
M:\Dashboard\ITK\Modules\Core\Common\include\itkNumericTraits.h(1939,16): warning C4996: 'std::complex<long>::complex': warning STL4037: The effect of instantiating the template std::complex for any type other than float, double, or long double is unspecified. You can define _SILENCE_NONFLOATING_COMPLEX_DEPRECATION_WARNING to suppress this warning. [M:\Dashboard\ITK-build\Modules\Core\Common\test\ITKCommon1TestDriver.vcxproj]

This PR will silence many of the warnings. But definitely not the ones coming from itkMathTest.cxx, and probably not those coming from itkNumericTraitsTest.cxx.

OK, so the define before template instantiation was successful to suppress the warning. It is preferred to add the define in the code or as private properties for compiler flags?

I don't have a preference for this.


Update: MongoDB.DatabaseTools version 100.3.1

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


Change default branch to main from master

It would be good to change default the branch name to main from master
I have asked @felipesanches to do this for all repos in the github.com/googlefonts org, and our docs refer to this repo's default branch, and he found that going to eg https://github.com/fonttools/fonttools/settings and changing the default branch setting will close all open PRs, so it would be good to triage all open PRs here (27 at time of writing and recreate them if needed)

thanks, @davelab6!
To be more precise, it is not the act of changing the default branch that auto-closes pending PRs, but instead, the deletion of the original master branch after its contents have been pushed to a new main branch that will trigger the auto-closing of the PRs.
I've noticed this behaviour when following the steps in this tutorial on a few other font-repos: https://stevenmortimer.com/5-steps-to-change-github-default-branch-from-master-to-main/

Good news! Since that was written, GitHub made official guidance and a feature for changing the default branch name for GitHub repositories without auto closing.
https://github.com/github/renaming
Seems there are no objections so I'd like to propose proceeding. @anthrotype what do you think? :)

quoting from that doc

Renaming a branch will:

Re-target any open pull requests
Update any draft releases based on the branch
Move any branch protection rules that explicitly reference the old name
Update the branch used to build GitHub Pages, if applicable
Show a notice to repository contributors, maintainers, and admins on the repository homepage with instructions to update local copies of the repository
Show a notice to contributors who git push to the old branch
Redirect web requests for the old branch name to the new branch name
Return a "Moved Permanently" response in API requests for the old branch name

it sounds good to me. I would probably first try this on a smaller, lower-traffic project and confirm that there're no issues, then do it here as well.

done => https://github.com/fonttools/fonttools/tree/main
to update your local repos, do:
git checkout master
git branch -m main
git fetch origin
git branch -u origin/main main

What are the correct steps to update a fork? I just messed mine up, so I will just delete and re-fork I suppose...

(Although, I think I managed to fix it: my open PR seems unharmed.)

I think you need to go to settings, rename "master" -> "main" and do the same thing as with the upstream repo (I haven't tried, I normally work directly on upstream)


Expose internal serializer option to allow runtime generation to be disabled

Turns out there was already a bool property that fixes #192 so I renamed it and made it public.
I removed the same property on the SerializerContext as it didn't appear to be referenced anywhere and it would be confusing having two public properties doing the same thing, hope that's OK

Yes, it is OK. Thank you!


The ALabel get messed up if some of its properties get modified in-game

I noticed it is very inconvenient to make properties (example: scale, position, outline...) changes to the ALabel during the game. That is because once it is done, the text written in Arabic in the ALabel will get all letters detached from one another.
In order to illustrate the problem, here is a first example when I have a static non modified ALabel (which works perfectly):

And here is a second example where I try to modify the text's outline's (called also border or stroke) color using the Godot AnimationPlayer:

A while ago since I came to discover this plugin that you made, I wanted to thank you personally but it is not possible to send you a private message in Github, so I would like to take advantage of this issue to say thank you very much for this precious plugin that made it possible to use Arabic within Godot.

bump

Just saw this now, was unavailable.
I'll see what I can do, but honestly, given how little I understand of the codebase, you're probably just as able to investigate as I.
(hint hint, PRs welcome)

Tried the latest commit and this bug seems to not exist anymore, closing this issue. However I created a new issue which is a serious one about lines getting inverted.


Adding Collection: Pixel Panda Wars

Please add this new collection. Thank you!

Thanks @MillHaus33
Collection seems to have been added, however, if you open its page on OW, it does not list the items:
https://ordinalswallet.com/collection/pixel-panda-wars

Thanks!


publish for Scala 2.13.0-RC3

upstream tickets:

[x] ScalaCheck https://github.com/rickynils/scalacheck/issues/478
[x] scala-xml https://github.com/scala/scala-xml/issues/316
[x] scala-parser-combinators https://github.com/scala/scala-parser-combinators/pull/213

dependencies are available now

@SethTisue I just published 3.0.8-RC5 that includes the build for Scala 2.13.0-RC3.
Cheers.

awesome! I hate to ask, but are you working on a 3.1.0-SNAPx release as well? a number of key projects have moved to that series already.

@SethTisue Yes I shall work on it next, probably too late for tonight here but I'll target to get it up tomorrow.  I am sorry for any inconvenience caused by the delay.

publishing takes time, I understand. (I spent most of the day today publishing various things...)

I see these on Maven Central:
"org.scalatest"                    %% "scalatest"                % "3.1.0-SNAP12" % Test
"org.scalatestplus"                %% "scalatestplus-scalacheck" % "1.0.0-SNAP7"  % Test

I guess that means this is done?

I see these on Maven Central:
"org.scalatest"                    %% "scalatest"                % "3.1.0-SNAP12" % Test
"org.scalatestplus"                %% "scalatestplus-scalacheck" % "1.0.0-SNAP7"  % Test

I guess that means this is done?

@SethTisue  Yup, I think I am done with this.  :)


Add support for Atlas being an Opencensus target

It'll take some time to review this. At first glance it adds a lot of dependencies which is generally something we want to avoid for the thin clients. Ideally we have no dependencies out side of the standard library for a language. It might be better as a separate extension library.

@brharrington It requires access to some private methods, namely newId and registry.newMeter.

See: https://github.com/Netflix/spectator-go/pull/36

Probably won't have time today, but will try to take a look in detail this weekend.


Spike: Static Code Analysis

Spike whether we can:

ingest a codebase
autogenerate fidesctl templates
provide a report about how "safe" this codebase is from a privacy perspective

where "safe" is a composite measure of: ...

@ThomasLaPiana has a design doc. already and will link it here


Please fix an incorrect node.js sample after double checking

This is regarding the following node.js sample.
Configure Azure Monitor OpenTelemetry for .NET, Java, Node.js, and Python applications - Azure Monitor

// Import the useAzureMonitor function, the AzureMonitorOpenTelemetryOptions class, and the ManagedIdentityCredential class from the @azure/monitor-opentelemetry and @azure/identity packages, respectively.
const { useAzureMonitor, AzureMonitorOpenTelemetryOptions } = require("@azure/monitor-opentelemetry");
const { ManagedIdentityCredential } = require("@azure/identity");
// Create a new ManagedIdentityCredential object.
const credential = new ManagedIdentityCredential();
// Create a new AzureMonitorOpenTelemetryOptions object and set the credential property to the credential object.
const options: AzureMonitorOpenTelemetryOptions = {
credential: credential
};
// Enable Azure Monitor integration using the useAzureMonitor function and the AzureMonitorOpenTelemetryOptions object.
useAzureMonitor(options);

From https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/monitor/monitor-opentelemetry-exporter/src/config.ts, it seems credential should be part of AzureMonitorExporterOptions.
Please check and fix.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 17273ac2-3b96-28e0-1e1e-a157914e63c1
Version Independent ID: bd97fcde-edff-78c5-cc0b-e0245ece25a7
Content: Configure Azure Monitor OpenTelemetry for .NET, Java, Node.js, and Python applications - Azure Monitor
Content Source: articles/azure-monitor/app/opentelemetry-configuration.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@chitturs
Thanks for your feedback! We will investigate and update as appropriate.


when will the code be released?

when will the code be released?

The evaluation code and pre-trained models have been released. The training script will be released soon (probably after CVPR2024 submission deadline).

The evaluation code and pre-trained models have been released. Please refer to answer for the future timetable.


validate auction Period

Pull Request Test Coverage Report for Build 11

24 of 24 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 78.431%

Totals

Change from base Build 9:
0.5%

Covered Lines:
840

Relevant Lines:
1071

💛  - Coveralls


Steam Deck Windows 11 Pro - Immortal Fenyx Rising - Ubisoft Connect

Windowed-mode renders in super-widescreen, this can be seen clicking the top-right "square" maximize icon.
Full-screen and borderless also renders in super-widescreen making it unplayable.
Immortal Fenyx Rising - Ubisoft Connect.
All settings lowest or off.
Steam Deck running Windows 11 Pro

GPU: AMD Custom APU 0405
Driver: <IP_ADDRESS>
DXVK version: Bug exists in both 1.10.3 and 2.0

Hello.
Please attach dxvk logs 🙂

Hi Blisto91, which files do you need?

In the games folder there should be some .log files that include the exe name and d3d11 and dxgi.
They are usually located next to the exe or in the games root folder.

ImmortalsFenyxRising_d3d11.log
ImmortalsFenyxRising_dxgi.log

is this even our bug or just related to the Deck using a portrait mode display which many games don't support properly?

Hi doitsujin, this bug doesn't exist on SteamOS or on Windows using the Valve APU driver (dx11). Unfortunately, the performance using the Valve Windows APU driver is quite poor so I decided to try DXVK, which does offer better and more stable performance, minus this bug. It could even be a bug with the APU driver itself.


What is the meaning of "Failed due to ratelimit."

Hi. Just a doubt.

A ratelimit is when you've done too many requests to a network or service.
You've most likely hit the limit of requests you could do at a certain amount of time.

OK. But this is not allowing me to create a domain. It keeps showing every time.

Wait a minute :)

The part of the DNS that allows you to register domains only does so each 1 hour.
Even though the code for the DNS says it should only apply the ratelimit if the request returned a 200, it still applies it

OK. But this is not allowing me to create a domain. It keeps showing every time.

Yes. You've hit the limit of requests (or someone on your IP address has)

Wait a minute :)

I'd suggest the same as @Siomek101.

The part of the DNS that allows you to register domains only does so each 1 hour.

So that would mean you can only register 1 per hour?


feat(svg): provide scale prop to allow for more responsive Svg component

:tada: This PR is included in version 1.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[Performance] useOnyx doesn't return new data if the selector changes but the data in the store is the same

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

What performance issue do we need to solve?
Inefficient React component rendering when onyx collection data is updated, although we're only accessing unmodified entries of the onyx collection.
Example case: https://github.com/Expensify/App/pull/49919#pullrequestreview-2346813622
What is the impact of this on end-users?
App performance can degrade with the inefficient rendering
List any benchmarks that show the severity of the issue
N/A
Proposed solution (if any)
Mimic dependency array from some React hooks, like useEffect, to force useOnyx to fetch data if any dependency changes.
Something like useOnyx(key, options, [dependencyA]).
List any benchmarks after implementing the changes to show impacts of the proposed solution (if any)
N/A
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Version Number: v9.0.62-4
Reproducible in staging?: yes
Reproducible in production?: yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: https://github.com/Expensify/App/pull/49919#pullrequestreview-2346813622
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on Upwork
Issue OwnerCurrent Issue Owner: @pac-guerreiro

@vit can you make this issue internal? @fabioh8010 and I are working on it

You tagged the wrong person @pac-guerreiro , it's @mountiny 😄

Ups, sorry! 😅

Sounds good

Last friday I didn't work on this but tomorrow I'll open a draft PR with a possible solution

I opened a draft PR with a possible solution for this issue - https://github.com/Expensify/react-native-onyx/pull/599
If you all agree, I can also create an eslint rule to enforce the usage of the dependency array when developers pass variables in useOnyx selector. To achieve it, I'll need to adapt this and create an additional PR to add this new rule to https://github.com/Expensify/eslint-config-expensify

I'm waiting on @fabioh8010 feedback on this since he has an alternate solution

We are currently discussing the issue internally.

Today @fabioh8010 and I discussed this issue internally. There are some ideas on the table on how to tackle this issue, so we'll continue discussing them tomorrow!

Today @fabioh8010 continued our discussion, we are still trying to find a proper solution for this issue.

Today I tried more possible solutions and discussed them with @fabioh8010. I've been having problems with infinite loops on getSnapshot. On Monday I'm going to discuss an alternative idea of @fabioh8010 for this performance issue.

Today I reviewed @fabioh8010 solution and we discussed it. We need to confirm which one is the best and how we should proceed next

Update: We agreed to test my solution against E/App and if everything is ok, we will proceed with it.

Created a WIP Draft PR, testing the solution against E/App.

Update: PR opened to review!
cc @mountiny

Update: Onyx PR was merged! I will proceed with the Onyx bump PR

@mountiny Could you take a quick 👀 in this PR? Onyx main is currently broken and we need that fix before proceeding with the Bump PR. Thanks!

Merged

Will open the Bump PR today

Bump PR created -> https://github.com/Expensify/App/pull/53890

$250 to @sobitneupane No need for regression testing on this one

Payment summary:

@sobitneupane $250 via NewDot


PR right-click menu entries appear doubled

Extension version: 0.2.1
VSCode:
Version: 1.29.0-insider
Commit: d1f5894892e3719846bbd4bd0dd75f117f211ab5
Date: 2018-10-23T05:14:53.945Z
Electron: 2.0.11
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Steps to Reproduce:

Open Source control pane
In side pane "Github Pull requests", expand "All", expand an existing PR.

Expected: N menu entries
Actual: N * 2 menu entries.

Hmm, I haven't been able to reproduce this yet. Is this on windows or linux? Is "window.titleBarStyle": "custom" set?

Problem still present with version 0.2.2: All PR context menu entries are duplicated ("Check Out Pull Request", "Refresh Pull Request", "Open Pull Request in GitHub"), except "Close Pull Request"

VSCode info
Version: 1.29.0-insider
Commit: 2b06dd1ca31e407abed24f65e1804ae86180401d
Date: 2018-10-30T11:07:40.142Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
OS: Ubuntu 18.04.1 LTS
window.titleBarStyle = "native"

@RMacfarlane @sbatten problem still present with version 0.2.2: All PR context menu entries are duplicated ("Check Out Pull Request", "Refresh Pull Request", "Open Pull Request in GitHub"), except "Close Pull Request"

VSCode info
Version: 1.29.0-insider
Commit: 2b06dd1ca31e407abed24f65e1804ae86180401d
Date: 2018-10-30T11:07:40.142Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
OS: Ubuntu 18.04.1 LTS
window.titleBarStyle = "native"

@ronjouch Did you ever manually install an early version of the extension? At one point, we changed the id of the extension, but this was before we published the extension to the marketplace. Since the id is different, it's possible to have a very old version of the extension side-by-side with the current one. Can you check your installed extension list?

"Did you ever manually install an early version of the extension? At one point, we changed the id of the extension, but this was before we published the extension to the marketplace. Since the id is different, it's possible to have a very old version of the extension side-by-side with the current one. Can you check your installed extension list?"

@RMacfarlane ha! Yes! Nice catch! Fixed after uninstalling the old one 🙂.


Ability to build multiple targets including the native target.

Problem
Hi, currently we can build using the following options:
cargo clippy -Zmultitarget --target aarch64-apple-darwin --target wasm32-unknown-unknown ...

It's great, but I want to share run configurations with my team, and they are using different operating systems. What we dream of would be the ability to do something along the lines of:
cargo clippy -Zmultitarget --target native --target wasm32-unknown-unknown ...

Would it be possible?
Proposed Solution
Support of --target native or something similar.
Notes
No response

I remember there was a similar request --target host or something else but I cannot find it…


Add ERC: ERC-721 Guarantee Extension

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

Did you publish the new version somewhere? I can't see it in the "Files Changed" tab, so I can't review it :sweat_smile:


Incorporate bug fixes from skimage 0.19.3

This PR incorporates the two bug fixes from skimage v0.19.3 (released on June 12th) that are relevant to cuCIM.

bug fix to ensure all color channel share the same histogram bins in cucim.skimage.exposure.histogram
clipping in warp functions should respect user-specified cval during clipping even if it is outside the original image range

There was also a fix to Canny edge detection, but we had already resolved that issue in cuCIM. I did go ahead and add the new test case for it to #310.

rerun tests

Thanks for fixing the linting issue @jakirkham. I think we will still first need the bug fix in #310 in order for this PR to pass.

rerun tests

@gpucibot merge


Urgent Plz:  after install thorugh pip and runserver got this below error

OSError: cannot load library 'gobject-2.0-0': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library called 'gobject-2.0-0'

Can you provide the entire error/traceback?
This doesn't look like a library we import directly.

me too

`Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\autoreload.py", line 64, in wrapper
fn(*args, **kwargs)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
self.check(display_num_errors=True)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\base.py", line 419, in check
all_issues = checks.run_checks(
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 412, in check
for pattern in self.url_patterns:
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 598, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 591, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\BIS\urls.py", line 28, in
path("sole_proprietorship/" , include("sole_proprietorship.urls")) ,
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\sole_proprietorship\urls.py", line 3, in
from . import views
File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\sole_proprietorship\views.py", line 38, in
from django_renderpdf.views import PDFView
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django_renderpdf\views.py", line 10, in
from django_renderpdf import helpers
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django_renderpdf\helpers.py", line 13, in
from weasyprint import default_url_fetcher
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint_init.py", line 322, in
from .css import preprocess_stylesheet  # noqa isort:skip
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\css_init.py", line 27, in     from . import computed_values, counters, media_queries
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\css\computed_values.py", line 16, in
from ..text.ffi import ffi, pango, units_to_double
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\text\ffi.py", line 380, in
gobject = _dlopen(
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\text\ffi.py", line 377, in _dlopen
return ffi.dlopen(names[0])  # pragma: no cover
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = load_backend_lib(backend, libname, flags)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 827, in load_backend_lib
raise OSError(msg)
OSError: cannot load library 'gobject-2.0-0': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library
called 'gobject-2.0-0'
Traceback (most recent call last):
File "manage.py", line 22, in
main()
File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management_init.py", line 419, in execute_from_command_line
utility.execute()
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management_init.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\base.py", line 367, in run_from_argv
connections.close_all()
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\db\utils.py", line 213, in close_all
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\asyncio.py", line 19, in inner
event_loop = asyncio.get_event_loop()
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 636, in get_event_loop
Exception ignored in: <function BaseEventLoop.del at 0x000001687F273DC0>
Traceback (most recent call last):
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 656, in del
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 684, in close
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\asyncio\proactor_events.py", line 752, in _close_self_pipe
AttributeError: 'ProactorEventLoop' object has no attribute '_ssock'
(env) D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS>
(env) D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS>
(env) D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS>
(env) D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS>
(env) D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS>py manage.py runserver
Watching for file changes with StatReloader
Performing system checks...
Exception in thread django-main-thread:
Traceback (most recent call last):
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\autoreload.py", line 64, in wrapper
fn(*args, **kwargs)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
self.check(display_num_errors=True)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\base.py", line 419, in check
all_issues = checks.run_checks(
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\registry.py", line 76, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
return check_method()
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 412, in check
for pattern in self.url_patterns:
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 598, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 591, in urlconf_module
return import_module(self.urlconf_name)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\BIS\urls.py", line 28, in
path("sole_proprietorship/" , include("sole_proprietorship.urls")) ,
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\conf.py", line 34, in include
urlconf_module = import_module(urlconf_module)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\sole_proprietorship\urls.py", line 3, in
from . import views
File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\sole_proprietorship\views.py", line 38, in
from django_renderpdf.views import PDFView
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django_renderpdf\views.py", line 10, in
from django_renderpdf import helpers
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django_renderpdf\helpers.py", line 13, in
from weasyprint import default_url_fetcher
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint_init.py", line 322, in
from .css import preprocess_stylesheet  # noqa isort:skip
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\css_init.py", line 27, in     from . import computed_values, counters, media_queries
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\css\computed_values.py", line 16, in
from ..text.ffi import ffi, pango, units_to_double
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\text\ffi.py", line 380, in
gobject = _dlopen(
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\text\ffi.py", line 377, in _dlopen
return ffi.dlopen(names[0])  # pragma: no cover
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 150, in dlopen
lib, function_cache = _make_ffi_library(self, name, flags)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
backendlib = _load_backend_lib(backend, libname, flags)
File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 827, in _load_backend_lib
raise OSError(msg)
OSError: cannot load library 'gobject-2.0-0': error 0x7e.  Additionally, ctypes.util.find_library() did not manage to locate a library
called 'gobject-2.0-0'`

weasyprint is failing to load gobject-2. Is it installed?
It seems that installing it on window it quite non-trivial, but there's some instructions here: https://doc.courtbouillon.org/weasyprint/v0.42.3/install.html#windows
See issues here if you have problems after following the above instructions: https://github.com/Kozea/WeasyPrint/issues?q=cannot+load+library+'gobject-2.0-0'%3A

Actually, will leave open since the docs should point out that weasyprint's dependencies are required.

@WhyNotHugo
I have another issue after install GTK3
Exception in thread django-main-thread:
Traceback (most recent call last):
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\autoreload.py", line 64, in wrapper
    fn(*args, **kwargs)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run
    self.check(display_num_errors=True)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\management\base.py", line 419, in check
    all_issues = checks.run_checks(
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\registry.py", line 76, in run_checks
    new_errors = check(app_configs=app_configs, databases=databases)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config
    return check_resolver(resolver)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver
    return check_method()
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 412, in check
    for pattern in self.url_patterns:
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 598, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\utils\functional.py", line 48, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\resolvers.py", line 591, in urlconf_module
    return import_module(self.urlconf_name)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\BIS\urls.py", line 28, in <module>
    path("sole_proprietorship/" , include("sole_proprietorship.urls")) ,
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django\urls\conf.py", line 34, in include
    urlconf_module = import_module(urlconf_module)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\sole_proprietorship\urls.py", line 3, in <module>
    from . import views
  File "D:\Projects\مشاريع التخرج\BIS-Graduation-Project\BIS\sole_proprietorship\views.py", line 41, in <module>
    from django_weasyprint import WeasyTemplateResponseMixin
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django_weasyprint\__init__.py", line 1, in <module>
    from .views import WeasyTemplateResponseMixin, WeasyTemplateView, WeasyTemplateResponse
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\django_weasyprint\views.py", line 1, in <module>
    import weasyprint
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\__init__.py",
line 440, in <module>
    from .css import preprocess_stylesheet  # noqa isort:skip
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\css\__init__.py", line 30, in <module>
    from . import computed_values, media_queries
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\css\computed_values.py", line 18, in <module>
    from .. import text
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\text.py", line 259, in <module>
    pango = dlopen(ffi, 'pango-1.0', 'libpango-1.0-0', 'libpango-1.0.so',
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\weasyprint\text.py", line 254, in dlopen
    return ffi.dlopen(names[0])  # pragma: no cover
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 150, in dlopen
    lib, function_cache = _make_ffi_library(self, name, flags)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 832, in _make_ffi_library
    backendlib = _load_backend_lib(backend, libname, flags)
  File "C:\Users\Ahmed Maher\AppData\Local\Programs\Python\Python38\lib\site-packages\cffi\api.py", line 827, in _load_backend_lib
    raise OSError(msg)
OSError: cannot load library 'pango-1.0': error 0x7e.  Additionally, ctypes.util.find_library() did not manage
to locate a library called 'pango-1.0'


[Missing SNMP Polling Profile]

Device Vendor:   OID:.<IP_ADDRESS>.4.1.674.10895.3010
Device Model: STRING: "PowerConnect 6224, <IP_ADDRESS>, VxWorks 6.5"
Hello
Follow snmpwalk from switch 6224
I need a profile to be created to implement in new relic.
I need all available metrics.
System Object Identifier (SysOID):
List of critical metrics that you expect in the profile (does not need to be all-inclusive, just a general idea of your expectations):

If there is a New Relic technical support case related to this request, please provide the case number:
Please provide a public gist with a sanitized (sensitive information removed) SNMP walk of the device. Providing MIB files is not a substitute for an SNMP walk and failure to provide one here will result in delays for closing this issue. The output of these commands shows the "true story" of what a device will respond to in SNMP and is used to ensure that our profiles are efficient and accurate for your devices.
Gist Link:

Example SNMP walk commands:
# v2c example
snmpwalk -v 2c -t 10 -On -c $COMMUNITY_STRING $IP_ADDRESS . >> snmp_walk.out

# v3 example
snmpwalk -v3 -t 10 -l authPriv -u $USERNAME -a MD5|SHA -A $AUTH_PASS -x DES|AES -X $PRIV_PASS -ObentU -Cc $IP_ADDRESS . >> snmp_walk.out

@tfavi2612br you did not include an SNMP walk with your issue.  Also, we have already have a profile that includes this model and sysoid
https://github.com/kentik/snmp-profiles/blob/main/profiles/kentik_snmp/dell/dell-powerconnect.yml
When you say you want "all available metrics" that is not going to be able to happen on the public repo.  If you have some specific OIDs that you think would be valuable we can discuss adding them to the profile, but we can't just add everything and call it a day.  Customers of New Relic using these profiles have to pay per GB of data ingested, and collecting a full walk and every possible OID from devices every few minutes generates a huge amount of data that quickly exceeds a reasonable budget for monitoring infra as basic as a switch.
If you don't mind cranking up the data ingest for your own account you are free to fork the repo and run your own local version where you add all OID's to your local version of the profile, but it would increase the data ingest per switch by at least 100x over what is currently in the profile so I don't recommend it.  We have some docs talking about how we pick what goes into the profiles, and how to run your own local profiles instead
https://docs.newrelic.com/docs/network-performance-monitoring/advanced/snmp-profiles/#oids


npm-check-updates: use buildNpmPackage

Description of changes
See #229475

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

cc @flosse who originally packaged it in #4734

Better fix merge conflicts. You just had to touch nodePackages.nix... :smile:


fix(DataStore): Use Sqlite int values over static variable

Issue #, if available:
to mitigate this issue: https://github.com/aws-amplify/amplify-ios/issues/1364
Description of changes:
Check points:

[ ] Added new tests to cover change, if needed
[ ] All unit tests pass
[ ] All integration tests pass
[ ] Documentation update for the change if required
[ ] PR title conforms to conventional commit style

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1365 (5e5ee0d) into main (9f77181) will increase coverage by 0.05%.
The diff coverage is 88.88%.

:exclamation: Current head 5e5ee0d differs from pull request most recent head 59a111f. Consider uploading reports for the commit 59a111f to get more accurate results

@@            Coverage Diff             @@
##             main    #1365      +/-   ##
==========================================
+ Coverage   61.22%   61.27%   +0.05%
==========================================
  Files         665      666       +1
  Lines       20130    20164      +34
==========================================
+ Hits        12324    12356      +32
- Misses       7806     7808       +2

Flag
Coverage Δ

API_plugin_unit_test
65.83% <ø> (ø)

AWSPluginsCore
76.28% <ø> (ø)

Amplify
49.02% <ø> (+0.04%)
:arrow_up:

Analytics_plugin_unit_test
73.41% <ø> (ø)

Auth_plugin_unit_test
82.35% <ø> (ø)

DataStore_plugin_unit_test
76.54% <88.88%> (+0.08%)
:arrow_up:

Predictions_plugin_unit_test
33.51% <ø> (ø)

Storage_plugin_unit_test
57.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...Configuration/AmplifyAWSServiceConfiguration.swift
82.60% <ø> (ø)

...Plugin/Sync/Support/MutationEvent+Extensions.swift
88.00% <88.00%> (ø)

.../OutgoingMutationQueue/OutgoingMutationQueue.swift
80.25% <90.00%> (+0.34%)
:arrow_up:

...ategoryPlugin/Sync/Support/SQLiteResultError.swift
88.88% <100.00%> (ø)

Amplify/Categories/Hub/HubFilter.swift
52.63% <0.00%> (-5.27%)
:arrow_down:

...n/Operation/AWSGraphQLOperation+APIOperation.swift
47.27% <0.00%> (-3.64%)
:arrow_down:

...lugin/Operation/AWSAPIOperation+APIOperation.swift
83.78% <0.00%> (+5.40%)
:arrow_up:

...s/AWSHubPlugin/Internal/HubChannelDispatcher.swift
94.11% <0.00%> (+8.82%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc7539a...59a111f. Read the comment docs.

closing since https://github.com/aws-amplify/amplify-ios/pull/1368 has been merged in and released


add JSONWebKeySet in attestation.json file

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ X] I have reviewed the documentation for the workflow.
[X ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-go

This looks like a misunderstanding about common-types. Please let me know if there's a reason this definition should be shared across RPs

Asked earlier, but: Where do types defined by an IETF RFC go? These types by definition are common to all protocols implementing that RFC. It seems like "common-types" is a reasonable location for such types. Guidance for how we handle RFC defined types would be appreciated.

@KrisBash Hello. Could you give the guidance to @shleiAmy? @shleiAmy For the failures in the spellcheck, you can update this file by adding the words into it. https://github.com/Azure/azure-rest-api-specs/blob/master/custom-words.txt

@MyronFanQiu I have resubmitted pr to fix the word check error. Thanks

@KrisBash Hello. Are you ok with this PR? If so, please sign off it.


Update curator cluster from OCP 4.7.2 to OCP 4.9.5

Upgrade path for OpenShift  - https://access.redhat.com/labs/ocpupgradegraph/update_path

The authentication operator issue has been resolved.
All warnings have been resolved.
First updating cluster to version 4.7.36 after that will update to a newer version.

The curator cluster has been updated to version 4.9.5

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
/close

@sesheta: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Dropdown menu not closing

I am in the process of building a new site from scratch with Petal for the first time. I am at the wireframe / design stage. I am trying to create a menu bar out of buttons (extra vote for Nav component please).
When I click on the "caret" to instantiate the dropdown, there are no problems and the list appears but when I click on the "caret" again to hide the menu, it does not hide and the JS console displays an error:
Uncaught TypeError: can't access property "parentNode", dropdown_el is null
I have examined the source of your buttons in your Documentation and my code is a copy of that:
`

					<button class="btn hollow whitetext navbtn" data-action="/" type="button">Home</button>

					<button class="btn hollow whitetext" data-toggle="dropdown" id="usermenu">User </button>

Register

Login

					<button class="btn hollow whitetext" data-toggle="dropdown" data-dropdown="membermenu">Member </button>

Profile

Logout

`

I have tried a few ideas (see in my code), but to no avail.
I could dive into your JS and probably fix it, but I am a bit confused why it works in your documentation but does not work on my system.

It looks like you forgot to add the .dropdown class to the <button>. As laid out in the documentation, the .dropdown class and data-toggle="dropdown" attributes are both required for the closing to properly work. Can you try again and see how it goes?


61 support arp

This PR is for:

Agent

add npb arp table
Checklist

[ ] Added unit test.

Backport to branches

6.1

 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.8 out of 9 committers have signed the CLA.:white_check_mark: mytting:white_check_mark: TomatoMr:white_check_mark: lzf575:white_check_mark: rvql:white_check_mark: SongZhen0704:white_check_mark: qq906907952:white_check_mark: yuanchaoa:white_check_mark: LYootsz:x: travilyuYou have signed the CLA already but the status is still pending? Let us recheck it.


Implement pure voxel-level Monte Carlo FWE correction for CBMA Estimators

@tyarkoni realized that voxel-level FWE correction can be performed significantly faster if its procedure is separated from the cluster-level FWE procedure. As such, we can allow the Corrector to take an argument to toggle "fast vFWE" vs. "slow vFWE+cFWE".
NOTE: We probably still want to include vFWE in the standard Monte Carlo approach, since it costs nothing to collect voxel-level FWE information within the cluster-level FWE function.

A minor note- vFWE can also be performed simultaneously with the full coordinate shuffling empirical approach (#389), which means we may end up with three internal implementations of vFWE: (1) standard cFWE+vFWE permutations, (2) vFWE-only, and (3) uncorrected+vFWE permutations.


Basic examples for creating data structures fail type-checking

What happened?
The examples provided by this documentation reveal issues with the type-annotations for DataArray and Dataset. Running mypy and pyright on these basic use-cases, only slightly modified, produce type-checking errors.
What did you expect to happen?
The annotations for these classes should accommodate these common use-cases.
Minimal Complete Verifiable Example
# run mypy or pyright on the following file to reproduce the errors

import numpy as np
import xarray as xr
import pandas as pd

data = np.random.rand(4, 3)
locs = ["IA", "IL", "IN"]
times = pd.date_range("2000-01-01", periods=4)

foo = xr.DataArray(
    data,
    coords=[times, locs],  # error: List item 1 has incompatible type "List[str]"; expected "Tuple[Any, ...]"
    dims=["time", "space"],
)

temp = 15 + 8 * np.random.randn(2, 2, 3)
precip = 10 * np.random.rand(2, 2, 3)
lon = [[-99.83, -99.32], [-99.79, -99.23]]
lat = [[42.25, 42.21], [42.63, 42.59]]

A = {
    "temperature": (["x", "y", "time"], temp),
    "precipitation": (["x", "y", "time"], precip),
}

C = {
    "lon": (["x", "y"], lon),
    "lat": (["x", "y"], lat),
    "time": pd.date_range("2014-09-06", periods=3),
    "reference_time": pd.Timestamp("2014-09-05"),
}

ds = xr.Dataset(
    A, # error: Argument 1 to "Dataset" has incompatible type "Dict[str, Tuple[List[str], Any]]"; expected "Optional[Mapping[Hashable, Any]]"
    coords=C,  # error: Argument "coords" to "Dataset" has incompatible type "Dict[str, Any]"; expected "Optional[Mapping[Hashable, Any]]"
)

MVCE confirmation

[x] Minimal example — the example is as focused as reasonably possible to demonstrate the underlying issue in xarray.
[x] Complete example — the example is self-contained, including all data and the text of any traceback.
[x] Verifiable example — the example copy & pastes into an IPython prompt or Binder notebook, returning the result.
[x] New issue — a search of GitHub Issues suggests this is not a duplicate.

Relevant log output
No response
Anything else we need to know?
Some of these errors are circumvented when one provides a literal inline, and thus exploit bidrectional inference, which may be why the current mypy tests ran in your CI miss these.
E.g.
from typing import Dict, Hashable, Any

def f(x: Dict[Hashable, Any]): ...

f({"hi": 1})  # this is ok -- uses bidirectional inference to see Dict[Hashable, Any]

x = {"hi": 1}
f(x)  # error: Dict[Hashable, Any] is invariant in Hashable, and is incompatible with str

This is a sticky situation as key is invariant even in Mapping: https://github.com/python/typing/issues/445. IMHO it would be great to tweak these annotations, e.g. Hashable -> Hashable | str | <other common coord types> to ensure that users don't face such  false positives.
 At least the first problem should be gone.

Thanks for the issue @rsokl , sorry I missed this — I was out for a while.
This does look to be fixed now, thanks to @headtr1ck 's work. I'll close, but please if you find other similar cases, post and we'll try and resolve those.


Auth: add profiles support

Users should be able to easily switch between endpoints and user credentials using a profiles system. Example
Current workaround before the feature is implemented: keep multiple auth.yaml files and manually switch the currently active file
(Do we really need profiles or just a convenient way to specify a different auth.yaml? The latter is already implemented, --auth flag)

This idea has been shelved, in favor of the much simpler and understandable solution of specifying different auth files, either through the --auth flag every time fyde-cli is run, or by using the FYDE_CLI_AUTH_FILE to specify the auth file path as implemented in af382f7cf17bf7760e648cd20f6b8d72f63e3f69.


error when i execute an artisan migrate command: syntax error, unexpected ')'

https://github.com/laravel/framework/blob/5bf30a553a1478ae8d8b3f6791286c7936a19ed5/src/Illuminate/Bus/BusServiceProvider.php#L50
There is an extra comma at final of this line, i only remove it and i tried again and this work for me.

Support for trailing commas in function calls was added in php 7.3, which is required by Laravel 8.