Skip to content

Commit

Permalink
update to remove xonsh deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhua0320 committed Jul 27, 2024
1 parent 00a5a69 commit 3258d05
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/regolith/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from distutils.dir_util import copy_tree
from warnings import warn

from xonsh.lib import subprocess
from xonsh.api import subprocess

try:
import hglib
Expand Down
2 changes: 1 addition & 1 deletion src/regolith/helpers/basehelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from itertools import groupby

from jinja2 import Environment, FileSystemLoader
from xonsh.lib import subprocess
from xonsh.api import subprocess

from regolith.sorters import category_val, date_key, doc_date_key, level_val
from regolith.tools import LATEX_OPTS, date_to_rfc822, gets, latex_safe, latex_safe_url, month_and_year, rfc822now
Expand Down
2 changes: 1 addition & 1 deletion src/regolith/tests/bootstrap_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import tempfile
from copy import deepcopy

from xonsh.lib import subprocess
from xonsh.api import subprocess

from regolith.broker import load_db
from regolith.fsclient import dump_yaml
Expand Down
4 changes: 2 additions & 2 deletions src/regolith/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import pytest
from pymongo import MongoClient
from pymongo import errors as mongo_errors
from xonsh.lib import subprocess
from xonsh.lib.os import rmtree
from xonsh.api import subprocess
from xonsh.api.os import rmtree

from regolith.fsclient import dump_yaml
from regolith.schemas import EXEMPLARS
Expand Down
2 changes: 1 addition & 1 deletion src/regolith/tests/test_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from subprocess import CalledProcessError

import pytest
from xonsh.lib import subprocess
from xonsh.api import subprocess

from regolith.main import main

Expand Down

0 comments on commit 3258d05

Please sign in to comment.