Skip to content

Commit 26c75d5

Browse files
author
amiya
committed
code updated
1 parent aa9729f commit 26c75d5

22 files changed

+1179
-4690
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
name: Bug Report
3+
about: Create a report to help us improve
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
## Bug Description
10+
A clear and concise description of what the bug is.
11+
12+
## To Reproduce
13+
Steps to reproduce the behavior:
14+
1. Install makeParallel version '...'
15+
2. Run the following code '....'
16+
3. See error
17+
18+
## Expected Behavior
19+
A clear and concise description of what you expected to happen.
20+
21+
## Actual Behavior
22+
What actually happened.
23+
24+
## Code Sample
25+
```python
26+
# Minimal code sample that reproduces the issue
27+
import makeparallel as mp
28+
29+
@mp.parallel
30+
def my_function():
31+
# ...
32+
```
33+
34+
## Error Messages
35+
```
36+
Paste any error messages or stack traces here
37+
```
38+
39+
## Environment
40+
- **OS**: [e.g., Ubuntu 22.04, Windows 11, macOS 13]
41+
- **Python Version**: [e.g., 3.11.5]
42+
- **makeParallel Version**: [e.g., 0.1.0]
43+
- **Installation Method**: [e.g., pip, source]
44+
45+
## Additional Context
46+
Add any other context about the problem here (screenshots, logs, etc.).
47+
48+
## Possible Solution
49+
(Optional) If you have ideas on how to fix this issue.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Question or Discussion
4+
url: https://github.com/amiyamandal-dev/makeParallel/discussions
5+
about: Ask questions or discuss ideas
6+
- name: Documentation
7+
url: https://github.com/amiyamandal-dev/makeParallel#readme
8+
about: Read the documentation
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
name: Feature Request
3+
about: Suggest an idea for this project
4+
title: '[FEATURE] '
5+
labels: enhancement
6+
assignees: ''
7+
---
8+
9+
## Feature Description
10+
A clear and concise description of the feature you'd like to see.
11+
12+
## Problem Statement
13+
What problem does this feature solve? Is your feature request related to a problem? Please describe.
14+
15+
Example: "I'm always frustrated when [...]"
16+
17+
## Proposed Solution
18+
A clear and concise description of what you want to happen.
19+
20+
## Example Usage
21+
```python
22+
# How would you use this feature?
23+
import makeparallel as mp
24+
25+
@mp.new_decorator # Your proposed feature
26+
def my_function():
27+
# ...
28+
```
29+
30+
## Alternatives Considered
31+
A clear and concise description of any alternative solutions or features you've considered.
32+
33+
## Benefits
34+
- Who would benefit from this feature?
35+
- What are the advantages?
36+
- How does it improve makeParallel?
37+
38+
## Implementation Ideas
39+
(Optional) If you have ideas on how this could be implemented.
40+
41+
## Additional Context
42+
Add any other context, screenshots, or examples about the feature request here.
43+
44+
## Checklist
45+
- [ ] I have searched existing issues to ensure this is not a duplicate
46+
- [ ] I have considered whether this fits the scope of makeParallel
47+
- [ ] I would be willing to help implement this feature

CHANGELOG.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
## [Unreleased] - 2025-11-30
44

5+
### Fixed
6+
- **CRITICAL**: Fixed Cargo.toml edition from invalid "2024" to "2021"
7+
- Fixed `@parallel_priority` to return full `AsyncHandle` instead of minimal `AsyncHandleFast`
8+
- Now includes timeout, cancellation, metadata, and progress tracking
9+
- Properly integrates with shutdown and backpressure systems
10+
- Added channel bridge for crossbeam to std compatibility
11+
- Fixed priority worker to record metrics and handle errors properly
12+
- Module name normalized to `makeparallel` (lowercase) for PyPI compatibility
13+
- All tests now pass (40/40) including previously broken priority test
14+
15+
### Changed
16+
- Enhanced `@parallel_priority` with full AsyncHandle features
17+
- Updated all documentation to use correct GitHub repository URLs
18+
- Added comprehensive project metadata to pyproject.toml and Cargo.toml
19+
- README.md now references from pyproject.toml for PyPI display
20+
521
### Added
622

723
#### 1. Thread Pool Configuration
@@ -120,7 +136,7 @@ mp.reset_metrics()
120136
## [0.1.0] - Previous
121137

122138
### Initial Release
123-
- Basic decorators: @timer, @log_calls, @CallCounter, @retry, @memoize
139+
- Basic decorators: @timer, @CallCounter, @retry, @memoize
124140
- Parallel execution: @parallel, @parallel_fast, @parallel_pool
125141
- Optimized implementations with Crossbeam and Rayon
126142
- AsyncHandle for task management

Cargo.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[package]
22
name = "makeparallel"
3-
version = "0.1.0"
4-
edition = "2024"
3+
version = "0.1.1"
4+
edition = "2021"
5+
authors = ["Amiya Mandal <amiya19mandal@gmail.com>"]
6+
description = "True parallelism for Python - Bypass the GIL with Rust-powered decorators"
7+
repository = "https://github.com/amiyamandal-dev/makeParallel"
8+
license = "MIT"
9+
keywords = ["python", "parallel", "gil", "concurrency", "rust"]
10+
categories = ["api-bindings", "concurrency"]
511

612
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
713
[lib]
@@ -14,3 +20,7 @@ crossbeam = "0.8"
1420
rayon = "1.10"
1521
dashmap = "6.1"
1622
once_cell = "1.20"
23+
parking_lot = "0.12"
24+
thiserror = "2.0"
25+
serde = { version = "1.0", features = ["derive"] }
26+
serde_json = "1.0"

0 commit comments

Comments
 (0)