These are detected as errors since the clean up was done[1] in
the requirements repository.
[1] 314734e938f107cbd5ebcc7af4d9167c11347406
Change-Id: I7bdfd17098c4e91fc99952a3ea6f044303eaa431
As per the current release tested runtime, we test
python version from 3.8 to 3.11 so updating the
same in python classifier in setup.cfg
Change-Id: I48f4e136566139b06757643847e66170ed944102
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].
[1] https: //review.opendev.org/c/openstack/governance/+/872232
Change-Id: I26d45090b0198545bf88d013e81f8c35f1ed1a11
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.
Change-Id: Iae55c1cfdccccf7140d86819b4a7cbb3835c39a8
In Zed cycle testing runtime, we are targetting to drop the
python 3.6/3.7 support, project started adding python 3.8 as minimum,
example nova:
- 56b5aed08c/setup.cfg (L13)
Also moving zuul's job to `openstack-python3-jobs`.
Change-Id: I7997e1dc076ba4b9a385b96bfc97b7bf1c8aedd0
This patch updates the project template to use the Yoga project template
to ensure unit testing is in place for all of the tested runtimes
for yoga. For more please refer to [1].
[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
Change-Id: I9f89b5c3bf01f6dedde418c45bcf63b3e17db3af
The tox option to skip source distribution building is skipsdist,
but this seems to be often misspelled skipdist instead, which gets
silently ignored and so does not take effect. Correct it
everywhere, in hopes that new projects will finally stop copying
this mistake around.
See https://tox.readthedocs.io/en/latest/config.html#conf-skipsdist
and https://github.com/tox-dev/tox/issues/1388 for details.
Change-Id: Id20f1ee2725533e2a06dc6798ead3cc9d70c35eb
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:
UserWarning: Usage of dash-separated 'description-file' will not be
supported in future versions. Please use the underscore name
'description_file' instead
[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
Change-Id: I9496ef8ac2349e9bc5a3a426fb0fed4b25b95090
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: I4c0088e31a8f8e3120a473f0e362445f5b3fe5cf
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.
Change-Id: I2f6d873d299c168177ea94259c6b5b590011d3d9
Switch to openstackdocstheme 2.2.0 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
Depends-On: https://review.opendev.org/728938
Change-Id: I53dfc4b7d9fff5f6d8fce02728bc91dada252ec7
It could be less annoying to ignore the E010 [1] and allow us to don't fight
against base syntaxe error with "for do" statements by avoiding
semicolon.
Also these changes add some comments about the ignored rules.
[1] https://docs.openstack.org/bashate/latest/readme.html#structure-errors
Change-Id: Ic16027bf97eb93d25fbfed21843f9df855571fa9
These changes make oslo.tools more user friendly by documenting tools
introducing commands shortcut etc...
Introduced changes:
- add doc and build it with tox
- add tox and shortcut commands
- centralize tools
- launch zuul jobs
- apply pep8
- apply bashate
Change-Id: I0f948c9f507b8c951c5748265699a2f515350ff9
Problem:
filter_git_history.sh, when passed a list if directories to filter,
sometimes passes a bad arguement to git filter-branch.
e.g.
filter_git_history.sh <dir1> <dir2> <dir3>
results in ...
git filter-branch ... --parent-filter '<bad arg>' ...
resulting in logs ....
Rewrite 1a32385367efab7a2bccf63981993b322e0d4b4c (1/866)/usr/lib/git-core/git-filter-branch: line 340: [: missing `]'
/usr/lib/git-core/git-filter-branch: line 341: -o: command not found
Rewrite 3cd12006bb6e7c9157f6b0f82a10d0c8cd63e334 (2/866)/usr/lib/git-core/git-filter-branch: line 340: [: missing `]'
/usr/lib/git-core/git-filter-branch: line 341: -o: command not found
The issue appears to be carriage returns in variable 'set_roots'.
Specifically the expresion within the '[' ']' pair seems to be incompatible with
carriage returns.
If I run with bash debugging turned on, I see the for loop at
line 45 iterated twice, producing the following output.
+ set_roots='
if [ 1 -eq 0 -o "$GIT_COMMIT" = '\''1232ac58be82479ddf1af7f7eb335103cb883356'\''
-o "$GIT_COMMIT" = '\''ffe029ef99c501a0076ad6106a364bbb9c0d80ea'\'' ]; then
echo '\'''\'';
else
cat;
fi'
Note that there is a carriage return prior to the second -o clause.
My theory is that within git-filter-branch, bash is being invoked twice.
First call:
if [ 1 -eq 0 -o "$GIT_COMMIT" = '\''1232ac58be82479ddf1af7f7eb335103cb883356'\''
resulting in:
git-filter-branch: line 340: [: missing `]'
Second call:
-o "$GIT_COMMIT" = '\''ffe029ef99c501a0076ad6106a364bbb9c0d80ea'\'' ]; then
echo '\'''\'';
else
cat;
fi
resulting in:
git-filter-branch: line 341: -o: command not found
Other details:
bash 4.3-7ubuntu1.7
git 1:1.9.1-1ubuntu0.10
Solution
Use 'echo -n' rather than 'echo' when constructing 'set_roots'.
Which results in ...
+ set_roots='
if [ 1 -eq 0 -o "$GIT_COMMIT" = '\''1232ac58be82479ddf1af7f7eb335103cb883356'\'' -o "$GIT_COMMIT" = '\''ffe029ef99c501a0076ad6106a364bbb9c0d80ea'\'' ]; then
echo '\'''\'';
else
cat;
fi'
The entire '[' ']' expression is on the same line, and the git-filter-branch go away.
Change-Id: I3a21fd0841f093495cf4727a9f5633a6f80c1690
Signed-off-by: Scott Little <scott.little@windriver.com>
We've moved to managing the ping list in the meeting agenda on the
wiki instead. To avoid confusion, let's remove the old script. If
we find that we need to revive it in the future we can always pull
it from the git history.
Change-Id: I8e5c4efbc26110ae87aae7c4661f67bb1c5f9c26
The Python code defining the ping list has gotten a bit messy as
names are added or removed. Instead of trying to keep the formatting
updated, which is a waste of time since we reformat it on output
anyway, just make it a single vertical list that can be easily added
to or removed from.
Change-Id: I636944deb39b682abd29d741bfb9dff41dfb9bee
People periodically ask about how to be added or removed from the
Oslo courtesy ping list. When generating the list, include a brief
informational message that explains this.
Change-Id: Ie6d600adfea42236b04e58a06854df162f18352e
I am unlikely to be able to attend meetings during the Train cycle.
Change-Id: Ic59ac1c59382ba748131d1eed6232e6b43a1c1b6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
I am no longer working on any oslo projects and thus don't need meeting
pings. Best of luck to those of you still maintaining some of my code.
Change-Id: I5a2775c0b63c47d0ecab43e26d3a2a0ea3b46048
Remove the following collections of tools
analyze-oslo.sh, new_core.py, new_core_analyzer.py,
new_core_recruit.py
Used to handle identification and onboarding of new cores. Committed
in 2015 and likely unused in recent years.
apply_cookiecutter.sh
References "graduation" of oslo projects. Oslo Incubator is dead and
so is this.
dashboards/*, build_dashboards.sh
From 2015 and untouched so likely unused nowadays. Most of these are
available in the gerrit-dash-creator now.
clean_oslo_namespaces.sh
A remnant from the days we thought namespace packages were a good
idea. I miss those days...
clone_openstack.sh
Clones the entirety of OpenStack to your local drive. Seems
initially useful but references stackforge and untouched in years so
not really.
lint.py
Runs PyLint with our special flavor of settings. Initially replaced
by tox and now dead because PyLint is a PITA.
find_used_deleted_modules.py
Another reference to the incubator. Now dead.
remove-namespace-packages-project.txt
Describe the long-since-completed effort to drop namespace packages.
No references and therefore removable.
run_tests_common.sh, with_venv.sh, install_venv.py,
install_venv_common.py
All replaced by tox for, well, everything nowadays.
colorizer.py
No users after everything else is removed.
virtual_sprint.py
Sends an email about a virtual sprint. No one's using this anymore
and it was last modified in 2014.
Change-Id: I6c5bd16dcfacdd816caf568f30e55451acf03ae1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I5f07c8b8fb998a7c333e076a3f7c0de65568068c
I am the new Neutron-Oslo liaison, and I would like to participate in
your lovely notification tool. Thank you!
Change-Id: Idd7225e708c24af337409185e41dec3c65d142d5
There are a number of people who are no longer active on OpenStack
and/or Oslo that are still being courtesy pinged for meetings.
Let's stop doing that.
This is probably not a complete cleanup, but it's a step in the
right direction.
Change-Id: I719b4ad605b52005394f823650230b906e7dbd13