pyspark-connectby 1.1.2__tar.gz → 1.2.0__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.

Potentially problematic release.


This version of pyspark-connectby might be problematic. Click here for more details.

@@ -1,16 +1,16 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyspark-connectby
3
- Version: 1.1.2
3
+ Version: 1.2.0
4
4
  Summary: connectby hierarchy query in spark
5
5
  Author: Chen, Yu
6
- Requires-Python: >=3.7,<4.0
6
+ Requires-Python: >=3.9,<4.0
7
7
  Classifier: Programming Language :: Python :: 3
8
- Classifier: Programming Language :: Python :: 3.7
9
- Classifier: Programming Language :: Python :: 3.8
10
8
  Classifier: Programming Language :: Python :: 3.9
11
9
  Classifier: Programming Language :: Python :: 3.10
12
10
  Classifier: Programming Language :: Python :: 3.11
13
11
  Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: 3.14
14
14
  Description-Content-Type: text/markdown
15
15
 
16
16
  # pyspark-connectby
@@ -68,7 +68,8 @@ Note the pseudo columns in the query result:
68
68
  - CONNECT_BY_ISLEAF
69
69
 
70
70
  # Installation
71
- Python Version >= 3.7
71
+ ## Python
72
+ Version >= 3.9, <4.0
72
73
  ```
73
74
  $ pip install --upgrade pyspark-connectby
74
75
  ```
@@ -90,5 +91,23 @@ df.connectBy(prior='emp_id', to='manager_id', start_with=['1', '2']) # start_wi
90
91
 
91
92
  ```
92
93
 
94
+ # Developer
95
+ ## java
96
+ java 17 or later
97
+ ```commandline
98
+ brew install openjdk@17
99
+ sudo ln -sfn /opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk
100
+ export JAVA_HOME=$(/usr/libexec/java_home -v 17) # e.g in ~/.zshrc
101
+ ```
102
+
103
+ ## poetry
104
+ ```commandline
105
+ pipx install poetry
106
+ ```
93
107
 
108
+ ## Test
109
+ ```commandline
110
+ pytest
111
+ poetry run pytest
112
+ ```
94
113
 
@@ -53,7 +53,8 @@ Note the pseudo columns in the query result:
53
53
  - CONNECT_BY_ISLEAF
54
54
 
55
55
  # Installation
56
- Python Version >= 3.7
56
+ ## Python
57
+ Version >= 3.9, <4.0
57
58
  ```
58
59
  $ pip install --upgrade pyspark-connectby
59
60
  ```
@@ -75,4 +76,22 @@ df.connectBy(prior='emp_id', to='manager_id', start_with=['1', '2']) # start_wi
75
76
 
76
77
  ```
77
78
 
79
+ # Developer
80
+ ## java
81
+ java 17 or later
82
+ ```commandline
83
+ brew install openjdk@17
84
+ sudo ln -sfn /opt/homebrew/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk
85
+ export JAVA_HOME=$(/usr/libexec/java_home -v 17) # e.g in ~/.zshrc
86
+ ```
87
+
88
+ ## poetry
89
+ ```commandline
90
+ pipx install poetry
91
+ ```
78
92
 
93
+ ## Test
94
+ ```commandline
95
+ pytest
96
+ poetry run pytest
97
+ ```
@@ -1,19 +1,20 @@
1
1
  [tool.poetry]
2
2
  name = "pyspark-connectby"
3
- version = "1.1.2"
3
+ version = "1.2.0"
4
4
  description = "connectby hierarchy query in spark"
5
5
  authors = ["Chen, Yu"]
6
6
  readme = "README.md"
7
7
  packages = [{include = "pyspark_connectby"}]
8
8
 
9
9
  [tool.poetry.dependencies]
10
- python = "^3.7"
10
+ python = ">=3.9,<4.0"
11
11
 
12
12
  [tool.poetry.group.dev.dependencies]
13
13
  pyspark = "~3.3.0"
14
+ setuptools = "^80.10.2"
14
15
 
15
16
  [tool.poetry.group.test.dependencies]
16
- pytest = "^7"
17
+ pytest = "*"
17
18
  pyspark = "~3.3.0"
18
19
 
19
20
  [build-system]