911 Commits

Author SHA1 Message Date
Takashi Kajinami
660620261e Get rid of redundant version check
In gateway we validate only major version so it's redundant and useless
to compare major version with full version such as 3.x .

Change-Id: Ibafdb85d8121f8ff163fa42b9d9bfd0a0b540e09
2023-02-17 11:54:12 +09:00
Kota Tsuyuzaki
02e4f40ec9 Replace nose to nose2
because nose is in deprecation[1] so we need to
use nose2, or pytests instead. This commit
suggests to use nose2 and fix some import errors
on slow attribute according to the docs [2]

1: https://nose.readthedocs.io/en/latest/#note-to-users
2: https://docs.nose2.io/en/latest/plugins/attrib.html
Change-Id: Idc0c8c146a9ac7fa7ffd90793211422571852d82
2023-02-14 08:16:58 +00:00
Takashi Kajinami
e9187da3ea Adapt to tox 4
tox 4 introduced some changes which broke compatibility. This updates
tox.ini to adopt the change.

This also replaces usage of upstream docker package by one provided by
distro, assuming that is more stable.

Change-Id: I511c5b657386877c6ae3eed57a2e345c6a9e2d70
2023-02-14 08:16:34 +00:00
9256bd59bf Switch to 2023.1 Python3 unit tests and generic template name
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope. Also,
updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I843494b1f7dfeffc038039b6784182dab503915a
2022-09-20 00:35:15 +00:00
612b9e592d Update master for stable/zed
Add file to the reno documentation build to show release notes for
stable/zed.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.

Sem-Ver: feature
Change-Id: I48cbe613e5a1704ef867541cfcaff3c4d940cc2b
2022-09-18 23:01:02 +09:00
Takashi Kajinami
9bf2c3b3b9 Add release note for 10.0.0
Change-Id: I622db73fddc206ae49e9cf2265e71084e544afa8
10.0.0.0rc1 10.0.0
2022-09-15 03:10:48 +00:00
niuke
5c8d45cc39 remove unicode literal from code
Change-Id: Ifded51278e80b36f2f85178924df4f54cf966d4a
2022-08-15 08:51:51 +00:00
niuke
14c1f40ec9 remove unicode literal from code
Change-Id: I9af0a0f1e5f9b16cea656bf495a7e8b4b33909f7
2022-07-28 10:06:40 +00:00
jiaqi07
fa58962e8b Use TOX_CONSTRAINTS_FILE
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: Ide356fda579cc77e8414446a818dec7749687b9d
2022-07-26 03:06:35 +00:00
Takashi Kajinami
86068502c8 Remove remaining usage of six
This removes the remaining usage of six, which is a leftover of
the previous removal patch[1].

[1] 53abb1b2f6e9d02e549cef20c71d58290433d0e2

Change-Id: Ie94c712d8b2baaff6066ce924573f6f152b921fe
2022-07-16 23:50:43 +09:00
Zuul
47350890d1 Merge "Bump version of java dependencies" 2022-06-26 23:24:21 +00:00
Zuul
775ae8b904 Merge "Fix outdated description of spawn_subprocess" 2022-06-26 19:13:01 +00:00
Zuul
cdd63abccd Merge "Use wildcard for CLASSPATH" 2022-06-26 18:43:53 +00:00
Takashi Kajinami
3cc13b5aeb Fix outdated description of spawn_subprocess
This method is used not only for Java SDaemon but also for Python
storlet daemon. Thus the description should be updated accordingly.

Change-Id: I9155114f857d481e7a197ecac1090ae68377ff1b
2022-06-27 03:28:11 +09:00
Takashi Kajinami
9b441da4b8 Bump version of java dependencies
This change bumps the version of dependent librariyes(logback and
slf4j) to use the current latest stable version.

Change-Id: Ied7a8785370bf43ac29ce571fdd7300ae183d8ab
2022-06-26 18:19:49 +00:00
Zuul
6c61cbad35 Merge "Fix keystone url according to the latest devstack" 2022-06-26 18:05:50 +00:00
Takashi Kajinami
b8add44326 Use wildcard for CLASSPATH
... and avoid usage of file paths. Using file paths makes it difficult
to update library versions, because versions are hard-coded as part
of file paths.

Change-Id: I04b8bec400c89d744ae08bc3b80da1a31907fa85
2022-06-27 03:03:41 +09:00
Takashi Kajinami
173480fd08 Fix keystone url according to the latest devstack
... and replaces usage of Identity v2 API which was already removed.

Change-Id: Idfe64d0a9f09457c08fc8b537e89d651fdd87165
2022-06-27 02:29:48 +09:00
Zuul
bea5262fc6 Merge "Replace third party mock" 2022-06-26 17:13:55 +00:00
Zuul
3a803a1999 Merge "Remove six" 2022-06-26 17:13:48 +00:00
Zuul
1a8d1a73db Merge "Remove constraints for Python 2.7 from test requirements" 2022-06-26 16:32:36 +00:00
Zuul
d6e0eba304 Merge "Remove bindep entry for bionic" 2022-06-26 16:23:03 +00:00
Zuul
c14a899bd4 Merge "Fix the python-dev(el) package installed by bindep" 2022-06-26 16:23:01 +00:00
Zuul
66987efd31 Merge "Replace deprecated assertRaisesRegexp" 2022-06-26 16:03:33 +00:00
Takashi Kajinami
d37ee52398 Remove constraints for Python 2.7 from test requirements
... because Python 2 is no longer supported.

Change-Id: I62fa06940211a24624096e947c65cc271c33b21d
2022-06-27 00:52:34 +09:00
Zuul
2b9ed21aec Merge "Remove leftover of Python 2 support" 2022-06-26 15:45:04 +00:00
Takashi Kajinami
901784b313 Remove bindep entry for bionic
... because we no longer support it.

Change-Id: Ib53d1aabd1cb0355b2b75c930c37ce8c6c3b57b5
2022-06-27 00:37:13 +09:00
Takashi Kajinami
26742341ad Fix the python-dev(el) package installed by bindep
Now we need python 3 instead of python 2. Python 3.10 job is failing
because of this.

Change-Id: I225637417d8e756e14a0f1cf374b6826b576d170
2022-06-27 00:35:01 +09:00
Takashi Kajinami
641dcb6906 Replace deprecated assertRaisesRegexp
... because Python 2 is no longer supported.

Change-Id: I29e93bb19663f884962859ec506f7b57e144adb6
2022-06-27 00:14:28 +09:00
Zuul
de3ed83f84 Merge "Check the requested runtime before launching storlet daemon" 2022-06-26 15:03:43 +00:00
Takashi Kajinami
ff77dcff8c Remove leftover of Python 2 support
Python 2 is no longer supported, thus we don't need a separate
constraint file for it.

Change-Id: Ifef9559cf72bca175d24eedc8790e5b817a29436
2022-06-26 23:59:10 +09:00
Takashi Kajinami
b6f141aef5 Replace third party mock
... because now we do not support Python 2.

Change-Id: I3d3ebad466ee0f17e8d6a80bdaa3cd8310f4dd74
2022-06-26 14:58:26 +00:00
Takashi Kajinami
53abb1b2f6 Remove six
Because Python 2 support was removed, we no longer need the six
library which is used to make our code compatible with both Python 2
and Python 3.

Change-Id: I69dda7647f9e9a2946a59e1a3250bcb7c26efc9e
2022-06-26 14:58:20 +00:00
Takashi Kajinami
3d90bb9cea doc: Comment out language option
... because explicit language=None causes the below warning since
Sphinx 5.0.0.

Invalid configuration value found: 'language = None'. Update your
configuration to a valid langauge code. Falling back to 'en' (English).

Change-Id: I30e525b04091615ac16d819202e9df591398d6e9
2022-06-06 23:37:58 +09:00
Takashi Kajinami
8a2019eea5 Bump tox minversion to 3.18.0
Since tox 3.18.0, the whitelist_externals option has been deprecated in
favor of the new allow_list_externals option[1].

This change bumps the minversion of tox so that we can replace
the deprecated option.

[1] https://github.com/tox-dev/tox/blob/master/docs/changelog.rst#v3180-2020-07-23

Change-Id: Idd7004ef129d505f23ba8881344b41c90b4676d1
2022-05-22 13:24:25 +00:00
Takashi Kajinami
127af1ce43 Replace github by opendev
... because now opendev is the source repository and github is its
mirror.

Change-Id: I55ab8bb845e73bba0375ac30fd126c92a4278bd3
2022-05-04 21:54:14 +09:00
Takashi Kajinami
302b73ca17 Drop Python 2 support in middleware/gateway
... because Swift is finally removing its support for Python 2.

Change-Id: I1913e7ceeaf06f7bd2ae1d69d5d1ecf8ddc71e35
2022-05-04 21:50:15 +09:00
Takashi Kajinami
132d3509f2 Drop Python 2 support in storlet agent
This change removes support running storlet agent using Python 2, which
means we no longer support running applications by Python 2.

This patch also cleans up some codes we have for py2-3 compatibility,
which is no longer required after we drop support for Python 2.

Change-Id: Ib03e8d442ad3362fd9f2bbc0f1c09f597dad684c
2022-05-04 21:42:17 +09:00
Zuul
bce81a9597 Merge "Use https instead of git for git clone" 2022-04-05 02:09:14 +00:00
Takashi Kajinami
6e7ef579f6 Use https instead of git for git clone
Recently github doesn't allow git protocol without authentication.
This change replaces git by https, which still allows unauthenticated
access.

Change-Id: I437cd2d45c2399d453467a0827f7b9671dcf367d
2022-04-05 10:24:05 +09:00
Zuul
02b16f1579 Merge "Remove unnecessary 0777 permission and sudo" 2022-03-15 01:29:22 +00:00
70ea4f98e8 Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I050b053e7afe7c9ba0d985897f490e9fe9a2b76d
2022-03-10 07:27:54 +00:00
d0f8687eb7 Update master for stable/yoga
Add file to the reno documentation build to show release notes for
stable/yoga.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/yoga.

Sem-Ver: feature
Change-Id: I037ed347b0b9ce5fd582445a7159339d25fc067b
2022-03-10 16:27:21 +09:00
Takashi Kajinami
1e79cc0445 Add release note for 9.0.0
Change-Id: I8fc8d74e5c5610639e5098c13c90af801da4f7a3
9.0.0
2022-03-08 09:49:28 +09:00
Takashi Kajinami
ad8fc39bca Add Python 3.9 as supported runtime
... because it has been tested as part of supported runtimes for
upcoming Yoga release[1].

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html
Change-Id: Icd0469f4740e2cc47129529d89b9808790ec4e6b
2022-02-15 01:34:51 +09:00
Takashi Kajinami
973959b115 Add py39 to tox env list
... because Python3.9 is added to tested python runtimes for Yoga.

Change-Id: Ib17a63862c8ee33b191c15558e7a0db41ad4f59d
2021-11-21 23:06:34 +09:00
Takashi Kajinami
95df061fd8 Fix wrong project name in release note index
It seems the file was created based on the one in Swift but project
name in the file was not updated.

Change-Id: Ib73ccb76791873a434b9ba51f56912399dd9a7df
2021-09-16 11:07:04 +09:00
c371375eb2 Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I4e2447a7f70ec761ef4d1767fba38bd32a1f26ce
2021-09-15 23:19:03 +00:00
a54e69f7f7 Update master for stable/xena
Add file to the reno documentation build to show release notes for
stable/xena.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/xena.

Sem-Ver: feature
Change-Id: I02f6fe9366a665189ffe3ab1b56e0b0980aaabc5
2021-09-15 23:18:53 +00:00
Takashi Kajinami
a513114c33 Add release note for 8.0.0
Change-Id: Id6774290878350b08d2841ba7f0e439a3d3c40ba
xena-em
2021-09-14 11:49:19 +09:00