Skip to content

Commit

Permalink
Merge pull request #1398 from gnocchixyz/mergify/bp/stable/4.6/pr-1366
Browse files Browse the repository at this point in the history
Remove the use of the future module (backport #1366)
  • Loading branch information
tobias-urdin authored Aug 20, 2024
2 parents 146d3cd + 193b44a commit 399448e
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 11 deletions.
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

0 comments on commit 399448e

Please sign in to comment.