Skip to content

Commit

Permalink
Merge pull request #26 from runprism/local-subfolder-bugfix
Browse files Browse the repository at this point in the history
Hotfix: use str() instead of .name
  • Loading branch information
prism-admin authored Aug 2, 2023
2 parents d578c68 + cbe53cf commit 5dd8ec5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion prism/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#############

# Version number
VERSION = '0.2.0'
VERSION = '0.2.1'

# Root directory of project
ROOT_DIR = str(Path(os.path.dirname(__file__)).parent)
Expand Down
2 changes: 1 addition & 1 deletion prism/infra/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def exec_single(self,
# Keep track of current module in tasks manager
if isinstance(task_manager, PrismTaskManager):
task_manager.curr_module = re.sub(
r'\.py$', '', task.task_relative_path.name
r'\.py$', '', str(task.task_relative_path)
)

# Keep track of events
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = prism-ds
description = The easiest way to create data pipelines in Python.
long_description_content_type = text/markdown
long_description = file: README.md
version = 0.2.0
version = 0.2.1
author = prism founders
author_email = hello@runprism.com
license = Apache-2.0
Expand Down Expand Up @@ -59,11 +59,11 @@ trino =
pyspark =
pyspark>=3
dbt =
dbt-core>=1
dbt-core>=1,<1.6.0
docker =
docker>=6.0
testing =
dbt-snowflake>=1
dbt-snowflake>=1,<1.6.0
pytest>=7
fastparquet>=0.8,<1
tox>=3.24
Expand Down

0 comments on commit 5dd8ec5

Please sign in to comment.