functiontrace 0.4.2__tar.gz → 0.4.4__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.
@@ -5,14 +5,16 @@ edition = "2021"
5
5
 
6
6
  [dependencies]
7
7
  color-eyre = { version = "0.6", default-features = false }
8
+ dashmap = "6"
8
9
  functiontrace-server = { version = "0.8.4", default-features = false, features = ["serialize"] }
9
10
  libc = "0.2"
10
- pyo3 = { version = "0.24", features = ["eyre"] }
11
+ pyo3 = { version = "0.25", features = ["eyre"] }
11
12
  rmp-serde = "1.3"
12
13
  serde = "1"
13
14
 
14
15
  [build-dependencies]
15
16
  toml = { version = "0.8", default-features = false, features = ["parse"] }
17
+ pyo3-build-config = { version = "0.25", features = ["resolve-config"] }
16
18
 
17
19
  [lib]
18
20
  # See https://github.com/PyO3/pyo3 for details
@@ -0,0 +1,57 @@
1
+ # The Prosperity Public License 3.0.0
2
+
3
+ Contributor: Matt Bryant, Alistair Dobke
4
+
5
+ Source Code: https://gitlab.com/mbryant/functiontrace (https://functiontrace.com)
6
+
7
+ ## Purpose
8
+
9
+ This license allows you to use and share this software for noncommercial purposes for free and to try this software for commercial purposes for thirty days.
10
+
11
+ ## Agreement
12
+
13
+ In order to receive this license, you have to agree to its rules. Those rules are both obligations under that agreement and conditions to your license. Don't do anything with this software that triggers a rule you can't or won't follow.
14
+
15
+ ## Notices
16
+
17
+ Make sure everyone who gets a copy of any part of this software from you, with or without changes, also gets the text of this license and the contributor and source code lines above.
18
+
19
+ ## Commercial Trial
20
+
21
+ Limit your use of this software for commercial purposes to a thirty-day trial period. If you use this software for work, your company gets one trial period for all personnel, not one trial per person.
22
+
23
+ ## Contributions Back
24
+
25
+ Developing feedback, changes, or additions that you contribute back to the contributor on the terms of a standardized public software license such as [the Blue Oak Model License 1.0.0](https://blueoakcouncil.org/license/1.0.0), [the Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.html), [the MIT license](https://spdx.org/licenses/MIT.html), or [the two-clause BSD license](https://spdx.org/licenses/BSD-2-Clause.html) doesn't count as use for a commercial purpose.
26
+
27
+ ## Personal Uses
28
+
29
+ Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, doesn't count as use for a commercial purpose.
30
+
31
+ ## Noncommercial Organizations
32
+
33
+ Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution doesn't count as use for a commercial purpose regardless of the source of funding or obligations resulting from the funding.
34
+
35
+ ## Defense
36
+
37
+ Don't make any legal claim against anyone accusing this software, with or without changes, alone or with other technology, of infringing any patent.
38
+
39
+ ## Copyright
40
+
41
+ The contributor licenses you to do everything with this software that would otherwise infringe their copyright in it.
42
+
43
+ ## Patent
44
+
45
+ The contributor licenses you to do everything with this software that would otherwise infringe any patents they can license or become able to license.
46
+
47
+ ## Reliability
48
+
49
+ The contributor can't revoke this license.
50
+
51
+ ## Excuse
52
+
53
+ You're excused for unknowingly breaking [Notices](#notices) if you take all practical steps to comply within thirty days of learning you broke the rule.
54
+
55
+ ## No Liability
56
+
57
+ ***As far as the law allows, this software comes as is, without any warranty or condition, and the contributor won't be liable to anyone for any damages related to this software or this license, under any kind of legal claim.***
@@ -1,4 +1,3 @@
1
- graft mpack
2
1
  graft rust
3
2
  include Cargo.toml
4
3
  include build.rs
@@ -1,23 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: functiontrace
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: A profiling tool that traces your application's execution
5
5
  Author: Alistair Dobke
6
6
  Author-email: Matt Bryant <functiontrace@programsareproofs.com>
7
- License: The Prosperity Public License 3.0.0
7
+ License-Expression: LicenseRef-Prosperity-Public-License-3.0.0
8
8
  Project-URL: homepage, https://functiontrace.com
9
9
  Project-URL: repository, https://gitlab.com/mbryant/functiontrace
10
10
  Keywords: profiler,debugger
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Topic :: Software Development :: Debuggers
13
- Classifier: License :: Free for non-commercial use
14
13
  Classifier: Operating System :: Unix
15
14
  Classifier: Environment :: Console
16
15
  Classifier: Programming Language :: Python :: 3
17
16
  Classifier: Programming Language :: Python :: 3 :: Only
18
17
  Classifier: Programming Language :: Python :: Implementation :: CPython
19
- Requires-Python: >=3.8
18
+ Requires-Python: >=3.9
20
19
  Description-Content-Type: text/x-rst
20
+ License-File: LICENSE.md
21
+ Dynamic: license-file
21
22
 
22
23
  Py-Functiontrace
23
24
  ================
@@ -13,5 +13,8 @@ fn main() -> std::io::Result<()> {
13
13
  .expect("version field is present in pyproject.toml");
14
14
  println!("cargo::rustc-env=PACKAGE_VERSION={}", version);
15
15
 
16
+ // Figure out which Python version we're building for
17
+ pyo3_build_config::use_pyo3_cfgs();
18
+
16
19
  Ok(())
17
20
  }
@@ -1,23 +1,24 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: functiontrace
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: A profiling tool that traces your application's execution
5
5
  Author: Alistair Dobke
6
6
  Author-email: Matt Bryant <functiontrace@programsareproofs.com>
7
- License: The Prosperity Public License 3.0.0
7
+ License-Expression: LicenseRef-Prosperity-Public-License-3.0.0
8
8
  Project-URL: homepage, https://functiontrace.com
9
9
  Project-URL: repository, https://gitlab.com/mbryant/functiontrace
10
10
  Keywords: profiler,debugger
11
11
  Classifier: Intended Audience :: Developers
12
12
  Classifier: Topic :: Software Development :: Debuggers
13
- Classifier: License :: Free for non-commercial use
14
13
  Classifier: Operating System :: Unix
15
14
  Classifier: Environment :: Console
16
15
  Classifier: Programming Language :: Python :: 3
17
16
  Classifier: Programming Language :: Python :: 3 :: Only
18
17
  Classifier: Programming Language :: Python :: Implementation :: CPython
19
- Requires-Python: >=3.8
18
+ Requires-Python: >=3.9
20
19
  Description-Content-Type: text/x-rst
20
+ License-File: LICENSE.md
21
+ Dynamic: license-file
21
22
 
22
23
  Py-Functiontrace
23
24
  ================
@@ -1,7 +1,7 @@
1
1
  Cargo.toml
2
+ LICENSE.md
2
3
  MANIFEST.in
3
4
  README.rst
4
- _functiontrace.c
5
5
  build.rs
6
6
  functiontrace.py
7
7
  pyproject.toml
@@ -11,7 +11,4 @@ functiontrace.egg-info/SOURCES.txt
11
11
  functiontrace.egg-info/dependency_links.txt
12
12
  functiontrace.egg-info/entry_points.txt
13
13
  functiontrace.egg-info/top_level.txt
14
- mpack/LICENSE
15
- mpack/mpack.c
16
- mpack/mpack.h
17
14
  rust/lib.rs
@@ -0,0 +1 @@
1
+ functiontrace
@@ -5,7 +5,6 @@ import sys
5
5
  import tempfile
6
6
  from importlib import machinery, util
7
7
 
8
- import _functiontrace # noqa: F401 - this import is load bearing since we need to run code on import
9
8
  import _functiontrace_rs as rust
10
9
 
11
10
  PYTHON_TEMPLATE = """#!/bin/sh
@@ -1,20 +1,21 @@
1
1
  [project]
2
2
  name = "functiontrace"
3
- version = "0.4.2"
3
+ version = "0.4.4"
4
4
  description = "A profiling tool that traces your application's execution"
5
5
  authors = [
6
6
  { name = "Matt Bryant", email = "functiontrace@programsareproofs.com"},
7
7
  { name = "Alistair Dobke" }
8
8
  ]
9
- license = { text = "The Prosperity Public License 3.0.0" }
9
+ license = "LicenseRef-Prosperity-Public-License-3.0.0"
10
+ license-files = ["LICENSE.md"]
10
11
  readme = "README.rst"
11
- # NOTE: Actively tested on Python 3.8 - 3.13 and may plausibly break on greater
12
+ # NOTE: Actively tested on Python 3.9 - 3.13 and may plausibly break on greater
12
13
  # versions due to C extension hacks. However, setting a maximum version causes
13
14
  # new Python versions to simply install very old versions of Functiontrace that
14
15
  # didn't have the `requires-python` annotation on them and are also unlikely to
15
16
  # work. Best to only set the minimum and let bug reports notify us of issues
16
17
  # with new Python releases.
17
- requires-python = ">=3.8"
18
+ requires-python = ">=3.9"
18
19
  keywords = [
19
20
  "profiler",
20
21
  "debugger"
@@ -22,7 +23,6 @@ keywords = [
22
23
  classifiers = [
23
24
  "Intended Audience :: Developers",
24
25
  "Topic :: Software Development :: Debuggers",
25
- "License :: Free for non-commercial use",
26
26
  "Operating System :: Unix",
27
27
  "Environment :: Console",
28
28
  "Programming Language :: Python :: 3",