Updating bare metal install from 2020 with python below 3.8

Deployment Method

[X] Installer
[ ] Docker Development
[ ] Docker Production
[ ] Bare metal Development
[ ] Bare metal Production
[ ] Digital Ocean image
[ ] Other (please provide a link Steps to Reproduce

Describe the problem*
I haven't used InvenTree for three years and I tried to update/reinstall of latest version to my Ubuntu version 20 LTE operating system. I don't know the categories of Deployment Method: Docker, Bare metal, Digital Ocean, etc., so I hope I have checked the correct box. See the Relevant log output below for where I had a problem. What to do?
Steps to Reproduce
Used steps from online information.
Relevant log output
Attempting uninstall: pyyaml
    Found existing installation: PyYAML 5.3.1
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Hello @LarryJoy ,
Can you please explain a bit more what commands you run that you got this output, and on which version of  inventree you are.
Regarding your deployment method. It's either installer or bare metal. (You should know if you used docker or some external provider like digital ocean).

To try to download the up to date InvenTree program I did the following:I entered 'sudo su' to set up as superuser.This puts me at "/home/larry#".I then invoke 'cd InvenTree-master/inventree', which puts me at "/home/larry/InvenTree-master/inventree#", which is the base directory.I enter 'git pull origin master' and after download I enter 'invoke update'.At the end of the install I get:  Attempting uninstall: pytz
    Found existing installation: pytz 2019.3
    Uninstalling pytz-2019.3:
      Successfully uninstalled pytz-2019.3
  Attempting uninstall: urllib3
    Found existing installation: urllib3 1.25.8
    Uninstalling urllib3-1.25.8:
      Successfully uninstalled urllib3-1.25.8
  Attempting uninstall: six
    Found existing installation: six 1.14.0
    Uninstalling six-1.14.0:
      Successfully uninstalled six-1.14.0
  Attempting uninstall: pyyaml
    Found existing installation: PyYAML 5.3.1
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
I then do/get the @.:/home/larry/InvenTree-master/inventree# source ./inventree-env/bin/activate
(inventree-env) @.:/home/larry/InvenTree-master/inventree# cd InvenTree
(inventree-env) @.***:/home/larry/InvenTree-master/inventree/InvenTree# python manage.py runserver <IP_ADDRESS>:8000
Traceback (most recent call last):
  File "manage.py", line 23, in
    execute_from_command_line(sys.argv)
  File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
    utility.execute()
  File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/init.py", line 345, in execute
    settings.INSTALLED_APPS
  File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 76, in getattr
    self._setup(name)
  File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 63, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 142, in init
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1006, in _gcd_import
  File "", line 983, in _find_and_load
  File "", line 967, in _find_and_load_unlocked
  File "", line 677, in _load_unlocked
  File "", line 728, in exec_module
  File "", line 219, in _call_with_frames_removed
  File "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree/settings.py", line 26, in
    from InvenTree.config import get_boolean_setting, get_custom_file, get_setting
  File "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree/config.py", line 296
    if secret_key := get_setting('INVENTREE_SECRET_KEY', 'secret_key'):
                   ^
SyntaxError: invalid syntax
As you can see I don't know what version of inventree I have. Like I said it has been three years since last using the program with an entry date for the parts I was working on of June 2020.--Regards, Larry
On Wednesday, June 7, 2023 at 05:19:28 PM EDT, Lukas<EMAIL_ADDRESS>wrote:

Hello @LarryJoy ,
Can you please explain a bit more what commands you run that you got this output, and on which version of inventree you are.
Regarding your deployment method. It's either installer or bare metal. (You should know if you used docker or some external provider like digital ocean).
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@LarryJoy from that error log there are two things which are apparent:

You need to update your python version - we need python 3.8
You need to install pyyaml - pip install yaml

CONTRIBUTING.md says python 3.9

*CONTRIBUTING.md says python 3.9

Sorry, that was a typo :)

@LarryJoy run pip install pyyaml - sorry I mistyped the command above

This is what I ran/commanded and what the OS responded with. It looks like the pyyaml is in with the python3 distribution. It's late here and I will check @.***:~$ pip install pyyaml
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pyyaml in /usr/lib/python3/dist-packages (5.3.1)
On Thursday, June 8, 2023 at 11:07:07 PM EDT, Oliver<EMAIL_ADDRESS>wrote:

@LarryJoy run pip install pyyaml - sorry I mistyped the command above
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Can you please format your answers with markdown, it's really hard to read them. (open https://github.com/inventree/InvenTree/issues/4990)
Looks like you are using an outdated python version (3.7) required is (3.9). If you say that you already updated it, it's most likely that when you run python it uses the old version, but if you run python3.9 it uses the new. Maybe you can fix this with something like this: https://unix.stackexchange.com/a/498264

Do you have some data that you want to keep? Otherwise I would suggest just starting from scratch. There is now a pretty easy to use installer script. Read more here: https://docs.inventree.org/en/latest/start/installer/

I don't know what is meant by "markdown". I am replying directly on GitHub now.
I entered 'python --version' (in my terminal) and the OS came back with "Python 2.7.18". Why is that when I updated to 3.9? So I went to the link you provided https://unix.stackexchange.com/a/498264 and entered the information as stated in that posting--it didn't work! I read through the other postings and this is what finally worked:
I entered 'sudo update-alternatives --config python'. The OS came back with "There are 2 choices for the alternative python (providing /usr/bin/python".
There were 3 selections 0,  1, and 2. I chose 2 which was "/usr/bin/python3.9", Priority "1", Status "manual mode". Selection 0 and 1 was Priority 9 and Status was stated as "auto mode" for 0 and "manual mode" for 1. I don't know what "auto mode" or "manual mode" means.
Now when I enter 'python --version' or 'python -V' the OS comes back with Python 3.9.17.
It took me a couple of hours trying the different commands discussed and it looks like the Python 3.9 problem is now fixed.
Uh oh. Yes, I have my inventory data, that I worked on for days/months. I don't know where it is on my OS or how I would back it up. I do a backup of my system almost everyday on a USB drive, so I suspect the inventory data is there somewhere, but I wouldn't know how to find it or how to transfer it in to a new InvenTree install.
--Thanks for your help, Larry

So is h invoke update command working now that you have python 3.9?

I can not really answer that without knowing what invoke update returns. In theory that command should be everything you need to run to update or throw errors with what needs to change. But with the little information we have about your installation, it is hard to say. We would need at least the version information to give concrete infos.
Can you look for a file named 'api_version.py' in your install directory and provide us with what is written there as INVENTREE_API_VERSION?

Okay, here we go. First thing is to check what OS I have:
larry@larry-MS-7693:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.6 LTS
Release:	20.04
Codename:	focal
Next is to sign on as super user:
larry@larry-MS-7693:~$ sudo su
[sudo] password for larry:
root@larry-MS-7693:/home/larry#
This automatically takes me to /home/larry as a super user.
Then I try getting to the InvenjTree program that I had been using back three years ago in June 2020. These are the steps I wrote down back then that worked:
root@larry-MS-7693:/home/larry# cd InvenTree-master/inventree
root@larry-MS-7693:/home/larry/InvenTree-master/inventree# source ./inventree-env/bin/activate
(inventree-env) root@larry-MS-7693:/home/larry/InvenTree-master/inventree# cd InvenTree
(inventree-env) root@larry-MS-7693:/home/larry/InvenTree-master/inventree/InvenTree# python manage.py runserver <IP_ADDRESS>:8000
Traceback (most recent call last):
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 60, in execute
super().execute(*args, **options)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/commands/runserver.py", line 67, in handle
if not settings.DEBUG and not settings.ALLOWED_HOSTS:
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 76, in getattr
self._setup(name)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 63, in _setup
self._wrapped = Settings(settings_module)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 142, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree/settings.py", line 25, in
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "manage.py", line 23, in
execute_from_command_line(sys.argv)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/init.py", line 401, in execute_from_command_line
utility.execute()
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/init.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/core/management/base.py", line 341, in run_from_argv
connections.close_all()
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/db/utils.py", line 225, in close_all
for alias in self:
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/db/utils.py", line 219, in iter
return iter(self.databases)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/utils/functional.py", line 48, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/db/utils.py", line 153, in databases
self._databases = settings.DATABASES
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 76, in getattr
self._setup(name)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 63, in _setup
self._wrapped = Settings(settings_module)
File "/home/larry/InvenTree-master/inventree/inventree-env/lib/python3.7/site-packages/django/conf/init.py", line 142, in init
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.7/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree/settings.py", line 25, in
from dotenv import load_dotenv
ModuleNotFoundError: No module named 'dotenv'
(inventree-env) root@larry-MS-7693:/home/larry/InvenTree-master/inventree/InvenTree#
I found that the install directory is "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree". I do an ls (list) command and get the following: larry@larry-MS-7693:~/InvenTree-master/inventree/InvenTree/InvenTree$ ls
admin.py        ci_render_js.py  email.py filters.py helpers.py middleware.py permissions.py sentry.py       status_codes.py  test_api.py         test_urls.py   validators.py
api.py config.py exceptions.py format.py init.py  migrations     pycache serializers.py status.py        test_middleware.py  test_views.py  version.py
api_version.py.
As can be seen the "api_version.py" file is there, so I do a "head" command as follows:
larry@larry-MS-7693:~/InvenTree-master/inventree/InvenTree/InvenTree$ head api_version.py
"""InvenTree API version information."""
InvenTree API version
INVENTREE_API_VERSION = 125
So there it is.

You will need to run "invoke update" before starting the server. Please show us the output of the invoke update command.

I am not sure at what directory to do the command "invoke update". Here is what I did:
larry@larry-MS-7693:~/InvenTree-master/inventree/InvenTree/InvenTree$ invoke update
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.2) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
Traceback (most recent call last):
File "/usr/bin/invoke", line 11, in
load_entry_point('invoke==1.3.0', 'console_scripts', 'invoke')()
File "/usr/lib/python3/dist-packages/invoke/program.py", line 373, in run
self.parse_collection()
File "/usr/lib/python3/dist-packages/invoke/program.py", line 465, in parse_collection
self.load_collection()
File "/usr/lib/python3/dist-packages/invoke/program.py", line 696, in load_collection
module, parent = loader.load(coll_name)
File "/usr/lib/python3/dist-packages/invoke/loader.py", line 76, in load
module = imp.load_module(name, fd, path, desc)
File "/usr/lib/python3.8/imp.py", line 234, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.8/imp.py", line 171, in load_source
module = _load(spec)
File "", line 702, in _load
File "", line 671, in _load_unlocked
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree/tasks.py", line 24, in
from maintenance_mode.core import (get_maintenance_mode, maintenance_mode_on,
ModuleNotFoundError: No module named 'maintenance_mode'

I tried this:
larry@larry-MS-7693:~/InvenTree-master/inventree/InvenTree$ invoke update
Installing required python packages from 'requirements.txt'
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/local/lib/python3.8/dist-packages (23.1.2)
Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

@LarryJoy the "invoke" command must be run from the top-level directory, where the tasks.py file is located.
Please run ls to ensure you are in the directory which contains tasks.py

It also seems like you still have an old venv around - please destroy it and create a new one. The old one (/home/larry/InvenTree-master/inventree/inventree-env) still points to python 3.7 - you need at least 3.9 to run 0.11.x.

Okay, the top-level directory is shown by:
root@larry-MS-7693:/home/larry/InvenTree-master/inventree# ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  InvenTree                     inventree_static  package-lock.json  README.md requirements-dev.in   requirements.txt  setup.cfg
ci               crowdin.yml      docker-compose.yml  docs        inventree_default_db.sqlite3  LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
contrib          deploy           docker.dev.env      images      inventree-env                 package.json      pycache RELEASE.md requirements.in SECURITY.md
So, I am in the correct directory that has the tasks.py file. So here I go:
root@larry-MS-7693:/home/larry/InvenTree-master/inventree# invoke update
Installing required python packages from 'requirements.txt'
Requirement already satisfied: pip in /usr/local/lib/python3.8/dist-packages (23.1.2)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
There are too many lines of code to copy and paste here. The output ends with the following (as before):
Attempting uninstall: pyyaml
Found existing installation: PyYAML 5.3.1
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
I went to "/home/larry/InvenTree-master/inventree/inventree-env" as you indicated and got the following:
root@larry-MS-7693:/home/larry/InvenTree-master/inventree/inventree-env# ls -l
total 20
drwxrwxr-x 3 larry larry 4096 Dec 29  2020 bin
drwxrwxr-x 2 larry larry 4096 Oct 12  2020 include
drwxrwxr-x 3 larry larry 4096 Oct 12  2020 lib
lrwxrwxrwx 1 larry larry    3 Oct 12  2020 lib64 -> lib
-rw-rw-r-- 1 larry larry   69 Oct 12  2020 pyvenv.cfg
drwxrwxr-x 3 larry larry 4096 Oct 12  2020 share
I am sorry, but you will have to give me explicit directions/commands as to what to destroy/delete and how/what to enter to create a new one.

You have to:

delete your venv (that seems to be at /home/larry/InvenTree-master/inventree/inventree-env)
create a new one
install the python packages
perform the database migrations

Okay, here are the commands I entered and the OS postings:
larry@larry-MS-7693:~$ cd /home/larry/InvenTree-master/inventree/inventree-env
larry@larry-MS-7693:~/InvenTree-master/inventree/inventree-env$ ls
bin  include  lib  lib64  pyvenv.cfg  share
larry@larry-MS-7693:~/InvenTree-master/inventree/inventree-env$ sudo rm -rf venv
[sudo] password for larry:
larry@larry-MS-7693:~/InvenTree-master/inventree/inventree-env$ ls
bin  include  lib  lib64  pyvenv.cfg  share
larry@larry-MS-7693:~/InvenTree-master/inventree/inventree-env$ python3 -m venv env
larry@larry-MS-7693:~/InvenTree-master/inventree/inventree-env$ source ./env/bin/activate
(env) larry@larry-MS-7693:~/InvenTree-master/inventree/inventree-env$ pip install -U -r src/requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'src/requirements.txt'
(env) larry@larry-MS-7693:~/InvenTree-master/inventree/inventree-env$
I went no further because of the error.

 The venv is the folder you changed into. You have to delete /home/larry/InvenTree-master/inventree/inventree-envand execute the rest of the commands from /home/larry/InvenTree-master/inventree.
I am really hesitant to give you just copy-paste commands as there is a good chance that your instance is not fully following the setup guide and that commands will not work for anyone else who might stumble over this issue. I can not recollect us advising the name inventree-env for the venv and not env.
I would suggest reading up on python and virtual environments if you want to continue using a bare metal instance.

I backed off one level as you indicated and did the same commands and this is what I got:
larry@larry-MS-7693:~$ cd /home/larry/InvenTree-master/inventree
larry@larry-MS-7693:~/InvenTree-master/inventree$ ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  InvenTree                     inventree_static  package-lock.json  README.md requirements-dev.in   requirements.txt  setup.cfg
ci               crowdin.yml      docker-compose.yml  docs        inventree_default_db.sqlite3  LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
contrib          deploy           docker.dev.env      images      inventree-env                 package.json      pycache RELEASE.md requirements.in SECURITY.md
larry@larry-MS-7693:~/InvenTree-master/inventree$ sudo rm -rf venv
[sudo] password for larry:
larry@larry-MS-7693:~/InvenTree-master/inventree$ ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  InvenTree                     inventree_static  package-lock.json  README.md requirements-dev.in   requirements.txt  setup.cfg
ci               crowdin.yml      docker-compose.yml  docs        inventree_default_db.sqlite3  LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
contrib          deploy           docker.dev.env      images      inventree-env                 package.json      pycache RELEASE.md requirements.in SECURITY.md
larry@larry-MS-7693:~/InvenTree-master/inventree$ python3 -m venv env
larry@larry-MS-7693:~/InvenTree-master/inventree$ source ./env/bin/activate
(env) larry@larry-MS-7693:~/InvenTree-master/inventree$ ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  images                        inventree-env     package.json       pycache RELEASE.md requirements.in SECURITY.md
ci               crowdin.yml      docker-compose.yml  docs        InvenTree                     inventree_static  package-lock.json  README.md requirements-dev.in   requirements.txt  setup.cfg
contrib          deploy           docker.dev.env      env         inventree_default_db.sqlite3  LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
(env) larry@larry-MS-7693:~/InvenTree-master/inventree$ pip install -U -r src/requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'src/requirements.txt'
As you can see I got the same Errno 2 "No such file or directory: 'src/requirements.txt'".
Two comments:

I don't know where the line out lines are coming from. I am just doing a select with the cursor, RMB copy, and then in this posting doing an RMB and paste. There must be hidden commands in the text, which I don't know about.
When I originally downloaded the InvenTree program in early 2020 or late 2019 I just followed the instructions that were on line. I didn't do anything on my own. As I said before, I am not a programmer or software engineer.
***What next?

I can partially answer your latest comment:

I don't know where the line out lines are coming from. I am just doing a select with the cursor, RMB copy, and then in this posting doing an RMB and paste. There must be hidden commands in the text, which I don't know about.

Can you please format your answers with markdown, it's really hard to read them. (open #4990 with a browser)

I don't know what is meant by "markdown".

Markdown is a formatting language. Your copied text contains some markdown commands. Like ~ which is used for crossing out text like this (~~this~~). What I meant earlier was that you should use code blocks for your copied text. (Three ` at the beginning and three at the end (with beelines). You can read more about markdown here.

wolflu05, The link you gave for markdown was in the German language. I did an internet search on "markdown" and found the information (in English). Here are my terminal commands and results using markdown:
larry@larry-MS-7693:~$ cd /home/larry/InvenTree-master/inventree
larry@larry-MS-7693:~/InvenTree-master/inventree$ ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  images                        inventree-env     package.json       __pycache__      RELEASE.md            requirements.in   SECURITY.md
ci               crowdin.yml      docker-compose.yml  docs        InvenTree                     inventree_static  package-lock.json  README.md        requirements-dev.in   requirements.txt  setup.cfg
contrib          deploy           docker.dev.env      env         inventree_default_db.sqlite3  LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
larry@larry-MS-7693:~/InvenTree-master/inventree$ sudo rm -rf venv
[sudo] password for larry:
larry@larry-MS-7693:~/InvenTree-master/inventree$ ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  images                        inventree-env     package.json       __pycache__      RELEASE.md            requirements.in   SECURITY.md
ci               crowdin.yml      docker-compose.yml  docs        InvenTree                     inventree_static  package-lock.json  README.md        requirements-dev.in   requirements.txt  setup.cfg
contrib          deploy           docker.dev.env      env         inventree_default_db.sqlite3  LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
larry@larry-MS-7693:~/InvenTree-master/inventree$ sudo rm -rf inventree-env
larry@larry-MS-7693:~/InvenTree-master/inventree$ ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  images                        inventree_static  package-lock.json  README.md        requirements-dev.in   requirements.txt  setup.cfg
ci               crowdin.yml      docker-compose.yml  docs        InvenTree                     LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
contrib          deploy           docker.dev.env      env         inventree_default_db.sqlite3  package.json      __pycache__        RELEASE.md       requirements.in       SECURITY.md
larry@larry-MS-7693:~/InvenTree-master/inventree$ python3 -m venv env
larry@larry-MS-7693:~/InvenTree-master/inventree$ source ./env/bin/activate
(env) larry@larry-MS-7693:~/InvenTree-master/inventree$ ls
backportrc.json  CONTRIBUTING.md  docker              Dockerfile  images                        inventree_static  package-lock.json  README.md        requirements-dev.in   requirements.txt  setup.cfg
ci               crowdin.yml      docker-compose.yml  docs        InvenTree                     LICENSE           Procfile           readthedocs.yml  requirements-dev.txt  runtime.txt       tasks.py
contrib          deploy           docker.dev.env      env         inventree_default_db.sqlite3  package.json      __pycache__        RELEASE.md       requirements.in       SECURITY.md
(env) larry@larry-MS-7693:~/InvenTree-master/inventree$ pip install -U -r src/requirements.txt
ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'src/requirements.txt'
(env) larry@larry-MS-7693:~/InvenTree-master/inventree$

Hopefully you can read this and can can help me go forward with whatever terminal commands I need to do in order to get my InvenTree program back on its feet.

@LarryJoy try running
cd ~/InvenTree-master/inventree
source ./env/bin/activate
pip install -U -r requirements.txt

Thanks again for the further commands but here is what I got. This after many, many lines of output:
Building wheels for collected packages: django-allauth, django-xforwardedfor-middleware, markuppy, sgmllib3k
  Building wheel for django-allauth (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/larry/InvenTree-master/inventree/env/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lrt82v8k/django-allauth/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lrt82v8k/django-allauth/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-n6or5dbe
       cwd: /tmp/pip-install-lrt82v8k/django-allauth/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for django-allauth
  Running setup.py clean for django-allauth
  Building wheel for django-xforwardedfor-middleware (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/larry/InvenTree-master/inventree/env/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lrt82v8k/django-xforwardedfor-middleware/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lrt82v8k/django-xforwardedfor-middleware/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-7ehdwqyv
       cwd: /tmp/pip-install-lrt82v8k/django-xforwardedfor-middleware/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for django-xforwardedfor-middleware
  Running setup.py clean for django-xforwardedfor-middleware
  Building wheel for markuppy (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/larry/InvenTree-master/inventree/env/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lrt82v8k/markuppy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lrt82v8k/markuppy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-q4o7w4rf
       cwd: /tmp/pip-install-lrt82v8k/markuppy/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for markuppy
  Running setup.py clean for markuppy
  Building wheel for sgmllib3k (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/larry/InvenTree-master/inventree/env/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-lrt82v8k/sgmllib3k/setup.py'"'"'; __file__='"'"'/tmp/pip-install-lrt82v8k/sgmllib3k/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-cztc5vu5
       cwd: /tmp/pip-install-lrt82v8k/sgmllib3k/
  Complete output (6 lines):
  usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

  error: invalid command 'bdist_wheel'
  ----------------------------------------
  ERROR: Failed building wheel for sgmllib3k
  Running setup.py clean for sgmllib3k
Failed to build django-allauth django-xforwardedfor-middleware markuppy sgmllib3k
Installing collected packages: six, python-dateutil, arrow, typing-extensions, asgiref, attrs, pytz, babel, webencodings, tinycss2, bleach, wcwidth, blessed, brotli, certifi, pycparser, cffi, charset-normalizer, itypes, uritemplate, idna, urllib3, requests, markupsafe, jinja2, coreschema, coreapi, cryptography, cssselect2, defusedxml, diff-match-patch, sqlparse, django, pyjwt, python3-openid, oauthlib, requests-oauthlib, django-allauth, pypng, pillow, qrcode, django-otp, django-allauth-2fa, django-cleanup, django-cors-headers, django-crispy-forms, django-dbbackup, django-error-report, django-filter, django-flags, django-formtools, backports.zoneinfo, icalendar, django-recurrence, django-ical, markuppy, odfpy, xlrd, xlwt, et-xmlfile, openpyxl, pyyaml, tablib, django-import-export, django-js-asset, python-fsutil, django-maintenance-mode, zipp, importlib-metadata, markdown, django-markdownify, py-moneyed, django-money, django-mptt, django-picklefield, redis, django-q, sentry-sdk, django-q-sentry, django-redis, django-sql-utils, django-sslserver, django-stdimage, django-taggit, django-user-sessions, pyphen, html5lib, pydyf, zopfli, fonttools, weasyprint, django-weasyprint, django-xforwardedfor-middleware, djangorestframework, pkgutil-resolve-name, importlib-resources, pyrsistent, jsonschema, inflection, drf-spectacular, dulwich, sgmllib3k, feedparser, gunicorn, pdf2image, pint, python-barcode, python-dotenv, rapidfuzz, regex
    Running setup.py install for django-allauth ... done
    Running setup.py install for markuppy ... done
    Running setup.py install for django-xforwardedfor-middleware ... done
    Running setup.py install for sgmllib3k ... done
Successfully installed arrow-1.2.3 asgiref-3.7.2 attrs-23.1.0 babel-2.12.1 backports.zoneinfo-0.2.1 bleach-6.0.0 blessed-1.20.0 brotli-1.0.9 certifi-2023.5.7 cffi-1.15.1 charset-normalizer-3.1.0 coreapi-2.3.3 coreschema-0.0.4 cryptography-41.0.1 cssselect2-0.7.0 defusedxml-0.7.1 diff-match-patch-20230430 django-3.2.19 django-allauth-0.54.0 django-allauth-2fa-0.10.0 django-cleanup-7.0.0 django-cors-headers-4.0.0 django-crispy-forms-1.14.0 django-dbbackup-4.0.2 django-error-report-0.2.0 django-filter-23.2 django-flags-5.0.12 django-formtools-2.4.1 django-ical-1.9.1 django-import-export-2.5.0 django-js-asset-2.0.0 django-maintenance-mode-0.18.0 django-markdownify-0.9.3 django-money-2.1.1 django-mptt-0.11.0 django-otp-1.2.1 django-picklefield-3.1 django-q-1.3.9 django-q-sentry-0.1.6 django-recurrence-1.11.1 django-redis-5.2.0 django-sql-utils-0.6.1 django-sslserver-0.22 django-stdimage-5.3.0 django-taggit-4.0.0 django-user-sessions-2.0.0 django-weasyprint-2.2.0 django-xforwardedfor-middleware-2.0 djangorestframework-3.14.0 drf-spectacular-0.26.2 dulwich-0.21.5 et-xmlfile-1.1.0 feedparser-6.0.10 fonttools-4.39.4 gunicorn-20.1.0 html5lib-1.1 icalendar-5.0.7 idna-3.4 importlib-metadata-6.6.0 importlib-resources-5.12.0 inflection-0.5.1 itypes-1.2.0 jinja2-3.1.2 jsonschema-4.17.3 markdown-3.4.3 markuppy-1.14 markupsafe-2.1.3 oauthlib-3.2.2 odfpy-1.4.1 openpyxl-3.1.2 pdf2image-1.16.3 pillow-9.5.0 pint-0.21 pkgutil-resolve-name-1.3.10 py-moneyed-1.2 pycparser-2.21 pydyf-0.6.0 pyjwt-2.7.0 pyphen-0.14.0 pypng-0.20220715.0 pyrsistent-0.19.3 python-barcode-0.14.0 python-dateutil-2.8.2 python-dotenv-1.0.0 python-fsutil-0.10.0 python3-openid-3.2.0 pytz-2023.3 pyyaml-6.0 qrcode-7.4.2 rapidfuzz-0.7.6 redis-3.5.3 regex-2023.5.5 requests-2.31.0 requests-oauthlib-1.3.1 sentry-sdk-1.25.0 sgmllib3k-1.0.0 six-1.16.0 sqlparse-0.4.4 tablib-3.4.0 tinycss2-1.1.1 typing-extensions-4.6.3 uritemplate-4.1.1 urllib3-2.0.2 wcwidth-0.2.6 weasyprint-54.3 webencodings-0.5.1 xlrd-2.0.1 xlwt-1.3.0 zipp-3.15.0 zopfli-0.2.2
(env) larry@larry-MS-7693:~/InvenTree-master/inventree$

Lots of errors and on my screen they are in red.

A 10-second google search for error: invalid command 'bdist_wheel' would be faster for both of us but here you go:
cd ~/InvenTree-master/inventree
source ./env/bin/activate
pip install wheel
pip install -U -r requirements.txt

Okay I executed those four lines of terminal commands and all looks good. Then I tried the next command of 'invoke update' and this is what I got:
(env) root@larry-MS-7693:/home/larry/InvenTree-master/inventree# invoke update
Installing required python packages from 'requirements.txt'
Collecting pip
  Using cached pip-23.1.2-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 20.0.2
    Uninstalling pip-20.0.2:
      Successfully uninstalled pip-20.0.2
Successfully installed pip-23.1.2
Requirement already satisfied: arrow==1.2.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 7)) (1.2.3)
Requirement already satisfied: asgiref==3.7.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 9)) (3.7.2)
Requirement already satisfied: attrs==23.1.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 11)) (23.1.0)
Requirement already satisfied: babel==2.12.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 13)) (2.12.1)
Requirement already satisfied: bleach[css]==6.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 15)) (6.0.0)
Requirement already satisfied: blessed==1.20.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 17)) (1.20.0)
Requirement already satisfied: brotli==1.0.9 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 19)) (1.0.9)
Requirement already satisfied: certifi==2023.5.7 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 21)) (2023.5.7)
Requirement already satisfied: cffi==1.15.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 25)) (1.15.1)
Requirement already satisfied: charset-normalizer==3.1.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 29)) (3.1.0)
Requirement already satisfied: coreapi==2.3.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 31)) (2.3.3)
Requirement already satisfied: coreschema==0.0.4 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 33)) (0.0.4)
Requirement already satisfied: cryptography==41.0.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 35)) (41.0.1)
Requirement already satisfied: cssselect2==0.7.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 39)) (0.7.0)
Requirement already satisfied: defusedxml==0.7.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 41)) (0.7.1)
Requirement already satisfied: diff-match-patch==20230430 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 45)) (20230430)
Requirement already satisfied: django==3.2.19 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 47)) (3.2.19)
Requirement already satisfied: django-allauth==0.54.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 78)) (0.54.0)
Requirement already satisfied: django-allauth-2fa==0.10.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 82)) (0.10.0)
Requirement already satisfied: django-cleanup==7.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 84)) (7.0.0)
Requirement already satisfied: django-cors-headers==4.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 86)) (4.0.0)
Requirement already satisfied: django-crispy-forms==1.14.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 88)) (1.14.0)
Requirement already satisfied: django-dbbackup==4.0.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 90)) (4.0.2)
Requirement already satisfied: django-error-report==0.2.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 92)) (0.2.0)
Requirement already satisfied: django-filter==23.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 94)) (23.2)
Requirement already satisfied: django-flags==5.0.12 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 96)) (5.0.12)
Requirement already satisfied: django-formtools==2.4.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 98)) (2.4.1)
Requirement already satisfied: django-ical==1.9.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 100)) (1.9.1)
Requirement already satisfied: django-import-export==2.5.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 102)) (2.5.0)
Requirement already satisfied: django-js-asset==2.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 104)) (2.0.0)
Requirement already satisfied: django-maintenance-mode==0.18.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 106)) (0.18.0)
Requirement already satisfied: django-markdownify==0.9.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 108)) (0.9.3)
Requirement already satisfied: django-money==2.1.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 110)) (2.1.1)
Requirement already satisfied: django-mptt==0.11.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 112)) (0.11.0)
Requirement already satisfied: django-otp==1.2.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 114)) (1.2.1)
Requirement already satisfied: django-picklefield==3.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 116)) (3.1)
Requirement already satisfied: django-q==1.3.9 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 118)) (1.3.9)
Requirement already satisfied: django-q-sentry==0.1.6 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 120)) (0.1.6)
Requirement already satisfied: django-recurrence==1.11.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 122)) (1.11.1)
Requirement already satisfied: django-redis==5.2.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 124)) (5.2.0)
Requirement already satisfied: django-sql-utils==0.6.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 126)) (0.6.1)
Requirement already satisfied: django-sslserver==0.22 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 128)) (0.22)
Requirement already satisfied: django-stdimage==5.3.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 130)) (5.3.0)
Requirement already satisfied: django-taggit==4.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 132)) (4.0.0)
Requirement already satisfied: django-user-sessions==2.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 134)) (2.0.0)
Requirement already satisfied: django-weasyprint==2.2.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 136)) (2.2.0)
Requirement already satisfied: django-xforwardedfor-middleware==2.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 138)) (2.0)
Requirement already satisfied: djangorestframework==3.14.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 140)) (3.14.0)
Requirement already satisfied: drf-spectacular==0.26.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 144)) (0.26.2)
Requirement already satisfied: dulwich==0.21.5 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 146)) (0.21.5)
Requirement already satisfied: et-xmlfile==1.1.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 148)) (1.1.0)
Requirement already satisfied: feedparser==6.0.10 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 150)) (6.0.10)
Requirement already satisfied: fonttools[woff]==4.39.4 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 152)) (4.39.4)
Requirement already satisfied: gunicorn==20.1.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 154)) (20.1.0)
Requirement already satisfied: html5lib==1.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 156)) (1.1)
Requirement already satisfied: icalendar==5.0.7 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 158)) (5.0.7)
Requirement already satisfied: idna==3.4 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 160)) (3.4)
Requirement already satisfied: importlib-metadata==6.6.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 162)) (6.6.0)
Requirement already satisfied: inflection==0.5.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 164)) (0.5.1)
Requirement already satisfied: itypes==1.2.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 166)) (1.2.0)
Requirement already satisfied: jinja2==3.1.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 168)) (3.1.2)
Requirement already satisfied: jsonschema==4.17.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 170)) (4.17.3)
Requirement already satisfied: markdown==3.4.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 172)) (3.4.3)
Requirement already satisfied: markuppy==1.14 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 174)) (1.14)
Requirement already satisfied: markupsafe==2.1.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 176)) (2.1.3)
Requirement already satisfied: oauthlib==3.2.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 178)) (3.2.2)
Requirement already satisfied: odfpy==1.4.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 180)) (1.4.1)
Requirement already satisfied: openpyxl==3.1.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 182)) (3.1.2)
Requirement already satisfied: pdf2image==1.16.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 184)) (1.16.3)
Requirement already satisfied: pillow==9.5.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 186)) (9.5.0)
Requirement already satisfied: pint==0.21 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 194)) (0.21)
Requirement already satisfied: py-moneyed==1.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 196)) (1.2)
Requirement already satisfied: pycparser==2.21 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 200)) (2.21)
Requirement already satisfied: pydyf==0.6.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 202)) (0.6.0)
Requirement already satisfied: pyjwt[crypto]==2.7.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 204)) (2.7.0)
Requirement already satisfied: pyphen==0.14.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 206)) (0.14.0)
Requirement already satisfied: pypng==0.20220715.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 208)) (0.20220715.0)
Requirement already satisfied: pyrsistent==0.19.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 210)) (0.19.3)
Requirement already satisfied: python-barcode[images]==0.14.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 212)) (0.14.0)
Requirement already satisfied: python-dateutil==2.8.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 214)) (2.8.2)
Requirement already satisfied: python-dotenv==1.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 219)) (1.0.0)
Requirement already satisfied: python-fsutil==0.10.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 221)) (0.10.0)
Requirement already satisfied: python3-openid==3.2.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 223)) (3.2.0)
Requirement already satisfied: pytz==2023.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 225)) (2023.3)
Requirement already satisfied: pyyaml==6.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 231)) (6.0)
Requirement already satisfied: qrcode[pil]==7.4.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 235)) (7.4.2)
Requirement already satisfied: rapidfuzz==0.7.6 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 239)) (0.7.6)
Requirement already satisfied: redis==3.5.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 241)) (3.5.3)
Requirement already satisfied: regex==2023.5.5 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 245)) (2023.5.5)
Requirement already satisfied: requests==2.31.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 247)) (2.31.0)
Requirement already satisfied: requests-oauthlib==1.3.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 252)) (1.3.1)
Requirement already satisfied: sentry-sdk==1.25.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 254)) (1.25.0)
Requirement already satisfied: sgmllib3k==1.0.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 258)) (1.0.0)
Requirement already satisfied: six==1.16.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 260)) (1.16.0)
Requirement already satisfied: sqlparse==0.4.4 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 266)) (0.4.4)
Requirement already satisfied: tablib[html,ods,xls,xlsx,yaml]==3.4.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 270)) (3.4.0)
Requirement already satisfied: tinycss2==1.1.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 274)) (1.1.1)
Requirement already satisfied: typing-extensions==4.6.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 279)) (4.6.3)
Requirement already satisfied: uritemplate==4.1.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 283)) (4.1.1)
Requirement already satisfied: urllib3==2.0.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 287)) (2.0.2)
Requirement already satisfied: wcwidth==0.2.6 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 292)) (0.2.6)
Requirement already satisfied: weasyprint==54.3 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 294)) (54.3)
Requirement already satisfied: webencodings==0.5.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 298)) (0.5.1)
Requirement already satisfied: xlrd==2.0.1 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 304)) (2.0.1)
Requirement already satisfied: xlwt==1.3.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 306)) (1.3.0)
Requirement already satisfied: zipp==3.15.0 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 308)) (3.15.0)
Requirement already satisfied: zopfli==0.2.2 in ./env/lib/python3.8/site-packages (from -r requirements.txt (line 310)) (0.2.2)
Requirement already satisfied: setuptools in ./env/lib/python3.8/site-packages (from django-money==2.1.1->-r requirements.txt (line 110)) (44.0.0)
Requirement already satisfied: backports.zoneinfo in ./env/lib/python3.8/site-packages (from icalendar==5.0.7->-r requirements.txt (line 158)) (0.2.1)
Requirement already satisfied: importlib-resources>=1.4.0 in ./env/lib/python3.8/site-packages (from jsonschema==4.17.3->-r requirements.txt (line 170)) (5.12.0)
Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in ./env/lib/python3.8/site-packages (from jsonschema==4.17.3->-r requirements.txt (line 170)) (1.3.10)
Backing up InvenTree database...
Traceback (most recent call last):
  File "manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/home/larry/InvenTree-master/inventree/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
    utility.execute()
  File "/home/larry/InvenTree-master/inventree/env/lib/python3.8/site-packages/django/core/management/__init__.py", line 363, in execute
    settings.INSTALLED_APPS
  File "/home/larry/InvenTree-master/inventree/env/lib/python3.8/site-packages/django/conf/__init__.py", line 82, in __getattr__
    self._setup(name)
  File "/home/larry/InvenTree-master/inventree/env/lib/python3.8/site-packages/django/conf/__init__.py", line 69, in _setup
    self._wrapped = Settings(settings_module)
  File "/home/larry/InvenTree-master/inventree/env/lib/python3.8/site-packages/django/conf/__init__.py", line 170, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.8/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 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree/settings.py", line 186, in <module>
    'location': config.get_backup_dir(),
  File "/home/larry/InvenTree-master/inventree/InvenTree/InvenTree/config.py", line 246, in get_backup_dir
    raise FileNotFoundError('INVENTREE_BACKUP_DIR not specified')
FileNotFoundError: INVENTREE_BACKUP_DIR not specified
(env) root@larry-MS-7693:/home/larry/InvenTree-master/inventree#

And so the next step/command?

You will need to set the INVENTREE_BACKUP_DIR parameter in your settings file, or environment variables:
https://docs.inventree.org/en/latest/start/config/#backup-file-storage

You got me there! I used "locate" and "find" to try to locate "settings" file or "environment variables". I did find "config.py" and some other "config...", but nothing of an INVENTREE_BACKUP_DIR directory or file. Where do I find what I need? And is there some hint as to where/what this backup directory/file should be named?

Please read the documentation around the configuration of InvenTree, your questions are answered there.

matmair,
Okay on the documentation. It will take me awhile to read, study, and absorb the information and then attempt to understand the configuration I have and any defects. I only want to use the InvenTree program for what it is for, an inventory database, not have to do any programming. It would seem that these days you could use artificial intelligence (AI) to do the setup automatically, checking the directories and files to see if they are up to date and deleting anything that is not needed, besides keeping the inventory already created.
--Regards, Larry Joy

I had composed an e-mail reply yesterday but did not get around to sending it. Here then is my comment.
I have read through the info you gave me the link to but it has not helped. The info is clear as mud or as the person who said that they knew any language there was, except for the Greek language, and was asked about a particular language, the person replied with, "I don't know, it's all Greek to me."
I have used the "search" and "find" terminal commands and then used the "tree" command to see the architecture of the directories, files, sub-directories and files, but not knowing what should and should not be there it does me no good.
I need someone to hold my hand, look over my shoulder, execute what I am told, interpret the results (mostly error messages), and then what to do next.
I believe my only recourse is to do a brand new download of your up-to-date program, what you call bare metal, to a new directory. This I would do after updating my Ubuntu OS from 20.4 to 22.4. This is another battle I am going to have to contend with as the automatic update message, that I answer yes to, does nothing. This will mean a lot of redundant work to recreate the data that I have already entered. I have just over 100 items in my inventory and at this point this is just a hobby.
--Regards, Larry


podSpec: use the $ operator while generating secretKeyRefs

Inside of range, . refers to the current item during iteration, whereas $ refers to the global scope.
test.yaml:
image:
  extraSecrets:
    - key: SSO_CLIENT_ID
      value: test-value

before:
$ helm template release ./charts/vaultwarden -f test.yaml
Error: template: vaultwarden/templates/statefulset.yaml:43:10: executing "vaultwarden/templates/statefulset.yaml" at <include "vaultwarden.podSpec" .>: error calling include: template: vaultwarden/templates/_podSpec.tpl:43:21: executing "vaultwarden.podSpec" at <include "vaultwarden.fullname" .>: error calling include: template: vaultwarden/templates/_helpers.tpl:15:14: executing "vaultwarden.fullname" at <.Values.fullnameOverride>: nil pointer evaluating interface {}.fullnameOverride

Use --debug flag to render out invalid YAML

after:
$ helm template release ./charts/vaultwarden -f test.yaml
---
# Source: vaultwarden/templates/rbac.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: vaultwarden-svc
  namespace: default
  labels:
    app.kubernetes.io/component: vaultwarden
[snip]
          env:
            - name: SSO_CLIENT_ID
              valueFrom:
                secretKeyRef:
                  name: release-vaultwarden
                  key: SSO_CLIENT_ID
[snip]

Thanks for the PR @craigcabrey, but I merged this via https://github.com/guerzon/vaultwarden/pull/97 since the chart version is updated there.


refactor: move env module into own embark-env package

Updated

Thanks for the feedback @michaelsbradleyjr
I've updated the PR!

CI now seems to be failing due to an error unrelated to this change.


API version does not match celestia-node version

When checking out and building v0.11.0-rc14, and then running make openrpc-gen -- the resulting JSON shows"version": "v0.2.2", when it should match v0.11.0-rc14

confirming that the release of v0.11.0-rc15 has v0.11.0 as the API version


How to host another url under react?

Is this a bug report?
nope
As react js will host everything under same domain , how to deal with the same domain url issue?
For example,  hosting a react-js with www.react.com but we still need link to another url with same domain like www.react.com/blog.
Tool : "react-dom": "^16.3.2", "react-router-dom": "^4.2.2",

This issue tracker is for issues directly related to Create React App. If you have general React questions you can find lots of resources here: https://reactjs.org/community/support.html


feat(packages/webpack): when building a headless bundle set via webpa…

…ck, also create a zip file
This PR adds zip-webpack-plugin to the headless bundle builder. This has no effect on electron or browser-based builds.
Fixes #7427

Description of what you did:

My PR is a:

[ ] 💥 Breaking change
[ ] 🐛 Bug fix
[x] 💅 Enhancement
[ ] 🚀 New feature

Please confirm that your PR fulfills these requirements

[x] Multiple commits are squashed into one commit.
[x] The commit message follows Conventional Commits, which allows us to autogenerate release notes; e.g. fix(plugins/plugin-k8s): fixed annoying bugs
[x] All npm dependencies are pinned.

/lgtm


Use eloquent query builder if eloquent given

Please see https://github.com/TomLingham/Laravel-Searchy/issues/117


[1.12.2] Containers Not Opening

Issue Description:
This isn't occurring in an established modpack per se, but it is occurring with a lot of other mods, so I suspect some incompatibility issues, though I couldn't find a list anywhere. I cannot get any containers to open when I click on them, and I cannot see this happening with anything from other mods
What happens:
Containers do not open.
What you expected to happen:
Containers open properly.
Steps to reproduce:

Place down any alloy smelter
Attempt to open it

Affected Versions (Do not use "latest"):

EnderIO: 5.2.61
EnderCore: 1.12.2-0.5.67
Minecraft: 1.12.2
Forge: <IP_ADDRESS>54
SpongeForge? no
Optifine? yes
Single Player and/or Server? Single Player

Your most recent log file where the issue was present:
https://pastebin.com/A1FajuYk

[18:48:16] [Client thread/ERROR]: Error thrown whilst accessing JEI internals!
java.lang.NoSuchMethodError: mezz.jei.runtime.JeiRuntime.getActiveAdvancedGuiHandlers()
	at codechicken.nei.jei.proxy.JEIProxy.getExtraAreas()
...
	at codechicken.nei.handler.NEIClientEventHandler.containerInitEvent() [NEIClientEventHandler.class:?]
...
	at net.minecraft.client.Minecraft.displayGuiScreen()

Nothing to do with us, NEI is crashing here.

Didn't see that one earlier, remove NEI and still getting the same issue, and I don't see any mention of NEI or JEI anywhere
https://pastebin.com/3mk75RYm

It should be unlisted now, though according to pastebin, it's "potentially offensive".


Support setting time range when retrieving code review or defect data

We should read the settings from a configuration file.

Specify these settings in ccollab-cmd.json with the keys ReviewsCreationDateLow and ReviewsCreationDateHigh:
[
  {
    "Id": "Reviews",
    "CmdName": "ccollab.exe",
    "Args": "admin wget ",
    "ReviewsCreationDateLow": "2016-10-01",
    "ReviewsCreationDateHigh": "2016-10-02",
    "RelUrl": "the url"
  },
  {
    "Id": "Defects",
    "CmdName": "ccollab.exe",
    "Args": "admin wget ",
    "ReviewsCreationDateLow": "2016-10-01",
    "ReviewsCreationDateHigh": "2016-10-02",
    "RelUrl": "the url"
  }
]


lightdm: 1.30.0 -> 1.32.0

Description of changes
Untested.
https://github.com/canonical/lightdm/compare/1.30.0...1.32.0
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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg test pantheon
@ofborg test lightdm

Please consider adding yourself as maintainer

Done.
@ofborg test pantheon
@ofborg test xfce
@ofborg test lightdm
@ofborg build lightdm_qt lightdm-mini-greeter lightdm-tiny-greeter lightdm-enso-os-greeter


FLTImagePickerImageUtil crash: UIGraphicsBeginImageContext() failed to allocate CGBitampContext

Steps to reproduce
Replicating the issue locally is challenging. However, there has been a noticeable uptick in occurrences reported on Crashlytics among iOS users running iOS 17 and above. The image_picker version that we are currently using is 1.0.5, but we also noticed these issues in earlier versions.
Expected results
We shouldn't see these issues in Crashlytics.
Actual results
We've observed reports of this issue from a relatively large number of our users on Crashlytics.
Code sample
Here is the example how we use ImagePicker
Code sample
    final pickedFile = await picker.pickImage(
      // use the camera if available, else fall back to gallery
      source: (cameras.isNotEmpty) ? ImageSource.camera : ImageSource.gallery,
      preferredCameraDevice: CameraDevice.rear,
      maxHeight: 1024,
      maxWidth: 1024,
      imageQuality: 60,
    );

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
+[FLTImagePickerImageUtil scaledImage:maxWidth:maxHeight:isMetadataAvailable:]

image_picker_ios:
FLTImagePickerImageUtil.m - Line 74
+[FLTImagePickerImageUtil scaledImage:maxWidth:maxHeight:isMetadataAvailable:] + 74```

Fatal Exception: NSInternalInconsistencyException
UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}, scale=1.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert.
</details>

### Flutter Doctor output

<details open><summary>Doctor output</summary>

```console
[!] Flutter (Channel [user-branch], 3.16.9, on macOS 14.0 23A344 darwin-arm64,
    locale en-RS)
    ! Flutter version 3.16.9 on channel [user-branch] at
      /Users/radivojeostojic/Documents/development/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an
      official channel.
      If that doesn't fix the issue, reinstall Flutter by following
      instructions at https://flutter.dev/docs/get-started/install.
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/2.17.6/libexec/bin/dart, which is not inside
      your current Flutter SDK checkout at
      /Users/radivojeostojic/Documents/development/flutter. Consider adding
      /Users/radivojeostojic/Documents/development/flutter/bin to the front of
      your path.
    ! Upstream repository unknown source is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to unknown source to dismiss
      this error.
    • Framework revision 41456452f2 (6 weeks ago), 2024-01-25 10:06:23 -0800
    • Engine revision f40e976bed
    • Dart version 3.2.6
    • DevTools version 2.28.5
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version
    33.0.1)
    • Android SDK at /Users/radivojeostojic/Library/Android/sdk
    • Platform android-34, build-tools 33.0.1
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.15+0-b2043.56-8887301)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.12.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.15+0-b2043.56-8887301)

[✓] VS Code (version 1.68.1)
    • VS Code at /Users/radivojeostojic/Downloads/Visual Studio
      Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (5 available)
    • SM G955U1 (mobile)          • 988bdc37395638324a        • android-arm64  • Android 9 (API 28)
    • sdk gphone64 arm64 (mobile) • emulator-5554             • android-arm64  • Android 12 (API 31) (emulator)
    • Radivoje’s iPhone (mobile)  • 00008110-000159280100401E • ios            • iOS 17.3.1 21D61
    • macOS (desktop)             • macos                     • darwin-arm64   • macOS 14.0 23A344 darwin-arm64
    • Chrome (web)                • chrome                    • web-javascript • Google Chrome 122.0.6261.94

[✓] Network resources
    • All expected network resources are available.

Thanks for the report @radivojeostojic

Fatal Exception: NSInternalInconsistencyException
UIGraphicsBeginImageContext() failed to allocate CGBitampContext: size={0, 0}, scale=1.000000, bitmapInfo=0x2002. Use UIGraphicsImageRenderer to avoid this assert.
</details>

Looks like this could be specific to xcode + ios version combination, as I see below similar issues logged for different frameworks:
https://github.com/xamarin/Xamarin.Forms/issues/15827
https://github.com/react-native-linear-gradient/react-native-linear-gradient/issues/637
Apple forum: https://forums.developer.apple.com/forums/thread/733326
Based on the report, I'll label this for team's attention / tracking.

Maybe a regression from https://github.com/flutter/packages/pull/5527/? cc @tarrinneal

Maybe a regression from flutter/packages#5527? cc @tarrinneal

Seems unlikely, that change didn't touch any code that should be effecting allocation (or anything that could cause crashes imo)

Ah sorry, I thought this might be related to the 0,0 size.  But digging more UIGraphicsBeginImageContext is deprecated in iOS 17 and should be replaced with UIGraphicsImageRenderer https://developer.apple.com/forums/thread/731227.


Switch to Promises instead of callbacks

Along with #109, we should consider switching to use Promises instead of callbacks. Most environments support it by now, and we can use a polyfill for those that don't.

Promises will make cancelling the XHRs more complicated, since currently, native Promises cannot be canceled.

What do you mean ? you can "cancel" a Promise with reject.

You can reject a Promise, but you cannot abort the fetch request without  AbortControllers, which is a newer API, and is not supported by IE.

@BehindTheMath
What about this? https://www.npmjs.com/package/abortcontroller-polyfill

This "polyfill" doesn't actually close the connection when the request is aborted


chore: semantic release

Use npx semantic-release-cli setup to add NPM_TOKEN and GITHUB_TOKEN for Github Action "Release" (example), so the action can generate release notes, tag related PRs, and publish to npm package automatically

Create Github Action "Release" that's triggered every time main and next get new commit, which will run Semantic Release to to all the things above

Looks like our package.json's version got changed from 0.0.56 to 0.0.0-development, so not sure what will be the next npm version after this PR merges to main and Semantic Release does another release. But I think Semantic Release will determine the right version for us, so we don't need to think about it 😆 ?

Add commitlint Github Action to lint commit message format!

PTAL thank you!

Couple of questions:

We should clarify the version no? I think we should start with 0.1.0 at least. Let me know if you want me to help take a look.
Did you gave it any thought of avoiding 1.0.0 for a while?

Oh now thinking about it, I can do it dry run on this PR to see what version Semantic Release will bump!
Ah yeah I added some thoughts in the original comment thread!

Overall, I'm thinking that since products already rely on SDS library in prod, it might be easier for them to catch breaking changes by observing the major version bump, instead of paying attention to every changelog. Thus I'm leaning more towards letting Semantic Release does its thing and bump major version whenever it wants
And I also have a feeling that czifui is a temp name, so once the library gets more stable in the next 6 months, we might be able to use an official package name and debut the "real" 1.0.0 then?

Overall, I'm thinking that since products already rely on SDS library in prod, it might be easier for them to catch breaking changes by observing the major version bump, instead of paying attention to every changelog. Thus I'm leaning more towards letting Semantic Release do its thing and bump major version whenever it wants

While I would hope this would work out, you never know when something will be missed and a minor/patch will inadvertently introduce a breaking change (or maybe not breaking, but enough visual discrepancy it's a problem). Whenever I need to do a version bump of czifui, I plan to look over the changelog then use that as a guide of where to focus during some light regression testing.
I don't know how smart semantic-release-cli is -- maybe it will catch everything that could cause discrepancies and bump major version accordingly -- but considering how dependent Aspen is on czifui, it would certainly take some time for me to trust it without doing any kind of regression testing on my own.

Yeah Semantic Release solely bases its versioning on the commit messages types, so if we provide the wrong commit message type, Semantic Release will bump the wrong version. So we'll need to catch that at PR review time 👀
Currently main already has a Commitizen hook to help authors craft the right commit type, so that should help limit the issue. And on top of that, this PR also adds commit message format check, so if future PRs don't follow conventional commit format, it will flag it!
Visual discrepancy will be the next big topic we need to cover in Infra work, since it applies to all version changes 🤔

And I also have a feeling that czifui is a temp name, so once the library gets more stable in the next 6 months, we might be able to use an official package name and debut the "real" 1.0.0 then?

sounds good to me... Not the most attractive name. :)

And I also have a feeling that czifui is a temp name, so once the library gets more stable in the next 6 months, we might be able to use an official package name and debut the "real" 1.0.0 then?

sounds good to me... Not the most attractive name. :)

Oh gosh I definitely regret picking that name every day 😂 So hard to type and say too 😭 🤣

Thanks everyone! I think I'll merge this on Monday, since releasing on Friday is too much 😆


FIX: Add flaky test retry and additional logging

This test has been observed both passing and failing with the same code base (see node 6):
Passed: http://ci.ironmann.io/gh/scality/Integration/20988
Failed: http://ci.ironmann.io/gh/scality/Integration/20997
The proposed change is to let the test run three consecutive times before the suite fails and log additional output for further investigation, should the issue arise again. This is a step towards reducing its flakiness but not a final solution. A reliable fix should be made, or the test parameters (e.g., timeout length) could be re-evaluated.

Replying to my own comment, it may not be that easy to retry in the code if the data is streamed and the error happens after some data has already been sent back.

PR has been updated. Reviewers, please be cautious.


[WIP] Ollama support

Not fully tested or working but at least this ran
Only changed this in .env
LLM_PROVIDER = "LOCAL" # "ANTHROPIC"
LOCAL_INFERENCE_MODEL="deepseek-v2"

Some very simple benchmarking:
VM Specs: 3090-ti 24gb,  threadripper (only 16 threads allocated) 32gb ram

Model
Parameters
VRam used
Results

Deepseek-v2
16b
11gb
Got very stuck on not generating good yaml for docs got up to db/schema. Generated PRD and FRD with some empty blocks.

Llama3.2
3.2B
4gb
Worked better than deepseek but also got stuck in generating yaml but did fill out better PRD and FRD.

dolphin-mixtral
8x7B
22gb
Works best in terms of generating docs but way slower and repeats a lot on yaml files

I'll post results if any of them finish anything.

Could you make a tutorial on how to get this working?


Support deg in cupy.angle

There are numerical issues so for negative numbers I try to avoid using fp16 type and anything promoting to fp16.
This is just to reuse the test machinery and avoid creating new tests only for this.
numyp does the full calc in fp16 resulting in 179.9 due to numerical issues. CuPy just returns 180

fixed!

/test mini

Thanks all! 🙏

Will this be included in CuPy 11.0.0?

Will this be included in CuPy 11.0.0?

Yes.


The innernet-server is not an eligible CIDR for peers

The innernet-server (<IP_ADDRESS>/32) is not an eligible CIDR for creating peers in as its a /32.
Maybe remove it from the list ?

Thanks for the issue. Yeah, makes sense to hide it since it's special in other ways anyway and it just gets in the way here.

@mcginty I realized i was using v1.0.0
The "/32" is still in the list, but the outcome is a little different. I have updated the GIF with the result from v1.2.0


minor fix in k8s validation script

@dmitsh,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


[Mod] Binance spot trade websocket account event

event key has changed: outboundAccountInfo -> outboundAccountPosition, https://binance-docs.github.io/apidocs/spot/cn/#payload
改进内容

outboundAccountInfo已弃用, 改为outboundAccountPosition

已合并，非常感谢！


Add support for browser platform

I'm submitting a ...  (check one with "x")

[ ] question
[ ] any problem or bug report
[x] feature request

If you choose 'problem or bug report', please select OS:  (check one with "x")

[ ] Android
[ ] iOS

cordova information:  (run $> cordova plugin list)
insert the output from the command here

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)
Current behavior:

cordova.js is not present in browser platform, only in android/ios platform.
Expected behavior:

cordova.js present in browser platform.
Screen capture or video record:

Related code, data or error log (please format your code or data):
The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.

So far, Android and iOS only

if I detect platform and instanciate map with javascript API for browser only, will all the map method remains compatible between ios / android and browser ?
thank you


Some clippy errors after updating rust toolchain

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

There are some clippy errors after updating rust toolchain, e.g.:
error: parameter is only used in recursion
   --> arrow-schema/src/field.rs:208:24
    |
208 |     fn _fields<'a>(&'a self, dt: &'a DataType) -> Vec<&Field> {
    |                        ^^^^
    |
    = note: `-D clippy::only-used-in-recursion` implied by `-D warnings`
note: parameter used here
   --> arrow-schema/src/field.rs:217:53
    |
217 |             DataType::Dictionary(_, value_field) => self._fields(value_field.as_ref()),
    |                                                     ^^^^
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#only_used_in_recursion

Describe the solution you'd like

Describe alternatives you've considered

Additional context

label_issue.py automatically added labels {'object-store'} from #3015

label_issue.py automatically added labels {'parquet'} from #3010

label_issue.py automatically added labels {'arrow'} from #3010

label_issue.py automatically added labels {'parquet-derive'} from #3010


new mask email

Please create<EMAIL_ADDRESS>pointing to claudio@cc and diane@cc
thanks

I have created the group and sent a test email.


the url localhost/hello/asd shows ,but localhost/hello/asd/ shows 404

the framework is really good,
but here is a small problem:
the localhost/hello/asd shows "Hello, asd" normally ,
but localhost/hello/asd/ (with a slash ) shows 404 ,
Is there any need of doing something solve this ...

have you added slash at the end of the route?
$app->get('/hello/asd/', function ($name) {
echo "Hello, asd";
});

Have you added slash at the end of the route?
$app->get('/hello/:name/', function ($name) { // dont forget the slash :)
    echo "Hello, $name";
});

localhost/hello/asd and localhost/hello/asd/ are different. So is an expected behavior .

I did not added slash..
OK,Now it is truely a expected behavior..


Add new inscription

Well, the latest merge request from others broke mine... Create another with my inscription id.

Done


faces rescan capability no more working

When I click on rescan faces, I see "face rescanning, scanning started" but it goes immediately to green without saying scanned completed.
Closing and restarting Librephotos has no effect on the bug.

Should be fixed now. Would be great if you could test it again :)


[docs]  Improved development version instructions

Implements and closes #46

Pull Request Test Coverage Report for Build 140

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.551%

Totals

Change from base Build 139:
0.0%

Covered Lines:
443

Relevant Lines:
445

💛  - Coveralls


Fastlane documentation for commands in fastlane

Hi
I'm trying to find the documentation for how to use the options in some commands in the fastlane file.
For example, I'm trying to use match in the fastlane file. I can get all the option in the terminal for the terminal command with: match --help but which are the option I can use in the fastlane file, like this one:
match(git_branch: "team1", username<EMAIL_ADDRESS>In my particular case I want to know if I can use --force_for_new_devices in the fastlane file, but it's more a general request so I won't ask the next time, if I can use this or that option :D
Could you point me to the documentation?

Take a look at https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Actions.md
In general, any parameter that you find via --help can be passed directly via the command-line or in a Fastfile.

@cepages Additionally you can also run fastlane action match to get a description of the action with all its available parameters.
Let us know if that helps 👍

Yeah that's great thanks!

🚀


question: how does menu bar change state when editor cursor moves

Hi, First, thank you for creating this component and sharing it.
I like the design but I am using Vuetify, typescript and composition API. So for the past few days I have been converting your code base over to use these things.
Things are going well, but I can't get the menubar to update it's state when the editor cursor is moved. Could you help explain how that gets updated in your code base? I see that it works in your examples and I think I am using very similar code.
For instance, if we look at bold, I see that bold.ts returns "isActive: isActive.bold()".
To me that looks like it is executing the .bold() call at the time that the menu bar is being constructed. How does isActive change when the cursor moves?
With my code, I see that the menubar updates when the focus changes. So I can get the right result by clicking out of the editor and then clicking back into the editor, but maybe if I understood how the bold button toggles as the cursor moves, that would help me track down what is missing.
Thanks

I also notice that my number of characters doesn't change on the footer. So I am definitely missing some updating that you are catching.

Debugging your code, I see that you are generating the buttons on each cursor movement. If I can get my buttons generating that frequently, it will definitely address my issue. If you can provide some guidance on how you get that function called on every cursor movement, that would be helpful. Thanks...

You can see the paragraph about Transaction on https://prosemirror.net/docs/guide/.
Tiptap configure the dispatchTrasaction method, it will called when the user types, or otherwise interacts with the view.
In this method, you can see it invokes setActiveNodesAndMarks, and activeNodes and activeMarks will be updated.
The isActive getter we use is computed by the activeNodes and activeMarks, so we can get it updated.

@Leecason Thank you very much for the pointer. I will do some reading....

@Leecason I see what you are saying. The problem I am having is that in your code, this v-for is being regenerated every time the user interacts with the editor. But in my code, the v-for is only triggered on a focus change. I can't see how your v-for tells Vue that it needs to call generateCommandButtonComponentSpecs every time a transaction is dispatched. Did you do something special to get that effect or did it just happen for you?

EditorContext contains the isActive property. check https://github.com/ueberdosis/tiptap#editormenubar

@Leecason I just figured it out. It is a bug in a newer version of tiptap. I remember reading about it a week ago. EditorMenuBar has introduced a bug where it no longer triggers an update on each transaction dispatch. As soon as I switched my EditorMenuBar use to EditorMenuBubble, everything started working as expected.
Keep that in mind in case you upgrade your version of tiptap. I don't think the guys supporting tiptap are going to be putting much effort into the current version of tiptap, they seem to be focused on implementing v2 from scratch in typescript.
Anyway, thank you very much for taking the time to respond! It is very much appreciated.

Thank you. I am looking forward to the tiptap2 and vue3.


Add first draft of Kotlin DSL documentation

Summary
This PR adds a first draft of documentation for the newly added Block Kit Kotlin DSL. This was done for issue #501
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

We'll merge this when releasing v1.1 (this week or next week)

Although I announced above, we need more time for some reasons. We'll be releasing v1.1 next week :bow:

Take your time! It'll be ready when it's ready


Convert to named export/convert to default export grayed-out

VSCode Version: 1.52.1
OS Version: Windows_NT x64 10.0.19042

Steps to Reproduce:

Create two files, one with a default export one with import
Try ctrl+shift+r, refactor code
Find that both options are greyed out

Does this issue occur when all extensions are disabled?: Yes/No

That means the refactoring is disabled. Please share an example project if you don't think it should be

@mjbvz How is the refactoring disabled? It's really just these 4 files. I make the files and then it doesn't work. How should I share this with you?

Please create a simple GitHub project with the code and share a link

Please create a simple GitHub project with the code and share a link

I had the same problem @alber70g, I think it's because the function is unnamed – if you give the function a name first you should hopefully be then able to then use the refactoring.


Edit Error (Frontend)

Hello Nisal,
first of all thank you for the great project and the series in You Tube.
I managed to follow and rebuild everything so far.
Today I tried to implement the 6th step of the series.
So that means I set up the frontend - app in my Azure account.
Unfortunately, the edit - function does not work in the frontend application.
I am able to rule out an error in the Azure Function, because everything works when the APIs are accessed directly via Thunder Client.

Maybe you can give me a tip how to solve this problem.
Thank you very much and best regards,
Thomas

Hello Thomas
Can I check if it happened after deleting an item. Because I just noticed that I haven't removed the deleted item from the list in the UI after delete icon is clicked. So if you try to edit a deleted item, the api will return 404 since the item is not in cosmos db table. Following code snippet in EditTodoItem/index.ts is doing so. Apologies about the UI bug. Let me know if you find the answer useful
if(error.message.includes("Entity with the specified id does not exist in the system")){
                context.res = {
                    status:404
                };
            }

If I create an item and delete it, then no error occurs.
Enclosed you find the short text of the error message.
POST https://apenifunctionapp.azurewebsites.net/api/todoitem/ef365eea-9864-4c2b-a7b5-cc21b18de3db net::ERR_ABORTED 404 (Not Found)

I think I have it figured out.
In this case above a post method is called.
In my case the edit function is a get method.
I 'm going to change the edit funkction method.

Now it works  :)


Capturing not used options/values

 Issue by sn50
Monday Nov 30, 2015 at 18:32 GMT
Originally opened as https://github.com/gsscoder/commandline/issues/268

Let's say I need one option -p as a valid option for my program. Everything else is invalid. I need to capture those invalid ones and, let's say, show them to the user. How am I about to do that?
E.g. for program.exe -g -f file I need to get something like {'g'=> null, 'f'=>"file"} in any form available. I couldn't find out how to do that.
Is it possible? If yes, how to achieve it? Thank you in advance.

 Comment by nemec
Monday Nov 30, 2015 at 19:42 GMT

No, I don't believe that feature is available. What use cases are you thinking of for this feature?

 Comment by sn50
Monday Dec 14, 2015 at 12:00 GMT

I want my simple program to be able to explicitly inform user on his invalid options entered, since I consider every unpaired option invalid and worth reporting to user.

 Comment by Mizipzor
Friday Jan 29, 2016 at 22:10 GMT

You could use a ValueList to pick up all additional arguments and then check yourself if that list is empty after parsing. This is done differently depending on branch, what version are you using?


Feature/shopify api updates

PR Overview
This PR will address the following Issue/Feature: Issue #60, Issue #67, and Issue #66
This PR will result in the following new package version: v0.9.0

This will be a breaking change due to the removal of fields from the staging models. Customers who previously relied on these fields will no longer be able to leverage them. This was done to be in line with the connector API updates for Shopify.
Please detail what change(s) this PR introduces and any additional information that should be known during the review of this PR:

In June 2023 the Shopify connector received an update which upgraded the connector to be compatible with the new 2023-04 Shopify API. As a result, the following fields have been removed as they were deprecated in the API upgrade:

model
field removed

stg_shopify__customer
lifetime_duration

stg_shopify__order_line
fulfillment_service

stg_shopify__order_line
destination_location_* fields

stg_shopify__order_line
origin_location_* fields

stg_shopify__order
total_price_usd

stg_shopify__order
processing_method

Removed databricks from the shopify_database configuration in the src_shopify.yml to allow Databricks Unity catalog users to define a unity Catalog as a database.

PR Checklist
Basic Validation
Please acknowledge that you have successfully performed the following commands locally:

[X] dbt compile
[X] dbt run –full-refresh
[X] dbt run
[X] dbt test
[n/a] dbt run –vars (if applicable)

Before marking this PR as "ready for review" the following have been applied:

[X] The appropriate issue has been linked and tagged
[X] You are assigned to the corresponding issue and this PR
[X] BuildKite integration tests are passing

Detailed Validation
Please acknowledge that the following validation checks have been performed prior to marking this PR as "ready for review":

[X] You have validated these changes and assure this PR will address the respective Issue/Feature.
[X] You are reasonably confident these changes will not impact any other components of this package or any dependent packages.
[X] You have provided details below around the validation steps performed to gain confidence in these changes.

Not much validation was needed for these changes. I used the release notes as the basis for what fields were being deprecated. I then removed these fields from the staging models, macros, and yml documentation. Ran the models and confirmed the fields were no longer present. No further validation was necessary per my opinion.
Standard Updates
Please acknowledge that your PR contains the following standard updates:

Package versioning has been appropriately indexed in the following locations:

[X] indexed within dbt_project.yml
[X] indexed within integration_tests/dbt_project.yml

[X] CHANGELOG has individual entries for each respective change in this PR

[X] README updates have been applied (if applicable)

[n/a] DECISIONLOG updates have been updated (if applicable)
[X] Appropriate yml documentation has been added (if applicable)

dbt Docs
Please acknowledge that after the above were all completed the below were applied to your branch:

[X] docs were regenerated (unless this PR does not include any code or yml updates)

If you had to summarize this PR in an emoji, which would it be?

🛫

Hi @fivetran-joemarkiewicz just reviewed, please see the below:

I'm wondering if not all deprecated fields were removed. For example, I noticed fulfillment_service is still in product_variant, though that field in product_variant object is no longer provided in their API. Do we need to remove it in that corresponding model and its ymls as well?

I mean, I do still see it in the schema that was provided, but that schema also still has fulfillment_service in order_line, which was removed.

Still on topic of product_variant, I see that this issue mentioned that title also needs to be removed.

The changelog mentions shopify_using_shop_metafields added to the readme but I'm not seeing it? Nor do I see a Adding Metafields section

Hey @fivetran-reneeli thanks for reviewing, see my responses below:

I'm wondering if not all deprecated fields were removed. For example, I noticed fulfillment_service is still in product_variant, though that field in product_variant object is no longer provided in their API. Do we need to remove it in that corresponding model and its ymls as well?

fulfillment_service was not deprecated from the product_variant table. Per the connector updates, that field was removed from a few tables, but not the product_variant table.
In regards to the product_variant object being deprecated, I confirmed with the PM that while the object is being deprecated, we are still able to sync it via other API endpoints. This is why we are able to continue syncing this object.
Regarding the deprecated fields still being seen in the schema, this will be the case for connectors that were active before the upgrade. The connector isn't dropping these fields, but is instead just not syncing new records anymore. The fields still may exist, but we just won't sync new records anymore. However, for new connectors, these fields will not exist.

Still on topic of product_variant, I see that this https://github.com/fivetran/dbt_shopify/issues/60 mentioned that title also needs to be removed.

Yup, this was originally assumed to be deprecated. However, per the notes from the PM, this field is still possible to be synced from a different endpoint. Therefore, it is still being synced and not being deprecated. I can update the issue description.

The changelog mentions shopify_using_shop_metafields added to the readme but I'm not seeing it? Nor do I see a Adding Metafields section

Good catch, this is something that only should exist in the transform package. Will remove from the PR.

Thanks for clarifying Joe! Just had one more comment ^

Thanks @fivetran-reneeli! Just updated and marked for re-review.

You might need to regen docs again but other than that, looks good pending buildkite 👍


BAU: Fix compile warnings

Proposed changes
What changed
Fix compile warnings
Why did it change
When we compile the lambdas with gradle (./gradlew build), we see warnings generated for a couple of the sub-projects.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

This makes a few small modifications to remove those warnings.

Approved - sonarqube is saying 50% coverage on new code which you might want to look at but not a huge deal @Wynndow

Yeah. I think it's because of a catch block that I needed to add. It's actually not possible to reach it as the input that might throw the error (JsonProcessingException) is hardcoded rather than coming from an unvetted source. So I'm not too worried.


Infinite Loading on error suggestion

When I hover over highlighted errors and wait for a suggestion, the tooltip freezes with a "Loading" message (see attached image). Below are some messages from the Java Console when I start the project in code:
[Info  - 6:04:59 PM] Connection closed [Warn  - 6:04:59 PM] Unexpected params 'java.lang.Void@762ca2b4' for 'public default void org.eclipse.lsp4j.services.LanguageServer.initialized()' is ignored [Warn  - 6:04:59 PM] Unsupported notification method: $/setTraceNotification [Info  - 6:04:59 PM] Lint file:///Users/m/git/******/src/main/java/***/*****/******/dbpojo/Test.java [Info  - 6:04:59 PM] Emit effective pom for /Users/m/git/moppet/pom.xml to /var/folders/16/jklb51p1409_wpyx8t78y8bm0000gn/T/effective-pom2290539182353371595.xml [Info  - 6:05:08 PM] Emit classpath to /var/folders/16/jklb51p1409_wpyx8t78y8bm0000gn/T/classpath2404906236906906885.txt
Here's some information about my configuration:

Mac OS Sierra 10.12.5
Java 1.8.0_131
I also have Language Support for Java by Red Hat installed. But it seems to be the same result without it.
Maven 4.0.0

External dependency resolution has been considerably simplified and this may work better for you now.


Support input formData entries with consistent field name

Cases where a formData is passed with multiple entries with the same field name are not handled, so if we pass a formData to the server action that had several formData.append("name") on the client we will only get the last entry. Libs like zod-form-data handle this case automatically by turning the filed into an array.
I can provide more info if necessary, and If this is already possible, please correct me!

Got it. I assume you are referring to repeatable. We do not have something built for this yet. I understand why this is important for zsa to handle.
If you can, can you provide an example on this issue of a server/client code pair for a simple form where this is breaking. We can then use this to test on our end (and add it to our tests)!

Just merged a PR for this!
Please upgrade to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>The TLDR is you want to use a z.array(z.string()). For a more comprehensive example, we posted a new section on our docs.

I was finishing a codesandbox to send as an example when I saw you already made a PR and merged. You are fast Sir!
Tested and it seems to be working very well