Skip to content

Commit

Permalink
Merge pull request #1008 from pyiron/dependabot/pip/sqlalchemy-2.0.0
Browse files Browse the repository at this point in the history
Bump sqlalchemy from 1.4.46 to 2.0.0
  • Loading branch information
jan-janssen authored Feb 1, 2023
2 parents 82a296a + fc6cedd commit 9d3e82e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .ci_support/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ dependencies:
- pyfileindex =0.0.7
- pysqa =0.0.18
- pytables =3.7.0
- sqlalchemy =1.4.46
- sqlalchemy =2.0.0
- tqdm =4.64.1
- traitlets =5.8.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
'psutil==5.9.4',
'pyfileindex==0.0.7',
'pysqa==0.0.18',
'sqlalchemy==1.4.46',
'sqlalchemy==2.0.0',
'tables==3.7.0',
'tqdm==4.64.1',
'traitlets==5.8.1',
Expand Down
5 changes: 4 additions & 1 deletion tests/database/test_database_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ def tearDownClass(cls):
Returns:
"""
cls.database.conn.close()
os.remove("test_database.db")
if os.name != 'nt':
# On windows we get PermissionError: [WinError 32] The process cannot access the
# file because it is being used by another process: 'test_database.db'
os.remove("test_database.db")

def tearDown(self):
"""
Expand Down

0 comments on commit 9d3e82e

Please sign in to comment.