Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the use of the future module (backport #1366) #1398

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions gnocchi/common/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import

from oslo_config import cfg
from urllib import parse

Expand Down
2 changes: 1 addition & 1 deletion gnocchi/gendoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import absolute_import

import io
import json
import os
Expand Down
2 changes: 1 addition & 1 deletion gnocchi/indexer/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import absolute_import

import datetime
import itertools
import operator
Expand Down
1 change: 0 additions & 1 deletion gnocchi/indexer/sqlalchemy_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import absolute_import

from oslo_db.sqlalchemy import models
import sqlalchemy
Expand Down
2 changes: 0 additions & 2 deletions gnocchi/indexer/sqlalchemy_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import

import sqlalchemy
import sqlalchemy_utils

Expand Down
1 change: 0 additions & 1 deletion gnocchi/indexer/sqlalchemy_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from __future__ import absolute_import

import calendar
import datetime
Expand Down
2 changes: 0 additions & 2 deletions gnocchi/tests/functional/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# under the License.
"""Fixtures for use with gabbi tests."""

from __future__ import absolute_import

import logging
import os
import shutil
Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ install_requires =
oslo.middleware>=3.22.0
pytimeparse
pecan>=0.9
futures; python_version < '3'
jsonpatch
cotyledon>=1.5.0
stevedore
Expand Down
Loading