tlpytools 0.2.5__tar.gz → 0.2.7__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.github/copilot-instructions.md +2 -2
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.github/workflows/deploy.yml +1 -1
- {tlpytools-0.2.5 → tlpytools-0.2.7}/CHANGELOG.md +10 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/DEVELOPER_GUIDE.md +2 -2
- {tlpytools-0.2.5 → tlpytools-0.2.7}/PKG-INFO +1 -1
- {tlpytools-0.2.5 → tlpytools-0.2.7}/pyproject.toml +1 -1
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/__init__.py +1 -1
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/orchestrator.py +13 -6
- {tlpytools-0.2.5 → tlpytools-0.2.7}/uv.lock +221 -225
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.env.example +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.github/skills/README.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.github/skills/prepare-official-release/SKILL.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.github/workflows/code-formatting-pr.yml +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.github/workflows/code-formatting.yml +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.github/workflows/test.yml +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.gitignore +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.pre-commit-config.yaml +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/.python-version +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/ENVIRONMENT_VARIABLES.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/Makefile +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/README.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/adls_server.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/azure_credential_manager.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/diagrams/README.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/diagrams/orca_cloud_workflow.drawio +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/diagrams/orca_detailed_steps.drawio +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/diagrams/orca_file_structure.drawio +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/diagrams/orca_local_workflow.drawio +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/diagrams/orca_main_features.drawio +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/docs/unified_logging.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/requirements.txt +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/examples/batchtask.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/examples/data_files/example.csv +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/examples/mydataproject.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/examples/readwritedata.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/examples/unified_logging.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/adls_server.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/azure_credential.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/config.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/data.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/data_store.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/env_config.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/log.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/README.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/__init__.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/__main__.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/batch_task_runner.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/cli.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/orca_model_config_barebone.yaml +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/orca/orca_model_config_example.yaml +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/src/tlpytools/sql_server.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/README.md +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/__init__.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/conftest.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/run_tests.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/test_azure_credential.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/test_basic.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/test_core.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/test_orca_integration.py +0 -0
- {tlpytools-0.2.5 → tlpytools-0.2.7}/tests/test_orca_unit.py +0 -0
|
@@ -98,8 +98,8 @@ Interpretation for agent PRs:
|
|
|
98
98
|
|
|
99
99
|
Observed result:
|
|
100
100
|
- Build succeeds and produces:
|
|
101
|
-
- `dist/tlpytools-0.2.
|
|
102
|
-
- `dist/tlpytools-0.2.
|
|
101
|
+
- `dist/tlpytools-0.2.7.tar.gz`
|
|
102
|
+
- `dist/tlpytools-0.2.7-py3-none-any.whl`
|
|
103
103
|
|
|
104
104
|
### 5) Run
|
|
105
105
|
- ORCA CLI (module form):
|
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to TLPyTools will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## [0.2.7]
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
* Set environment variable PYTHONHASHSEED to 0 before starting subprocess calls of sub modules
|
|
9
|
+
|
|
10
|
+
## [0.2.6]
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
* Update cloud_config structure in OrcaUtil to include detailed ADLS parameters
|
|
14
|
+
|
|
5
15
|
## [0.2.5]
|
|
6
16
|
|
|
7
17
|
### Changed
|
|
@@ -200,7 +200,7 @@ make check-all
|
|
|
200
200
|
4. Click **"Run workflow"** button
|
|
201
201
|
5. Fill in the required information:
|
|
202
202
|
- **Branch**: Select `main` (or your release branch)
|
|
203
|
-
- **Version number**: Enter the new version (e.g., `0.2.
|
|
203
|
+
- **Version number**: Enter the new version (e.g., `0.2.7`)
|
|
204
204
|
- **Is this a pre-release?**: Check if this is a pre-release version
|
|
205
205
|
|
|
206
206
|
#### 3. Monitor the Release
|
|
@@ -219,7 +219,7 @@ After the workflow completes:
|
|
|
219
219
|
|
|
220
220
|
```bash
|
|
221
221
|
# Verify the package is available on PyPI
|
|
222
|
-
pip install tlpytools==0.2.
|
|
222
|
+
pip install tlpytools==0.2.7 # Replace with your version
|
|
223
223
|
|
|
224
224
|
# Test installation in a fresh environment
|
|
225
225
|
python -c "import tlpytools; print(tlpytools.__version__)"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tlpytools
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.7
|
|
4
4
|
Summary: TransLink's Python Tools - A comprehensive toolkit for transportation modeling and forecasting
|
|
5
5
|
Project-URL: Homepage, https://github.com/TransLinkForecasting/tlpytools
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/TransLinkForecasting/tlpytools/issues
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "tlpytools"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.7"
|
|
8
8
|
description = "TransLink's Python Tools - A comprehensive toolkit for transportation modeling and forecasting"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10.0, <3.13"
|
|
@@ -3621,10 +3621,11 @@ class OrcaOrchestrator:
|
|
|
3621
3621
|
pythonpath_cmd = (
|
|
3622
3622
|
f'set "PYTHONHOME=" && '
|
|
3623
3623
|
f'set "PYTHONPATH={ORCA_DIR};{step_directory}" && '
|
|
3624
|
+
f'set "PYTHONHASHSEED=0" && '
|
|
3624
3625
|
)
|
|
3625
3626
|
else: # Unix/Linux/Mac
|
|
3626
3627
|
# On Unix-like systems, use export command
|
|
3627
|
-
pythonpath_cmd = f"unset PYTHONHOME && export PYTHONPATH={ORCA_DIR}:{step_directory} && "
|
|
3628
|
+
pythonpath_cmd = f"unset PYTHONHOME && export PYTHONPATH={ORCA_DIR}:{step_directory} && export PYTHONHASHSEED=0 && "
|
|
3628
3629
|
|
|
3629
3630
|
# Modify the command to ensure environment can be found
|
|
3630
3631
|
modified_command = f"{pythonpath_cmd}{command}"
|
|
@@ -7912,10 +7913,12 @@ class OrcaUtil:
|
|
|
7912
7913
|
else:
|
|
7913
7914
|
print("[WARNING] Cloud configuration incomplete - some operations may fail")
|
|
7914
7915
|
print("\nTo configure:")
|
|
7915
|
-
print(
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
print("
|
|
7916
|
+
print(
|
|
7917
|
+
" 1. Set required environment variables in your .env file (see ENVIRONMENT_VARIABLES.md)"
|
|
7918
|
+
)
|
|
7919
|
+
print(" 2. Ensure ORCA_ADLS_URL and ORCA_ADLS_CONTAINER are set correctly")
|
|
7920
|
+
print(" 3. Install and authenticate Azure CLI (az login)")
|
|
7921
|
+
print(" 4. Verify managed identity or CLI credential is enabled")
|
|
7919
7922
|
|
|
7920
7923
|
print("=" * 70)
|
|
7921
7924
|
|
|
@@ -7928,7 +7931,11 @@ class OrcaUtil:
|
|
|
7928
7931
|
"all_configured": all_configured,
|
|
7929
7932
|
"missing_env_vars": missing_vars,
|
|
7930
7933
|
"env_vars": env_vars,
|
|
7931
|
-
"cloud_config":
|
|
7934
|
+
"cloud_config": {
|
|
7935
|
+
"adls_url": adls_url,
|
|
7936
|
+
"adls_container": adls_container,
|
|
7937
|
+
"adls_folder": adls_folder,
|
|
7938
|
+
},
|
|
7932
7939
|
}
|
|
7933
7940
|
|
|
7934
7941
|
@staticmethod
|