Has anyone downloaded the images.  The great thing about using the scripts is you can manually prune the url lists to an acceptable size if you only need to download - for example - 1,000  images in each category.
However, if pulling a Docker Image is too much work, you can try this dataset: https://archive.org/details/NudeNet_classifier_dataset_v1

^ Lmao
But in all honesty, the image dataset is probably what 90% of people are here for. The great thing about using the scripts is you can manually prune the url lists to an acceptable size if you only need to download - for example - 1,000 images in each category.
However, if pulling a Docker Image is too much work, you can try this dataset: https://archive.org/details/NudeNet_classifier_dataset_v1

Thanks


React Native Maps

What API are we going to use in this project exactly?
I wasn't able to find any info on that...
I suggest we use react native maps, if you guys agree with that I have a second question which is how to safely use the GOOGLE_API_KEY in the android manifest file.

I think the api used is https://openweathermap.org/api
About the GOOGLE_API_KEY i think we can put it in a enviroment variable or in strings.xml file on android resources, and add the file in .gitignore. About the react native maps, i think it's a good one

@MarlonX19
Now that I realized that there is already a discussion about it in this PR
https://github.com/lucasmontano/openweathermap-reactnative/pull/4

@MarlonX19
Now that I realized that there is already a discussion about it in this PR
#4

yes, I just read the discussion and it was enought for me to understand how to NOT expose the API_KEY in the android manifesto file.
Just fixed my code as suggested, using local.properties
I'm closing this issue for now.
Thanks.


Unable to load settings.json file on Heroku

I've cloned the repository over at https://github.com/HelloMeets/HelloMakers with script to generate settings.json file from environment variables.
It uses https://github.com/AdmitHub/meteor-buildpack-horse and runs well... It works like the demo hosted at http://demo.telescopeapp.org and does not read the settings.json file.
I've made sure that the settings file exists on the server with the validated JSON and correct values. It works locally as well but not over at Heroku. I can't seem to pinpoint where the problem lies.

Moved to Google Cloud Platform...

try: heroku config:set METEOR_SETTINGS="$(cat settings.json)"


About OWPDC

Is there an open source plan for the code part of  the Optimized Weighted Parameter Distance Cost?
And I am also interested in the implementation of wpdc_loss. Will you give more details about it?
Such as:

why pose params are split into three parts: [0, 4, 8], [1, 5, 9], [2, 6, 10]
shape_exp: magic_number

Thx

Sorry for that I have no plan to implement the OWPDC. According to someone's feedback, OWPDC seems not effective for this repo. In a word, welcome for your implementation and pull request.
The WPDC optimized implementation is a little weird, so you can just think it works as you think. The magic number is just an approximation calculation.


Bug in from_didl_string causes incomplete information to be returned by soco.get_queue()

One line of code should be commented out until it has been adequately tested and is bug free.
Closes #552.

I have made an alternative PR in #589 which retains all the metadata while keeping the appropriate data structure.

I've merged the alternative PR #589 thereby closing this


Insert query with placeholders saves data as blob if not using .c_str() function.

When using the "insert query" with data that is determined during the runtime, it saves the entered data as blob in the database, if you are not using .c_str() function.

Now possible to omit .c_str() altogether after b8e32b07aa81f9ce94f0d27f07720e4ea1f987e3.


License text addition to all source files

License text addition to all source files

@rajmera3 @arvindshmicrosoft Please review.


Compiling Protobuf generates Warnings

Description
The following warnings are generated when compiling the protobuf in hedera-services master branch:
hedera-protobufs/services/CryptoGetAccountBalance.proto(31,1): warning : warning: Import Timestamp.proto is unused.
hedera-protobufs/services/Freeze.proto(28,1): warning : warning: Import Duration.proto is unused.
hedera-protobufs/services/ResponseHeader.proto(28,1): warning : warning: Import TransactionResponse.proto is unused.
hedera-protobufs/services/Transaction.proto(29,1): warning : warning: Import Duration.proto is unused.
hedera-protobufs/services/TransactionRecord.proto(32,1): warning : warning: Import CryptoTransfer.proto is unused.

Steps to reproduce
Download the .net sdk and pull the latest version of the hedera-protobufs sub-repository and attempt to build the solution.  The compiler identifies the warnings mentioned above.  These had been fixed in the past, but it appears to be a regression.
Additional context
No response
Hedera network
other
Version
master branch
Operating system
Windows

Stale.  Please reopen if still needed.


Using 0.6.8 version, download is not working

    #api as a context manager
    with swcc_session()  as session:
        token = session.login(username, password)
        session = swcc_session(token=token).__enter__()
        print([(d.id, d.name) for d in Dataset.list()])

        # Download a full dataset in bulk
        dataset = Dataset.from_name('ellipsoid8_16')

        print(outputDirectory+datasetName+"/")
        download_path = Path(outputDirectory+datasetName+"/")
        if not download_path.exists():
            rmtree(str(download_path))

        dataset.download(download_path)

This only downloads the groomed segmentations and particle files (these are specified in project.xlsx) but does not download the files specified in "data.xlsx"

Did you upload the dataset with the newer version first?  If not, the server may not have the data.xlsx file on it, so it can't download it.

This should be resolved in the latest version.


Release version 1.2

Coming from opensearch-build#567, release version 1.2. Please follow the following checklist.
Preparation

[x] Assign this issue to a release owner.
[x] Finalize scope and feature set and update the Public Roadmap.
[x] #77

CI/CD

[x] Increment version on main to <IP_ADDRESS>.
[x] Ensure working and passing CI.
[x] Re(add) this repo to the manifest.

Pre-Release

[x] Branch and build from a 1.2 branch.
[x] #90
[x] #89
[x] #88

Release

[x] Complete documentation.
[x] Gather, review and publish release notes.
[x] Verify all issued labeled for this release are closed or labelled for the next release.

Post Release

[x] Create a release tag.
[ ] Suggest improvements to this template.
[ ] Conduct a postmortem, and publish its results.

@opensearch-project/job-scheduler Could we update this ticket to reflect who is assigned to the 1.2 release?

@qreshi Until Friday the 12th at noon PST, any tests that use distribution downloader were running against old bits and need to be rerun.  Can you please see if your team was impacted, rerun the tests, and then mark the tests run as completed in https://github.com/opensearch-project/opensearch-build/issues/954?

@peternied Thanks for the heads up. I reran the tests on the 1.2 branch locally and it passes so we should be good.

The template being linked in this issue that asks us to suggest improvements (https://github.com/opensearch-project/opensearch-plugins/templates/release.md) doesn't exist. I'll be leaving that step unchecked for now.

We have the parent template in https://github.com/opensearch-project/opensearch-build/blob/main/.github/ISSUE_TEMPLATE/release_template.md and are instructing the release manager to clone the template from the previous version in https://github.com/opensearch-project/opensearch-build/tree/main/meta/templates/releases. Could you please clone the 1.2 into 1.3 and suggest changes?

1.2 has shipped a long time ago, closing


API Change from Kernel Explainer to Tree Explainer?

Hi,
I applied SHAP on my data and it worked fine with:
explainer = shap.KernelExplainer(reg.predict, X_train)
shap_values = explainer.shap_values(X_test, nsamples=100)
but now, since my model is a Gradient Boosted Decision tree ensemble, I want to use the Tree explained since it is better for Trees (haven't read the paper though :( ).
Now if I use,
TreeExplainer instead of Kernel explainer it fails.
How do I use the Tree Explained in this case? My data is just X-train and X_test that worked with the Kernerl explainer.
Thanks for the great lib,
Cheers!

You don't need to pass X_train since TreeExplainer infers the training data from the sample counts stored in the trees.


Publish Re-Trained I2B2 BERT to HuggingFace

Specifically, here
Depends on #43

Done: https://github.com/cascadianblue/bert-phi-annotator


Docker for Mac - K8s brig run - sample not working

Hi
bridge.js
const { events } = require('brigadier')

events.on("exec", (brigadeEvent, project) => {
  console.log("Hello world!")
})

With the helm inspect values brigade/brigade-project > myvalues.yaml not changes.
I have had this working on Google Kubernetes Engine, now I am trying to run this on Docker For Mac with Kubernetes.
I did install Brigade with helm install -n brigade brigade/brigade --set rbac.enabled=true
Now when I run brig run -f brigade.js deis/empty-testbed it gives me the following error:
Error: pod failed to schedule:
Usage:
  brig run PROJECT [flags]

Flags:
  -c, --commit string    A VCS (git) commit version, tag, or branch (default "master")
  -e, --event string     The name of the event to fire (default "exec")
  -f, --file string      The JavaScript file to execute
  -p, --payload string   The path to a payload file

Global Flags:
      --kubeconfig string   The path to a KUBECONFIG file, overrides $KUBECONFIG.
  -n, --namespace string    The Kubernetes namespace for Brigade (default "default")
  -v, --verbose             Turn on verbose output

pod failed to schedule:

I did try to brigade-worker-01c9w9q8zxj6zg8v4c39yx3d7m    0/1       Error     0          9m on the failing brigade-worker... it just returns an empty line.
kubectl describe brigade-worker-01c9w9q8zxj6zg8v4c39yx3d7m
Events:
  Type    Reason                 Age   From                         Message
  ----    ------                 ----  ----                         -------
  Normal  Scheduled              13m   default-scheduler            Successfully assigned brigade-worker-01c9w9q8zxj6zg8v4c39yx3d7m to docker-for-desktop
  Normal  SuccessfulMountVolume  13m   kubelet, docker-for-desktop  MountVolume.SetUp succeeded for volume "vcs-sidecar"
  Normal  SuccessfulMountVolume  13m   kubelet, docker-for-desktop  MountVolume.SetUp succeeded for volume "brigade-worker-token-bmsck"
  Normal  SuccessfulMountVolume  13m   kubelet, docker-for-desktop  MountVolume.SetUp succeeded for volume "brigade-build"
  Normal  Pulled                 13m   kubelet, docker-for-desktop  Container image "deis/brigade-worker:v0.11.0" already present on machine
  Normal  Created                13m   kubelet, docker-for-desktop  Created container
  Normal  Started                13m   kubelet, docker-for-desktop  Started container

Do you know why?
Thanks

I'm testing this now.

I'm having major problems with Docker For Mac, largely due to a problem with the way it generates SSL certificates. It sets an illegal FQDN for the cluster, and that generates errors like this:

Get https://localhost:6443/api/v1/namespaces/default/secrets?labelSelector=app%3Dbrigade%2Ccomponent%3Dproject: tls: failed to parse certificate from server: x509: cannot parse dnsName "kubernetes.default.svc."

(Note the trailing dot at the end of kubernetes.default.svc.)
Apparently a recent version of Go made it much more strict about checking this field, so I may try to revert to a version of Brigade compiled by Go 1.8 or earlier and see if I can get further.

Hey @technosophos
I now have it running.
I hope I am able to explain myself clearly in the following:
The different is now:

An upgrade to the latest docker for mac: Version 18.03.0-ce-mac58 (23607).
kubectl version returns the same information.
And also docker version is the same.
BUT: It did come up with an update to Docker for mac, note the build number 23607.
I got it from Docker for mac - preference.

Also I did install brigade with --set rbac.enabled=true but not for the sample app:
helm install --name my-project brigade/brigade-project -f myvalues.yaml

I only thought it was necessary for when installing brigade?
So I also tried, installing the sample with --set rbac.enabled=true:
helm install --name my-project brigade/brigade-project -f myvalues.yaml --set rbac.enabled=true
And this is where I found that is was actually working again with: brig run -f brigade.js deis/empty-testbed
Then I tried to delete brigade and the sample app, and install brigade(as I learned privious in another issue - with rback enabled👍 ) and then install the sample app without rback - just to verify if it would not work. And it did worked even without rback.
Now I dont know if kubernetes saves some secrets, that enables the sample app to run after deleting the previous installation of the sample app with --set rbac.enabled=true.
Conclusion: I suspect that it is the docker for mac update that did the trick, but you might know if it was the --set rbac.enabled=true for the sample app?
Thanks again Matt

Oh, man... I am so glad you figured that out. I'm totally having zero luck getting Docker for Mac working at all. I keep running into all these little issues with the way I have my local machine set up. I should have waited longer to upgrade to Go 1.10, I think.
Sounds like I can mark this as resolved. Thanks for the details.

Hi @technosophos
I am back with the same problem even with the rbac.enabled=true bouth for installing brigade and for the project.
helm template install/kubernetes/helm/istio --name istio --namespace istio-system > $HOME/istio.yaml

brig run -f brigade.js deis/empty-testbed
Event created. Waiting for worker pod named "brigade-worker-01ch3gf2zmh249yjk1vy5p7b9t".
Error: pod failed to schedule:

I dont know how to debug this. There is no vacume I can kubectl log on.
Do you have any idea? Thanks
This time I am running on Google Kuberneres Engine
I am running Helm, brigade & kubectl:
helm install -n brigade brigade/brigade

And I build brig from latest - not using the pre builds.

helm version
Client: &version.Version{SemVer:"v2.10.0-rc.1", GitCommit:"aa98e7e3dd2356bce72e8e367e8c87e8085c692b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0-rc.1", GitCommit:"aa98e7e3dd2356bce72e8e367e8c87e8085c692b", GitTreeState:"clean"}

kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.7", GitCommit:"dd5e1a2978fd0b97d9b78e1564398aeea7e7fe92", GitTreeState:"clean", BuildDate:"2018-04-19T00:05:56Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.7-gke.3", GitCommit:"9b5b719c5f295c99de68ffb5b63101b0e0175376", GitTreeState:"clean", BuildDate:"2018-05-31T18:32:23Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}

Can you do a kubectl logs brigade-worker-01ch3fzfmc07vfm52bmam1ecf5 vcs-sidecar? Or, alternatively, a kubectl describe pod brigade-worker-01ch3fzfmc07vfm52bmam1ecf5

Re-opening

Hi @technosophos, I met the same error when running on pure kubernetes cluster (installed by kubeadm), and I got exactly same error with @JCzz , and it reports Event created. Waiting for worker pod named "brigade-worker-01cjcsnqz2wd1vxa131jzsends". Error: timeout waiting for build 01cjcsnqz2wd1vxa131jzsends to start.
I did try @JCzz 's suggesting by adding the --set rbac.enabled=true on both brigade install and project install, but no luck.
And I found it not possible to do kubectl logs on the worker pod, since it's not even created or exits at all.
Could you please shed some light on this?

@technosophos I think I figured out my problem... I installed brigade in another namespace rather than default, and seems the rbac is not working with non-default namespaces.
My initial installation command is: helm install -n brigade brigade/brigade --namespace=utils --set rbac.enabled=true --set vacuum.age=10h and worker pod cannot be created, but when I remove the setting for namespace --namespace=utils, it worked fine.

I will try to reproduce that here. Maybe there is an error in the Helm chart having to do with namespaces.

I'm having some trouble reproducing. But here's what I did to attempt to reproduce:
I started a fresh minikube instance with RBAC enabled, then installed Helm.
I installed Brigade like this:
$BRIG=$(pwd)
$BRIGADE_NS="brigade"
$BRIGADE_PROJECT=$HOME/Code/deis-empty-testbed

helm install -n brigade $BRIG/charts/brigade -f $BRIG/_scratch/local-brigade.yaml --namespace $BRIGADE_NS
helm install $BRIG/charts/brigade-project -n empty-testbed -f $BRIGADE_PROJECT/values.yaml --namespace $BRIGADE_NS

Then I executed this:
$ brig run deis/empty-testbed -n brigade
Event created. Waiting for worker pod named "brigade-worker-01cjmx0shgwj3xchb862a7ceft".
Build: 01cjmx0shgwj3xchb862a7ceft, Worker: brigade-worker-01cjmx0shgwj3xchb862a7ceft
prestart: no dependencies file found
prestart: src/brigade.js written
[brigade] brigade-worker version: 0.15.0
[brigade:k8s] Creating PVC named brigade-worker-01cjmx0shgwj3xchb862a7ceft
[brigade:app] no-after: fired
[brigade:app] beforeExit(2): destroying storage
[brigade:k8s] Destroying PVC named brigade-worker-01cjmx0shgwj3xchb862a7ceft

Here's a list of all the roles/rolebindings I have:
$ kubectl get rolebinding -n brigade
NAME                        AGE
brigade-brigade-api         39m
brigade-brigade-cr-gw       39m
brigade-brigade-ctrl        39m
brigade-brigade-github-gw   39m
brigade-brigade-vacuum      39m
brigade-brigade-wrk         39m
cron-brigade-cron           39m
trello-brigade-trello       39m
$ kubectl k get role -n brigade
NAME                        AGE
brigade-brigade-api         39m
brigade-brigade-cr-gw       39m
brigade-brigade-ctrl        39m
brigade-brigade-github-gw   39m
brigade-brigade-vacuum      39m
brigade-brigade-wrk         39m
cron-brigade-cron           39m
trello-brigade-trello       39m

Anything else you can help me with so I can see if I can reproduce?

@technosophos Thanks for working on this! And the only difference I spotted, is I used "kubeadm" to install my kube cluster, but not minikube. And according to it's document, kubeadm enabled rbac by default. Not sure this matters, but that's all I found.
And btw, I found you didn't even install brigade with the --set rbac.enabled=true, and last time I installed without rbac, I got a lot of error vacuum pods. I searched around and enabled rbac to fixed it.

I turned it on in the values file. Here's the file:
rbac:
  enabled: true
controller:
  registry: deis
  name: brigade-controller
  tag: latest
api:
  enabled: true
  registry: deis
  name: brigade-api
  tag: latest
  service:
    name: brigade-api
    type: ClusterIP
    externalPort: 7745
    internalPort: 7745

# worker is the JavaScript worker. These are created on demand by the controller.
worker:
  registry: deis
  name: brigade-worker
  tag: latest
  #pullPolicy: IfNotPresent

# gw is the GitHub gateway.
gw:
  enabled: true
  registry: deis
  name: brigade-gateway
  tag: latest
  #pullPolicy: IfNotPresent
  #buildForkedPullRequests: true

cr:
  enabled: true
  registry: deis
  name: brigade-cr-gateway
  tag: latest
  service:
    name: brigade-cr-service
    type: ClusterIP  # Change to LoadBalancer if you want this externally available.
    externalPort: 80
    internalPort: 8000

# The vacuum periodically cleans up old builds.
# Brigade does not delete builds on completion. Instead, it leaves builds around
# for a period of time, providing you with an opportunity to inspect builds for
# data.
# The vacuum will sweep the system at intervals and clear out old builds.
#
# To globally turn of the vacuum, set enabled=false
vacuum:
  enabled: true
  # Set a schedule for how frequently this check is run.
  # Note that a run of the vacuum typically takes at least a minute. Finer-level
  # granularity than that may result in multiple vacuums running at once.
  # Format follows accepted Cron formats: https://en.wikipedia.org/wiki/Cron
  schedule: "@hourly"
  registry: "deis"
  name: "brigade-vacuum"
  # tag: latest
  # Age tells the vacuum how old a thing may be before it is considered ready to
  # be vacuumed. The format is an integer followed by the suffix h (hours), m (minutes)
  # or s (seconds).
  # The default is 30 days (720 hours)
  age: "720h"
  # maxBuilds tells the vacuum what the absolute maximum number of builds may be stored
  # at a time. Where possible, we recommend using age rather than builds.
  # 0 means no limit is imposed.
  #
  # If both age and maxBuilds are provided, age is applied first, then maxBuilds.
  maxBuilds: 0
  tag: latest

# The service is for the Brigade gateway. If you do not want to have Brigade
# listening for incomming GitHub requests, disable this.
service:
  name: brigade-service
  type: LoadBalancer
  externalPort: 7744
  internalPort: 7744
# By default, this is off. If you enable it, you might want to change the
# service.type to ClusterIP
ingress:
  enabled: false
  hosts: []
  # Add TLS configuration
  # tls: <TLS_CONFIG>
  # Add custom annotations
  # annotations:
  #   name: value

# DEVELOPMENT ONLY: Use this for off-ACS development
# Before enabling this, log into the acr registry with Docker and then
# run `scripts/generate-acr-secret.sh`
#privateRegistry: brigade-registry

@technosophos Got it, so both cases are rbac enabled, and no difference then.

@emmayang We're still hunting this down, and one thing we discovered is that older RBACs might be causing problems with newer versions of the Controller. Can you check whether the role/role binding for the controller is allowing create for pod? It should look something like this in the role:
kind: Role
apiVersion: {{ template "brigade.rbac.version" }}
metadata:
  name: ...
rules:
- apiGroups: [""]
  resources: ["pods", "secrets", "configmaps"]
  verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]

That assumes that the Controller is running in the same namespace that is configured in the project's namespace field, which you may also wish to check.

Some of the issues that @JCzz reports look similar to #408

@technosophos I worked around this problem by install in default namespace, and tried to get the information you want with a problematic one, so I removed it and installed again into customized namespace, and this time the error is gone... I can get it working well as expected. Anyway, here's my current value of controller role & rolebinding:
root@qcloud:~# k get roles -n utils
NAME                               AGE
brigade-server-brigade-api         32m
brigade-server-brigade-ctrl        32m
brigade-server-brigade-github-gw   32m
brigade-server-brigade-vacuum      32m
brigade-server-brigade-wrk         32m
root@qcloud:~# k get roles -n utils  brigade-server-brigade-ctrl -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  creationTimestamp: 2018-07-23T03:10:13Z
  labels:
    app: brigade-server-brigade
    chart: brigade-0.15.0
    heritage: Tiller
    release: brigade-server
  name: brigade-server-brigade-ctrl
  namespace: utils
  resourceVersion: "22704671"
  selfLink: /apis/rbac.authorization.k8s.io/v1/namespaces/utils/roles/brigade-server-brigade-ctrl
  uid: ea6c9188-8e25-11e8-99e5-005056a0fca0
rules:
- apiGroups:
  - ""
  resources:
  - pods
  - secrets
  - configmaps
  verbs:
  - get
  - list
  - watch
  - create
  - update
  - patch
  - delete
root@qcloud:~# k get rolebindings -n utils brigade-server-brigade-ctrl
NAME                          AGE
brigade-server-brigade-ctrl   33m
root@qcloud:~# k get rolebindings -n utils brigade-server-brigade-ctrl -o yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  creationTimestamp: 2018-07-23T03:10:13Z
  labels:
    app: brigade-server-brigade
    chart: brigade-0.15.0
    heritage: Tiller
    release: brigade-server
  name: brigade-server-brigade-ctrl
  namespace: utils
  resourceVersion: "22704676"
  selfLink: /apis/rbac.authorization.k8s.io/v1/namespaces/utils/rolebindings/brigade-server-brigade-ctrl
  uid: ea75747b-8e25-11e8-99e5-005056a0fca0
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: brigade-server-brigade-ctrl
subjects:
- kind: ServiceAccount
  name: brigade-server-brigade-ctrl

Okay. I will leave this issue open for a bit. I reorganized my local minikube cluster so that I am using a non-default namespace for all my dev work. Hopefully I will catch namespace errors earlier now.
Thanks again for following up so diligently.

I can confirm that I experienced these same issues today with minikube until I recreated brigade with rbac enabled:
helm install -n brigade brigade/brigade --set rbac.enabled=true

Tried with later versions of Minikube and Docker Desktop and didn't experience the issue.
Closing for now, but feel free to reopen if you the issue reappears, or if you have additional questions.
Thanks!


"No matching distribution found for auth2==1.0" for Python example

From an email:

I am a beginner programmer and am learning to use the Yelp API. I tried to follow your example (https://github.com/Yelp/yelp-api/tree/master/v2/python) on Github but have some very basic questions, coming from a novice background.
I saved the file "requirements.txt" in a directory and then in the terminal tried to run:
pip install -r requirements.txt
The following message was returned:

  Could not find a version that satisfies the requirement auth2==1.0 (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for auth2==1.0 (from -r requirements.txt (line 1))

What other basic steps would I need to take before running the "pip install" command?
Thanks very much for your help!

Works as expected on my machine, so things are basically functional:
kmitton-laptop:~/pg/yelp-api/v2/python$ virtualenv venv
New python executable in venv/bin/python
Installing setuptools, pip...done.
kmitton-laptop:~/pg/yelp-api/v2/python$ source venv/bin/activate
(venv)kmitton-laptop:~/pg/yelp-api/v2/python$ pip install -r requirements.txt
Downloading/unpacking oauth2==1.0 (from -r requirements.txt (line 1))
  Downloading oauth2-1.0.0.tar.gz
  Running setup.py (path:/Users/mittonk/pg/yelp-api/v2/python/venv/build/oauth2/setup.py) egg_info for package oauth2

Downloading/unpacking httplib2==0.9 (from -r requirements.txt (line 2))
...

Original poster saw (from versions: ), let's see what they get for pip -vvv install oauth2==1.0.  Should look something like:
(venv)kmitton-laptop:~/pg/yelp-api/v2/python$ pip -vvv install oauth2==1.0
Downloading/unpacking oauth2==1.0
  Getting page https://pypi.python.org/simple/oauth2/
  URLs to search for versions for oauth2==1.0:
  * https://pypi.python.org/simple/oauth2/1.0
  * https://pypi.python.org/simple/oauth2/
  Getting page https://pypi.python.org/simple/oauth2/1.0
  Could not fetch URL https://pypi.python.org/simple/oauth2/1.0: 404 Client Error: Not Found
  Will skip URL https://pypi.python.org/simple/oauth2/1.0 when looking for download links for oauth2==1.0
  Analyzing links from page https://pypi.python.org/simple/oauth2/
    Found link https://pypi.python.org/packages/2.7/o/oauth2/oauth2-1.9rc1-py2-none-any.whl#md5=46c1705b59358f30f7456faae9205304 (from https://pypi.python.org/simple/oauth2/), version: 1.9rc1
    Found link https://pypi.python.org/packages/3.4/o/oauth2/oauth2-1.9.0.post1-py2.py3-none-any.whl#md5=3cea98a160f8825ea29bc3f3183e246f (from https://pypi.python.org/simple/oauth2/), version: 1.9.0.post1
...

Dup of #107 , that's got a prettier history so using that.


Update RELEASE.md to include instructions on copying over OLM manifes…

…t files to operatorhub.io
Signed-off-by: Gary Brown<EMAIL_ADDRESS>

@jpkrohling ready for another review.


Configure Initial Setup for SAP Mobile Cards

Tutorial URL: https://developers.sap.com/tutorials/cp-starter-digitalexp-mobilecards-1-setup.html
Step: Search the Mobile Services and click on it.
Issue: Mobile Services does not exist in the catalog. It appears that the catalog has been vastly reduced as the screenshot in the tutorial shows 38 different services when searching, however only 9 are available to me.

i've just checked back after attempting the same in a Neo environment (which didn't work for other reasons) and now there are 16 services available.

@Leoooob can you check below?
Go to https://cockpit.hanatrial.ondemand.com/cockpit/#/home/trial >Enter your trial account > click Entitlements on left hand side>Subaccount Assignments > select subaccount and click Go.
Do you see Mobile Services in the list? (check screenshot)

@jitendrakansal thanks for the quick reply, I followed your steps and it looks like it's already enabled. However I've only got 17 services available on the cockpit, mobile services is not on there still.
Anything else I could try?

@Leoooob in this case, i need to check with our server colleagues on what is missing.
Could you send me an email to jitendra.kansal@sapdotcom with your tenant/account details?


Update silver-bun to 72c74b4

https://github.com/IcePixelx/silver-bun/tree/72c74b455bf4d02b424096ad2f30cd65535f814c
I don't think this can be submoduled btw, because of how silver-bun is set up.
A good few primedev refactoring PRs will depend on this

I don't think this can be submoduled btw, because of how silver-bun is set up.

Out of scope for this PR odc but for long it might be worth to get in touch with @IcePixelx to potential adjust silver-bun so that we could submodule it or alternatively we create a fork with minimal changes that would allow for submoduling ^^
(Just thinking out loud here bascially)

Note to self to also add @IcePixelx as a co-author on merge, given that it's their code that is vendored here ^^

Code reviews, I have serious doubt this will ever get properly reviewed. As such I will just trust @Icepixelx on the initial implementation of the lib, @F1F7Y on the integration in primedev, and @ASpoonPlaysGames on cherry-picking it correctly.


MSSQL DATEDIFF wraps datepart in single quotes

The DateDiff function always returns the raw sql in the format:
DATEDIFF('d','2019-01-01','2019-12-01')
where MSSQL (T SQL at least) only accepts:
DATEDIFF(d,'2019-01-01','2019-12-01')
without the single quotes on the datepart.
Is there any way to allow pypika to return either a non-quoted datepart, or even a double-quoted one?

I ran in to this issue today, and after some digging figured out a way to at least get this to behave in such a way that it produces valid SQL for MSSQL
If you specify the interval as a Field then you'll get more control over the quoting around it. This may not be intended behavior, I have no idea, but it works.
Simple example:
from pypika import Query, Table, Field
from pypika.functions import DateDiff

t = Table('test')
Query.from_(t).select(DateDiff(Field('day'), t.Date1, t.Date2)

produces:
SELECT DATEDIFF("day","Date1","Date2") FROM "test"
or using get_sql(quote_char=None):
'SELECT DATEDIFF(day,Date1,Date2) FROM test'

MSSQL is special in this case, since the other DBs like the date part parameter wrapped in quotes. Instead of using a Field and get_sql(quote_char=None) (which would definitely work unless you end up needing quote characters, you can alternatively use PseudoColumn object, which won't ever get wrapped by quote characters, like:
from pypika import Query, Table, Field, PseudoColumn
from pypika.functions import DateDiff
from pypika.terms import PseudoColumn

t = Table('test')
Query.from_(t).select(DateDiff(PseudoColumn('day'), t.Date1, t.Date2)


Github workflow integration with public S3 buckets using OIDC.

We have multiple issues popping up requiring new snapshot builds of lucene to artifacts.opensearch. Related issues: https://github.com/opensearch-project/OpenSearch/issues/2785 and https://github.com/opensearch-project/OpenSearch/issues/2786.
Currently the only way for us to do this is with a jenkins job that only a few have access to see & execute.  This slows us down and adds an extra job that needs to be maintained in the jenkins stack when it can be a simple gh workflow.
I would like to propose we improve this process by setting up a gh workflow in the OpenSearch repo that builds and publishes lucene snapshots to artifacts.opensearch.org using OIDC.
I've put together a test workflow here to demonstrate.  This workflow can be used as is subbing in bucket & roles.
To do this I will need help setting up the OIDC provider, role, and policy to the specific s3 bucket.  This is the recommended way to assume role & fetch credentials from GH workflows - https://github.com/aws-actions/configure-aws-credentials#assuming-a-role as it does not use long running aws creds.  If this is acceptable I am happy to PR the necessary cdk or cfn scripts to set it up, which is almost identical to this example.

There are build jobs that produce maven snapshot artifacts, how about setup our own of lucence which uploads to our maven instance and then pass around that path?
Seems like it might be easier to continuously build the lucence setting aside any concerns with access control / permissions

There are build jobs that produce maven snapshot artifacts, how about setup our own of lucence which uploads to our maven instance and then pass around that path?
Seems like it might be easier to continuously build lucence setting aside any concerns with access control / permissions

Hey Peter thanks for the input. Few concerns:

The build output is not visible.  We need the commit sha from build output to include in the version string linked above in order to pull a snapshot.  We want to lock to a build vs a branch - related.
This is fine as long as we are pushing to artifacts.opensearch (or another public bucket) and not sonatype maven repo. We still require these dependencies to be consumed in opensearch under the same group and artifact IDs so we can easily swap between our snapshots. & release versions by specifying the version here.  I don't think we are able to push there for a group id outside of org.opensearch.
Redundant builds, this is only needed ad-hoc.
To add a build of a separate lucene branch adds an extra PR step.

The build output is not visible.
If the jenkins output was public would this be an issue?

I don't think we are able to push there for a group id outside of org.opensearch.
Not sure that we need maven, but if build consumption is easier it might be worthwhile.  It would be good to know if its possible.

Redundant builds, this is only needed ad-hoc.
Check for build has a mechanism not to rebuild on the same git SHA, it could be leverage.  We could create a Lucence fork just for this purpose if it makes sense and more closely tie it to our systems.  Note, this could have huge overlap with asking/offering Lucence a cleaner method

I've been thinking about this. Given that these are not "prod" artifacts or part of the OpenSearch distribution I don't think they belong in artifacts.opensearch, I'd like to go ahead and make a separate account & bucket.

[Triage] @mch2 Please let us know if you need help from us on this.

@mch2 , Having done something somewhat similar for Data Prepper, I think your proposed approach is reasonable. In addition to using the Data Prepper release process to stage artifacts for production, we also may use it for pre-release builds (e.g. weekly or nightly builds). That latter use-case seems somewhat similar to what you wish to do.
Also, if it helps, we have a CloudFormation stack you could use which sets up the Data Prepper staging environment. It is probably almost exactly what you want aside from the ECS repository.
https://github.com/opensearch-project/data-prepper/tree/main/release/staging-resources-cdk/lib
There are a few constants related to Data Prepper (e.g. the repository which may access the OIDC credentials), but these should be easy to resolve.

Thanks @dlvenable ! This is exactly what we need.  In fact I was able to reuse the same cdk project without the ecr resources.  Leaving this issue open until I PR and wire up the workflow.


RetrievalQAWithSourcesChain error with run method

Describe the bug
I am getting the following error:
{'detail': "error: run not supported when there is not exactly one output key. got ['answer', 'sources', 'source_documents']."}
part of code from class BaseQAWithSourcesChain that is possibly causing the error:
def _call(
self,
inputs: Dict[str, Any],
run_manager: Optional[CallbackManagerForChainRun] = None,
) -> Dict[str, str]:
_run_manager = run_manager or CallbackManagerForChainRun.get_noop_manager()
accepts_run_manager = (
"run_manager" in inspect.signature(self._get_docs).parameters
)
if accepts_run_manager:
docs = self._get_docs(inputs, run_manager=_run_manager)
else:
docs = self._get_docs(inputs)  # type: ignore[call-arg]
    answer = self.combine_documents_chain.run(
        input_documents=docs, callbacks=_run_manager.get_child(), **inputs
    )
    answer, sources = self._split_sources(answer)
    result: Dict[str, Any] = {
        self.answer_key: answer,
        self.sources_answer_key: sources,
    }
    if self.return_source_documents:
        result["source_documents"] = docs
    return result

additional context:-
the error seems to be with calling the 'run' method. Is there a way to modify it to resolve the error

@dosu-bot i am able to get response in the UI but not while using API call


Remove global.json with locked .NET SDK version (workaround for duplicated source generators)

Hack described in: https://github.com/dotnet/wpf/issues/6792

Be fixed in .Net SDK 6.0.9 released today. See https://github.com/dotnet/wpf/issues/6792#issuecomment-1245941212


Create Google CoLab notebook that loads the data and trains the model

Looking to find a copy of the original dataset mentioned in the paper. The original link: http://www.cs.tut.fi/sgn/arg/dcase2017/challenge/download#task4---large-scale-weakly-supervised-sound-event-detection-for-smart-cars is dead.

Currently uploading the zipped datasets to google drive now. Need to find correct sets that have the labels and then check challenge rules here: http://dcase.community/challenge2017/task-large-scale-sound-event-detection

Currently, the lowest level of Tensorflow that Google Colab will accept is 1.13. The code waaaay back was frozen with tensorflow 1.8.0. Rather than keep fighting with legacy code, I'm just going to close this issue and update the old code with TensorFlow 2.X.


Combat Fatigues - Create power for the effect (stop using Pen Nib's power)

No, Pen Nib is perfect for this.


Need reset watchdog in any session messages.

Background: https://github.com/DMTF/libspdm/issues/494
Follow up for https://github.com/DMTF/libspdm/pull/521 - "there will need to be a follow-up pull request to address issues such as number of watchdog timers available and resetting the watchdog."
In current code, the libspdm_reset_watchdog() is called in heartbeat.
It is wrong, because any session in message is an indicator to reset the watchdog.
We need call libspdm_reset_watchdog() in any session messages.

I will check this.


[resize-observer, size] Replace unmaintained resize-observer-polyfill with @juggle/resize-observer

Is your feature request related to a problem? Please describe.
The useResizeObserver and useSize hooks use resize-observer-polyfill which hasn't been updated in 3 years and has a really annoying issue with its types since TS 4.2. This is causing many users to stick to TS 4.1 in the hopes of a new release of resize-observer-polyfill but the owner hasn't responded in months.
See https://github.com/que-etc/resize-observer-polyfill/issues/80 and https://github.com/que-etc/resize-observer-polyfill/issues/83 for additional information.
Describe the solution you'd like
Use @juggle/resize-observer instead of resize-observer-polyfill as a drop-in replacement for @react-hook/size and @react-hook/resize-observer.
Describe alternatives you've considered
None.
Additional context
I can try creating a PR if this change is wanted. Please let me know which versions of IE need to be supported as @juggle/resize-observer needs additional polyfills for IE9/IE10 but supports IE11 out of the box.

@jaredLunde, sorry to ping you but this one is blocking updates to newer TS versions in some of our projects so I'd love to hear if you're interested in a PR for this?

Yes Id' take a PR, thanks!

Thanks! Just checked npm to see if the latest release was available already and I noticed the README still referenced the old package so I fixed that in #127 which also update the dependency for @react-hook/size to ensure the deeper dependency is gone.


Conda error

I'm getting the following matplotlib error when I try and build the conda environment. It's a bit mysterious, it's saying it can't find a matching distribution, but it lists distributions that clear match the requirements.
ERROR: Could not find a version that satisfies the requirement matplotlib<3,>=2.2.2 (from mibi-bin-tools) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 3.0.0rc2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0rc1, 3.1.0rc2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0rc1, 3.2.0rc3, 3.2.0, 3.2.1, 3.2.2, 3.3.0rc1, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0rc1, 3.4.0rc2, 3.4.0rc3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0b1, 3.5.0rc1, 3.5.0, 3.5.1)
ERROR: No matching distribution found for matplotlib<3,>=2.2.2

did this get resolved or is it still an issue?

Yeah, I've only been working with it on the CAC

Okay, nuked everything and tried again, same problem
`Pip subprocess error:
Running command git clone -q https://github.com/angelolab/mibi-bin-tools.git /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-req-build-n__v27gt
Running command git clone -q https://github.com/angelolab/ark-analysis.git /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-req-build-jaqx_ab0
ERROR: Command errored out with exit status 1:
command: /Users/noahgreenwald/anaconda3/envs/bin_tools_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_916938979f87493f8df87ed4c7f2314d/setup.py'"'"'; file='"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_916938979f87493f8df87ed4c7f2314d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-pip-egg-info-0ruwxdej
cwd: /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_916938979f87493f8df87ed4c7f2314d/
Complete output (204 lines):
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
            matplotlib: yes [2.2.5]
                python: yes [3.8.12 (default, Oct 12 2021, 06:23:56)  [Clang
                        10.0.0 ]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [not found. pip may install it below.]
      install_requires: yes [handled by setuptools]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.6.34]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: yes [installing, darwin]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt5agg: no  [PySide2 not found; PyQt5 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt4agg: no  [PySide not found; PyQt4 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
               gtk3agg: no  [Requires pygobject to be installed.]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.15]
           ghostscript: yes [version 9.23]
                 latex: yes [version 3.14159265]
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype
                        * Try installing freetype with `brew install
                        * freetype` and pkg-config with `brew install pkg-
                        * config`
----------------------------------------

WARNING: Discarding https://files.pythonhosted.org/packages/10/5f/10c310c943f29e67976dcc26dccf9305a5a9bc7483e631ee74a0f95aa5b2/matplotlib-2.2.5.tar.gz#sha256=a3037a840cd9dfdc2df9fee8af8f76ca82bfab173c0f9468193ca7a89a2b60ea (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: /Users/noahgreenwald/anaconda3/envs/bin_tools_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_a0ae99dbdce946b38cd2dfb07c17e6f1/setup.py'"'"'; file='"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_a0ae99dbdce946b38cd2dfb07c17e6f1/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-pip-egg-info-iodix2tg
cwd: /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_a0ae99dbdce946b38cd2dfb07c17e6f1/
Complete output (204 lines):
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
            matplotlib: yes [2.2.4]
                python: yes [3.8.12 (default, Oct 12 2021, 06:23:56)  [Clang
                        10.0.0 ]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [not found. pip may install it below.]
      install_requires: yes [handled by setuptools]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.6.34]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: yes [installing, darwin]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt5agg: no  [PySide2 not found; PyQt5 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt4agg: no  [PySide not found; PyQt4 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
               gtk3agg: no  [Requires pygobject to be installed.]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.15]
           ghostscript: yes [version 9.23]
                 latex: yes [version 3.14159265]
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype
                        * Try installing freetype with `brew install
                        * freetype` and pkg-config with `brew install pkg-
                        * config`
----------------------------------------

WARNING: Discarding https://files.pythonhosted.org/packages/1e/20/2032ad99f0dfe0f60970941af36e8d0942d3713f442bb3df37ac35d67358/matplotlib-2.2.4.tar.gz#sha256=029620799e581802961ac1dcff5cb5d3ee2f602e0db9c0f202a90495b37d2126 (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: /Users/noahgreenwald/anaconda3/envs/bin_tools_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_2da2d56e0af046f9bcb9f146e0ea5ea3/setup.py'"'"'; file='"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_2da2d56e0af046f9bcb9f146e0ea5ea3/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-pip-egg-info-69cezxzz
cwd: /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_2da2d56e0af046f9bcb9f146e0ea5ea3/
Complete output (204 lines):
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
            matplotlib: yes [2.2.3]
                python: yes [3.8.12 (default, Oct 12 2021, 06:23:56)  [Clang
                        10.0.0 ]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [not found. pip may install it below.]
      install_requires: yes [handled by setuptools]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.6.34]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: yes [installing, darwin]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt5agg: no  [PySide2 not found; PyQt5 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt4agg: no  [PySide not found; PyQt4 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
               gtk3agg: no  [Requires pygobject to be installed.]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.15]
           ghostscript: yes [version 9.23]
                 latex: yes [version 3.14159265]
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype
                        * Try installing freetype with `brew install
                        * freetype` and pkg-config with `brew install pkg-
                        * config`
----------------------------------------

WARNING: Discarding https://files.pythonhosted.org/packages/eb/a0/31b6ba00bc4dcbc06f0b80d1ad6119a9cc3081ecb04a00117f6c1ca3a084/matplotlib-2.2.3.tar.gz#sha256=7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5 (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Command errored out with exit status 1:
command: /Users/noahgreenwald/anaconda3/envs/bin_tools_env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_de15f3787a20433492dbf0b7193bf453/setup.py'"'"'; file='"'"'/private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_de15f3787a20433492dbf0b7193bf453/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-pip-egg-info-2cd5_a3d
cwd: /private/var/folders/sg/3vdk73p96sq5rdljs50kqmn00000gp/T/pip-install-ck58bgax/matplotlib_de15f3787a20433492dbf0b7193bf453/
Complete output (204 lines):
IMPORTANT WARNING:
pkg-config is not installed.
matplotlib may not be able to find some of its dependencies
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
            matplotlib: yes [2.2.2]
                python: yes [3.8.12 (default, Oct 12 2021, 06:23:56)  [Clang
                        10.0.0 ]]
              platform: yes [darwin]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [not found. pip may install it below.]
      install_requires: yes [handled by setuptools]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: no  [The C/C++ header for freetype2 (ft2build.h)
                        could not be found.  You may need to install the
                        development package.]
                   png: yes [version 1.6.34]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: yes [installing, darwin]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt5agg: no  [PySide2 not found; PyQt5 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
                qt4agg: no  [PySide not found; PyQt4 not found]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
               gtk3agg: no  [Requires pygobject to be installed.]
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
IMPORTANT WARNING:
    pkg-config is not installed.
    matplotlib may not be able to find some of its dependencies
             gtk3cairo: no  [Requires cairocffi or pycairo to be installed.]
                gtkagg: no  [Requires pygtk]
                 tkagg: yes [installing; run-time loading from Python Tcl /
                        Tk]
                 wxagg: no  [requires wxPython]
                   gtk: no  [Requires pygtk]
                   agg: yes [installing]
                 cairo: no  [cairocffi or pycairo not found]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.15]
           ghostscript: yes [version 9.23]
                 latex: yes [version 3.14159265]
               pdftops: no

OPTIONAL PACKAGE DATA
                  dlls: no  [skipping due to configuration]

============================================================================
                        * The following required packages can not be built:
                        * freetype
                        * Try installing freetype with `brew install
                        * freetype` and pkg-config with `brew install pkg-
                        * config`
----------------------------------------

WARNING: Discarding https://files.pythonhosted.org/packages/ec/ed/46b835da53b7ed05bd4c6cae293f13ec26e877d2e490a53a709915a9dcb7/matplotlib-2.2.2.tar.gz#sha256=4dc7ef528aad21f22be85e95725234c5178c0f938e2228ca76640e5e84d8cde8 (from https://pypi.org/simple/matplotlib/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement matplotlib<3,>=2.2.2 (from mibi-bin-tools) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 3.0.0rc2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0rc1, 3.1.0rc2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0rc1, 3.2.0rc3, 3.2.0, 3.2.1, 3.2.2, 3.3.0rc1, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0rc1, 3.4.0rc2, 3.4.0rc3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0b1, 3.5.0rc1, 3.5.0, 3.5.1)
ERROR: No matching distribution found for matplotlib<3,>=2.2.2
failed
CondaEnvException: Pip failed
noahgreenwald~/Documents/Grad_School/Lab/Segmentation_Project/code/creed-helper$
`

did you try
brew install pkg-config?

Yikes, that's embarrassing, didn't even read the error message.

Okay, I'm getting a homebrew error since I haven't upgraded past Mojave. However, I'm not risking the biscuit just to get the repo installed. Gonna close this for now since the main priority is that this installs on the CAC.


Rename scss guidelines to correct name

This PR renames the SCSS file to Sass, as Sass is the correct name of the language with SCSS being a particular flavour of said language.

🍍


Amplify Push Failed after amplify add function

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
yarn
If applicable, what version of Node.js are you using?
14.15.5
Amplify CLI Version
5.2.1
What operating system are you using?
Windows 10 Pro
Amplify Categories
function
Amplify Commands
push
Describe the bug
When pushing to amplify I get the following error:
Packaging lambda function failed with the error
Command failed with exit code 1: yarn.cmd --production
➤ YN0050: The --production option is deprecated on 'install'; use 'yarn workspaces focus' instead
An error occurred during the push operation: Packaging lambda function failed with the error
Command failed with exit code 1: yarn.cmd --production
➤ YN0050: The --production option is deprecated on 'install'; use 'yarn workspaces focus' instead
if I remove the function with "amplify remove function" it will push without issue.
I can pull without issue as well.
Expected behavior
It should push without error.
Reproduction steps
amplify add function
complete steps to add function (vanilla) nothing but defaults.
amplify push
GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Hi @dan0nator, what version of yarn are using?
--production should work with yarn classic (1.x). https://classic.yarnpkg.com/en/docs/cli/install/#toc-yarn-install-production-true-false

yarn version 2.4.1 - i have not updated the yarn version, but i did update the amplify API

I'm having a similar issue. But my problem with amplify push using --production flag is that I cannot use devDependencies to build (docs) my lambda or packages using babel because devDependencies are not installed.
In version 5.2.0 and below, I didn't have the issue above, but each lambda function/layer has devDependencies inside their node_modules.
Can/do we have something like SAM's building custom runtime in Amplify?
I checked the file legacyBuild.ts located in the amplify-nodejs-function-runtime package, and the issue seems to be in buildResource and installDependencies functions.
I would suggest the buildResource function having the following flow:
installDependencies(); // run yarn install and npm equivalent
runBuildScriptHook();
installDependencies(); // run yarn --production --frozen-lockfile --non-interactive --ignore-scripts and npm equivalent

This might solve the build and the devDependencies inside node_modules issues but won't solve the yarn v2 issue.

For anyone else having this error when using yarn v2 for their project:
YN0050: The --production option is deprecated on 'install'; use 'yarn workspaces focus' instead

We fixed this with a simple workaround:

Create a shared .yarn/releases folder somewhere in the root of your project directory
Download a yarn v1 release to this directory (I.e. yarn set version classic)
Create a .yarnrc.yml in each of the Amplify Functions src directories(amplify/backend/function/**/src)
Tell yarn to use the v1 release via the yarnPath configuration key in the .yarnrc.yml (I.e. yarnPath: '../../../../../.yarn/releases/yarn-1.23.0.cjs')

Currently migrating a project to Yarn 2, and also running into this issue.
@adam-nygate thanks for the workaround. Hopefully, the fix isn't far away.

@dan0nator Yarn 2 isn't supported by Amplify CLI yet, so the workaround is the only way to do this right now. In the future, the CLI will have to detect usage of Yarn >= 2 when building the lambda to use the new yarn install --production command and the user's source code will also need to include the workspaces plugin (as of Yarn 3.0.1). I'll keep this open for now as a feature request, but this bug won't be fixed until Yarn 2 is officially supported.

Hitting this same exact issue @gambithunt , why is this closed?

On ubuntu 20.04, running sudo apt remove cmdtest fixed it!

On ubuntu 20.04, running sudo apt remove cmdtest fixed it!

THANK YOU! This fixed it for me as well

worked for me too after running sudo apt remove cmdtest

I got it to work by temporarily switching to the old yarn with yarn set version classic and then switch back to yarn set version berry after pushing with amplify.

This error has returned. It started 2 days ago using the latest cli when doing "amplify push" after "amplify add function"
YN0050: The --production option is deprecated on 'install'; use 'yarn workspaces focus' instead

This error has returned. It started 2 days ago using the latest cli when doing "amplify push" after "amplify add function"
YN0050: The --production option is deprecated on 'install'; use 'yarn workspaces focus' instead

navigating to the directory that holds the function and running "npm install" installed the requisite modules. Running "amplify configure" after that first step worked.

This is still a problem (for me). I have almost 30 functions, not scalable to use the workaround suggested 3 years ago. Is there any other way to do this? And is there any reason why this hasn't been fixed yet? we have yarn v3 now. Thanks


Querying Public Data set

I’m trying to run a Query trough the public Data in BigQuery using Java and Eclipse.
When I run my code, I get:
HTTP ERROR 500

Problem accessing /Getbigquery. Reason:
    Server Error

Caused by:
com.google.cloud.bigquery.BigQueryException: Access Denied: Project bigquery-public-data: The user<EMAIL_ADDRESS>does not have bigquery.jobs.create permission in project bigquery-public-data.

I the IAM my Mail Address has the Owner Role for BigQuery.
What I’m worried about is my BigQuery Console. The Public Data is not listed in my Project but separately and I can’t click on "copy table" to copy it to my Project because it says: "Required parameter is missing".
Isn’t it possible to query the public Dataset with Java from Eclipse or is there something else I must think of?

This is the key part of the error: The user<EMAIL_ADDRESS>does not have bigquery.jobs.create permission in project bigquery-public-data.
You will not be able to run a create query on the project bigquery-public-data. The user at<EMAIL_ADDRESS>will have the Owner Role for BigQuery in your project, but not the public bigquery-public-data project. Try changing the project id set in your code to your own project - you should then be able to run the create query.

Thanks again!
I took the name public data a little bit to literally.
I ran the query over my own data and everything worked fine.

No worries! I'll close this out now.

It is not possible to query "bigquery-public-data" project?

A bit of necromancing here: I just encountered the very same issue, not when issuing any form of CREATE statement; rather just SELECTing data from a public dataset - the problem appears to have been that I had not yet selected a Project when attempting to execute the query. As soon as I did, the error went away.  Google could do a lot better job catching that edge case and instructing the user accordingly.

A bit of necromancing here: I just encountered the very same issue, not when issuing any form of CREATE statement; rather just SELECTing data from a public dataset - the problem appears to have been that I had not yet selected a Project when attempting to execute the query. As soon as I did, the error went away. Google could do a lot better job catching that edge case and instructing the user accordingly.

Same here, trying to do a SELECT and getting the exact same error

I'm still a bit confused, if the SQL query is SELECT * FROM bigquery-public-data.hacker_news.full  then how would this be changed in order to avoid this error?

I just now tried running your example query:
SELECT * FROM bigquery-public-data.hacker_news.full
If a project was not selected from the top menu bar I get the following error:
Unexpected error

Request ID:<PHONE_NUMBER>6247285360

I don't see any 500 HTTP errors though
As soon as I select a project I can run the query(disappointingly slow at 49 sec, but still - it runs)

Thanks for the quick reply! What did you mean by select the project? If you mean in the BigQuery console, I am using the new interface and I have the project bigquery-public-data pinned. Even if I select my own project and then run that query I don't get an error, but maybe I am misunderstanding what you meant.
My problem is slightly different to the original one posted here (5 years ago - wow!) but it could be a similar issue, I am trying to query bigquery-public-data using a service account through an application called airflow. When I query my own tables with the service account it works but when I try to query say bigquery-public-data.hacker_news.full it says Access Denied: Project bigquery-public-data. I thought that everyone should have access to bigquery-public-data so I'm a bit confused.

I think I might have figured out my issue and it doesn't have to do with what I thought after all. I was trying to create a new table using data in a bigquery public table which apparently you can't do (I get the error Access Denied). Will have to find out if there are any workarounds or if it is just not possible. Thanks again for your last reply though!