mirror of
https://github.com/theonedev/onedev.git
synced 2025-12-10 00:07:37 -06:00
fix: Validation error when update board spec via project settings api (OD-2610)
This commit is contained in:
parent
9fdbf390b3
commit
e2150b12fd
4
.gitignore
vendored
4
.gitignore
vendored
@ -1,7 +1,7 @@
|
||||
server-product/docker/build/
|
||||
server-product/docker/onedev-*/
|
||||
**/target/
|
||||
**/bin/
|
||||
target/
|
||||
bin/
|
||||
**/.classpath
|
||||
**/.gitignore
|
||||
**/.settings
|
||||
|
||||
@ -14,11 +14,11 @@ import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.jspecify.annotations.Nullable;
|
||||
import javax.inject.Inject;
|
||||
import javax.inject.Singleton;
|
||||
import javax.persistence.Id;
|
||||
import javax.validation.Valid;
|
||||
import javax.validation.Validator;
|
||||
import javax.validation.constraints.NotEmpty;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import javax.ws.rs.Consumes;
|
||||
@ -37,6 +37,7 @@ import javax.ws.rs.core.Response;
|
||||
import org.apache.shiro.authz.UnauthorizedException;
|
||||
import org.apache.shiro.subject.Subject;
|
||||
import org.hibernate.criterion.Restrictions;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
@ -81,26 +82,24 @@ import io.onedev.server.xodus.CommitInfoService;
|
||||
@Singleton
|
||||
public class ProjectResource {
|
||||
|
||||
private final ProjectService projectService;
|
||||
|
||||
private final IterationService iterationService;
|
||||
|
||||
private final CommitInfoService commitInfoService;
|
||||
|
||||
private final UrlService urlService;
|
||||
|
||||
private final AuditService auditService;
|
||||
@Inject
|
||||
private ProjectService projectService;
|
||||
|
||||
@Inject
|
||||
public ProjectResource(ProjectService projectService, IterationService iterationService,
|
||||
CommitInfoService commitInfoService, UrlService urlService, AuditService auditService) {
|
||||
this.projectService = projectService;
|
||||
this.iterationService = iterationService;
|
||||
this.commitInfoService = commitInfoService;
|
||||
this.urlService = urlService;
|
||||
this.auditService = auditService;
|
||||
}
|
||||
private IterationService iterationService;
|
||||
|
||||
@Inject
|
||||
private CommitInfoService commitInfoService;
|
||||
|
||||
@Inject
|
||||
private UrlService urlService;
|
||||
|
||||
@Inject
|
||||
private AuditService auditService;
|
||||
|
||||
@Inject
|
||||
private Validator validator;
|
||||
|
||||
@Api(order=100)
|
||||
@Path("/{projectId}")
|
||||
@GET
|
||||
@ -360,7 +359,15 @@ public class ProjectResource {
|
||||
@Api(order=900, description="Update project settings")
|
||||
@Path("/{projectId}/setting")
|
||||
@POST
|
||||
public Response updateSetting(@PathParam("projectId") Long projectId, @NotNull @Valid ProjectSetting setting) {
|
||||
public Response updateSetting(@PathParam("projectId") Long projectId, @NotNull ProjectSetting setting) {
|
||||
for (var boardSpec: setting.getIssueSetting().getBoardSpecs())
|
||||
boardSpec.populateEditColumns();
|
||||
var violations = validator.validate(setting);
|
||||
if (!violations.isEmpty()) {
|
||||
var violation = violations.iterator().next();
|
||||
throw new ExplicitException(violation.getPropertyPath() + ": " + violation.getMessage());
|
||||
}
|
||||
|
||||
Project project = projectService.load(projectId);
|
||||
if (!SecurityUtils.canManageProject(project))
|
||||
throw new UnauthorizedException();
|
||||
|
||||
@ -1,56 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-archetype</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<build>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
<includes>
|
||||
<include>archetype-resources/pom.xml</include>
|
||||
</includes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>false</filtering>
|
||||
<excludes>
|
||||
<exclude>archetype-resources/pom.xml</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
</resources>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<version>2.5</version>
|
||||
<configuration>
|
||||
<escapeString>\</escapeString>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-archetype-plugin</artifactId>
|
||||
<version>3.1.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>install-archetype</id>
|
||||
<phase>install</phase>
|
||||
<goals>
|
||||
<goal>update-local-catalog</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<archetype-descriptor name="server-plugin-archetype">
|
||||
<fileSets>
|
||||
<fileSet filtered="true" packaged="true">
|
||||
<directory>src/main/java</directory>
|
||||
</fileSet>
|
||||
<fileSet filtered="false" packaged="false">
|
||||
<directory>src/main/resources</directory>
|
||||
</fileSet>
|
||||
<fileSet filtered="false" packaged="false">
|
||||
<directory>src/test/java</directory>
|
||||
</fileSet>
|
||||
<fileSet filtered="false" packaged="false">
|
||||
<directory>src/test/resources</directory>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</archetype-descriptor>
|
||||
@ -1,144 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
#if (\${groupId} == "io.onedev")
|
||||
<artifactId>\${artifactId}</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>\${package}.PluginModule</moduleClass>
|
||||
</properties>
|
||||
#else
|
||||
<groupId>\${groupId}</groupId>
|
||||
<artifactId>\${artifactId}</artifactId>
|
||||
<version>\${version}</version>
|
||||
<build>
|
||||
<finalName>\${project.groupId}.\${project.artifactId}-\${project.version}</finalName>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.6.0</version>
|
||||
<configuration>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>plugin-maven</artifactId>
|
||||
<version>2.7.0</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<?m2e execute onConfiguration,onIncremental?>
|
||||
<id>generate-resources</id>
|
||||
<phase>generate-sources</phase>
|
||||
<goals>
|
||||
<goal>generate-resources</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>package-artifacts</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>package-artifacts</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<version>3.0.2</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>default-jar</id>
|
||||
<phase>none</phase>
|
||||
<configuration>
|
||||
<finalName>unwanted</finalName>
|
||||
<classifier>unwanted</classifier>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
<resources>
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<excludes>
|
||||
<exclude>**/*.java</exclude>
|
||||
</excludes>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>src/main/resources</directory>
|
||||
<filtering>true</filtering>
|
||||
</resource>
|
||||
<resource>
|
||||
<directory>target/generated-resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-product</artifactId>
|
||||
<version>\${onedev.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>onedev</id>
|
||||
<url>https://code.onedev.io/onedev/~maven</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
<checksumPolicy>fail</checksumPolicy>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>always</updatePolicy>
|
||||
<checksumPolicy>fail</checksumPolicy>
|
||||
</snapshots>
|
||||
</repository>
|
||||
</repositories>
|
||||
<pluginRepositories>
|
||||
<pluginRepository>
|
||||
<id>onedev</id>
|
||||
<url>https://code.onedev.io/onedev/~maven</url>
|
||||
<releases>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
<checksumPolicy>fail</checksumPolicy>
|
||||
</releases>
|
||||
<snapshots>
|
||||
<enabled>true</enabled>
|
||||
<updatePolicy>never</updatePolicy>
|
||||
<checksumPolicy>fail</checksumPolicy>
|
||||
</snapshots>
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<onedev.version>${project.version}</onedev.version>
|
||||
<moduleClass>\${package}.PluginModule</moduleClass>
|
||||
</properties>
|
||||
#end
|
||||
</project>
|
||||
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-authenticator-ldap</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.authenticator.ldap.LdapModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-bazel</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.bazel.BazelModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,25 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-cmake</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-cobertura</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-cppcheck</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.cmake.CmakeModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,30 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-dotnet</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-roslynator</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-cobertura</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-trx</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.dotnet.DotnetModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,30 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-golang</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-cobertura</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-junit</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-checkstyle</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.golang.GolangModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-maven</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-junit</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.maven.MavenModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,5 +0,0 @@
|
||||
FROM node:10.16.1-alpine
|
||||
|
||||
RUN apk add chromium
|
||||
ENV CHROME_BIN /usr/bin/chromium-browser
|
||||
ENV CHROMIUM_USER_FLAGS --no-sandbox
|
||||
@ -1,14 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-node</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.node.NodePluginModule</moduleClass>
|
||||
</properties>
|
||||
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,30 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-python</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-junit</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-cobertura</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-ruff</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.python.PythonModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,175 +0,0 @@
|
||||
[tool.poetry]
|
||||
name = "copier"
|
||||
# This version is a placeholder autoupdated by poetry-dynamic-versioning
|
||||
version = "0.0.0"
|
||||
description = "A library for rendering project templates."
|
||||
license = "MIT"
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
authors = ["Ben Felder <ben@felder.io>"]
|
||||
homepage = "https://github.com/copier-org/copier"
|
||||
repository = "https://github.com/copier-org/copier"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
copier = "copier.__main__:copier_app_run"
|
||||
|
||||
[tool.poetry.urls]
|
||||
"Bug Tracker" = "https://github.com/copier-org/copier/issues"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8"
|
||||
colorama = ">=0.4.6"
|
||||
dunamai = ">=1.7.0"
|
||||
funcy = ">=1.17"
|
||||
jinja2 = ">=3.1.4"
|
||||
jinja2-ansible-filters = ">=1.3.1"
|
||||
packaging = ">=23.0"
|
||||
pathspec = ">=0.9.0"
|
||||
plumbum = ">=1.6.9"
|
||||
pydantic = ">=2.4.2"
|
||||
pygments = ">=2.7.1"
|
||||
pyyaml = ">=5.3.1"
|
||||
questionary = ">=1.8.1"
|
||||
typing-extensions = { version = ">=3.7.4,<5.0.0", python = "<3.9" }
|
||||
eval-type-backport = { version = ">=0.1.3,<0.3.0", python = "<3.10" }
|
||||
|
||||
[tool.poetry.group.dev]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
mypy = ">=0.931"
|
||||
pexpect = ">=4.8.0"
|
||||
poethepoet = ">=0.12.3"
|
||||
pre-commit = ">=2.17.0"
|
||||
pytest = ">=7.2.0"
|
||||
pytest-cov = ">=3.0.0"
|
||||
pytest-gitconfig = ">=0.6.0"
|
||||
pytest-xdist = ">=2.5.0"
|
||||
types-backports = ">=0.1.3"
|
||||
types-colorama = ">=0.4"
|
||||
types-psutil = "*"
|
||||
types-pygments = ">=2.17"
|
||||
types-pyyaml = ">=6.0.4"
|
||||
|
||||
[tool.poetry.group.docs]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.docs.dependencies]
|
||||
markdown-exec = ">=1.3.0"
|
||||
mkdocs-material = ">=8.2,<10.0.0"
|
||||
mkdocstrings = { version = ">=0.19.0", extras = ["python"] }
|
||||
|
||||
[tool.poetry.group.build]
|
||||
# Helper group just for helping nix to build properly
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.build.dependencies]
|
||||
poetry-dynamic-versioning = { version = ">=1.1.0", markers = "python_version < '4'" }
|
||||
|
||||
[tool.poe.tasks.coverage]
|
||||
cmd = "pytest --cov-report html --cov copier copier tests"
|
||||
help = "generate an HTML report of the coverage"
|
||||
|
||||
[tool.poe.tasks.dev-setup]
|
||||
script = "devtasks:dev_setup"
|
||||
help = "set up local development environment"
|
||||
|
||||
[tool.poe.tasks.docs]
|
||||
cmd = "mkdocs serve"
|
||||
help = "start local docs server"
|
||||
|
||||
[tool.poe.tasks.lint]
|
||||
script = "devtasks:lint"
|
||||
help = "check (and auto-fix) style with pre-commit"
|
||||
|
||||
[tool.poe.tasks.test]
|
||||
cmd = "pytest --color=yes"
|
||||
help = "run tests"
|
||||
|
||||
[tool.poe.tasks.types]
|
||||
cmd = "mypy ."
|
||||
help = "run the type (mypy) checker on the codebase"
|
||||
|
||||
[tool.poetry-dynamic-versioning]
|
||||
enable = true
|
||||
style = "pep440"
|
||||
vcs = "git"
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = [
|
||||
"ARG",
|
||||
"B",
|
||||
"C90",
|
||||
"D",
|
||||
"E",
|
||||
"F",
|
||||
"FA",
|
||||
"I",
|
||||
"PERF",
|
||||
"PGH",
|
||||
"UP",
|
||||
]
|
||||
extend-ignore = ['B028', "B904", "D105", "D107", "E501"]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/**" = ["D"]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
combine-as-imports = true
|
||||
known-first-party = ["copier"]
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
plugins = ["pydantic.mypy"]
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"coverage.tracer",
|
||||
"funcy",
|
||||
"pexpect.*",
|
||||
"plumbum.*",
|
||||
"poethepoet.app",
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"copier.subproject",
|
||||
"copier.template",
|
||||
"copier.tools",
|
||||
"copier.user_data",
|
||||
"copier.vcs",
|
||||
]
|
||||
warn_return_any = false
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = ["tests.test_cli", "tests.test_prompt"]
|
||||
disable_error_code = ["no-untyped-def"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
addopts = "-n auto -ra"
|
||||
markers = ["impure: needs network or is not 100% reproducible"]
|
||||
|
||||
[tool.commitizen]
|
||||
annotated_tag = true
|
||||
changelog_incremental = true
|
||||
tag_format = "v$version"
|
||||
update_changelog_on_bump = true
|
||||
version = "9.3.1"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.7.0", "poetry-dynamic-versioning>=1.1.0"]
|
||||
build-backend = "poetry_dynamic_versioning.backend"
|
||||
@ -1,159 +0,0 @@
|
||||
[tool.poetry]
|
||||
name = "copier"
|
||||
# This version is a placeholder autoupdated by poetry-dynamic-versioning
|
||||
version = "0.0.0"
|
||||
description = "A library for rendering project templates."
|
||||
license = "MIT"
|
||||
classifiers = [
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
]
|
||||
authors = ["Ben Felder <ben@felder.io>"]
|
||||
homepage = "https://github.com/copier-org/copier"
|
||||
repository = "https://github.com/copier-org/copier"
|
||||
readme = "README.md"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
copier = "copier.__main__:copier_app_run"
|
||||
|
||||
[tool.poetry.urls]
|
||||
"Bug Tracker" = "https://github.com/copier-org/copier/issues"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = ">=3.8"
|
||||
colorama = ">=0.4.6"
|
||||
dunamai = ">=1.7.0"
|
||||
funcy = ">=1.17"
|
||||
jinja2 = ">=3.1.4"
|
||||
jinja2-ansible-filters = ">=1.3.1"
|
||||
packaging = ">=23.0"
|
||||
pathspec = ">=0.9.0"
|
||||
plumbum = ">=1.6.9"
|
||||
pydantic = ">=2.4.2"
|
||||
pygments = ">=2.7.1"
|
||||
pyyaml = ">=5.3.1"
|
||||
questionary = ">=1.8.1"
|
||||
typing-extensions = { version = ">=3.7.4,<5.0.0", python = "<3.9" }
|
||||
eval-type-backport = { version = ">=0.1.3,<0.3.0", python = "<3.10" }
|
||||
|
||||
[tool.poetry.group.dev]
|
||||
optional = false
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
mypy = ">=0.931"
|
||||
pexpect = ">=4.8.0"
|
||||
poethepoet = ">=0.12.3"
|
||||
pre-commit = ">=2.17.0"
|
||||
types-backports = ">=0.1.3"
|
||||
types-colorama = ">=0.4"
|
||||
types-psutil = "*"
|
||||
types-pygments = ">=2.17"
|
||||
types-pyyaml = ">=6.0.4"
|
||||
|
||||
[tool.poetry.group.docs]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.docs.dependencies]
|
||||
markdown-exec = ">=1.3.0"
|
||||
mkdocs-material = ">=8.2,<10.0.0"
|
||||
mkdocstrings = { version = ">=0.19.0", extras = ["python"] }
|
||||
|
||||
[tool.poetry.group.build]
|
||||
# Helper group just for helping nix to build properly
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.build.dependencies]
|
||||
poetry-dynamic-versioning = { version = ">=1.1.0", markers = "python_version < '4'" }
|
||||
|
||||
[tool.poe.tasks.dev-setup]
|
||||
script = "devtasks:dev_setup"
|
||||
help = "set up local development environment"
|
||||
|
||||
[tool.poe.tasks.docs]
|
||||
cmd = "mkdocs serve"
|
||||
help = "start local docs server"
|
||||
|
||||
[tool.poe.tasks.lint]
|
||||
script = "devtasks:lint"
|
||||
help = "check (and auto-fix) style with pre-commit"
|
||||
|
||||
[tool.poe.tasks.types]
|
||||
cmd = "mypy ."
|
||||
help = "run the type (mypy) checker on the codebase"
|
||||
|
||||
[tool.poetry-dynamic-versioning]
|
||||
enable = true
|
||||
style = "pep440"
|
||||
vcs = "git"
|
||||
|
||||
[tool.ruff.lint]
|
||||
extend-select = [
|
||||
"ARG",
|
||||
"B",
|
||||
"C90",
|
||||
"D",
|
||||
"E",
|
||||
"F",
|
||||
"FA",
|
||||
"I",
|
||||
"PERF",
|
||||
"PGH",
|
||||
"UP",
|
||||
]
|
||||
extend-ignore = ['B028', "B904", "D105", "D107", "E501"]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
"tests/**" = ["D"]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
combine-as-imports = true
|
||||
known-first-party = ["copier"]
|
||||
|
||||
[tool.ruff.lint.pydocstyle]
|
||||
convention = "google"
|
||||
|
||||
[tool.mypy]
|
||||
strict = true
|
||||
plugins = ["pydantic.mypy"]
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"coverage.tracer",
|
||||
"funcy",
|
||||
"pexpect.*",
|
||||
"plumbum.*",
|
||||
"poethepoet.app",
|
||||
]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = [
|
||||
"copier.subproject",
|
||||
"copier.template",
|
||||
"copier.tools",
|
||||
"copier.user_data",
|
||||
"copier.vcs",
|
||||
]
|
||||
warn_return_any = false
|
||||
|
||||
[[tool.mypy.overrides]]
|
||||
module = ["tests.test_cli", "tests.test_prompt"]
|
||||
disable_error_code = ["no-untyped-def"]
|
||||
|
||||
[tool.commitizen]
|
||||
annotated_tag = true
|
||||
changelog_incremental = true
|
||||
tag_format = "v$version"
|
||||
update_changelog_on_bump = true
|
||||
version = "9.3.1"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core>=1.7.0", "poetry-dynamic-versioning>=1.1.0"]
|
||||
build-backend = "poetry_dynamic_versioning.backend"
|
||||
@ -1,201 +0,0 @@
|
||||
[build-system]
|
||||
# Minimum requirements for the build system to execute.
|
||||
# See https://github.com/scipy/scipy/pull/12940 for the AIX issue.
|
||||
requires = [
|
||||
"meson-python==0.13.1",
|
||||
"meson==1.2.1",
|
||||
"wheel",
|
||||
"Cython~=3.0.5", # Note: sync with setup.py, environment.yml and asv.conf.json
|
||||
# Force numpy higher than 2.0rc1, so that built wheels are compatible
|
||||
# with both numpy 1 and 2
|
||||
"numpy>=2.0.0rc1",
|
||||
"versioneer[toml]"
|
||||
]
|
||||
|
||||
build-backend = "mesonpy"
|
||||
|
||||
[project]
|
||||
name = 'pandas'
|
||||
dynamic = [
|
||||
'version'
|
||||
]
|
||||
description = 'Powerful data structures for data analysis, time series, and statistics'
|
||||
readme = 'README.md'
|
||||
authors = [
|
||||
{ name = 'The Pandas Development Team', email='pandas-dev@python.org' },
|
||||
]
|
||||
license = {file = 'LICENSE'}
|
||||
requires-python = '>=3.10'
|
||||
dependencies = [
|
||||
"numpy>=1.23.5; python_version<'3.12'",
|
||||
"numpy>=1.26.0; python_version>='3.12'",
|
||||
"python-dateutil>=2.8.2",
|
||||
"tzdata>=2022.7"
|
||||
]
|
||||
classifiers = [
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: Console',
|
||||
'Intended Audience :: Science/Research',
|
||||
'License :: OSI Approved :: BSD License',
|
||||
'Operating System :: OS Independent',
|
||||
'Programming Language :: Cython',
|
||||
'Programming Language :: Python',
|
||||
'Programming Language :: Python :: 3',
|
||||
'Programming Language :: Python :: 3 :: Only',
|
||||
'Programming Language :: Python :: 3.10',
|
||||
'Programming Language :: Python :: 3.11',
|
||||
'Programming Language :: Python :: 3.12',
|
||||
'Topic :: Scientific/Engineering'
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
homepage = 'https://pandas.pydata.org'
|
||||
documentation = 'https://pandas.pydata.org/docs/'
|
||||
repository = 'https://github.com/pandas-dev/pandas'
|
||||
|
||||
[project.entry-points."pandas_plotting_backends"]
|
||||
matplotlib = "pandas:plotting._matplotlib"
|
||||
|
||||
[project.optional-dependencies]
|
||||
test = ['hypothesis>=6.84.0', 'pytest>=7.3.2', 'pytest-xdist>=3.4.0']
|
||||
pyarrow = ['pyarrow>=10.0.1']
|
||||
performance = ['bottleneck>=1.3.6', 'numba>=0.56.4', 'numexpr>=2.8.4']
|
||||
computation = ['scipy>=1.10.0', 'xarray>=2022.12.0']
|
||||
fss = ['fsspec>=2022.11.0']
|
||||
aws = ['s3fs>=2022.11.0']
|
||||
gcp = ['gcsfs>=2022.11.0']
|
||||
excel = ['odfpy>=1.4.1', 'openpyxl>=3.1.0', 'python-calamine>=0.1.7', 'pyxlsb>=1.0.10', 'xlrd>=2.0.1', 'xlsxwriter>=3.0.5']
|
||||
parquet = ['pyarrow>=10.0.1']
|
||||
feather = ['pyarrow>=10.0.1']
|
||||
hdf5 = [# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297)
|
||||
#'blosc>=1.20.1',
|
||||
'tables>=3.8.0']
|
||||
spss = ['pyreadstat>=1.2.0']
|
||||
postgresql = ['SQLAlchemy>=2.0.0', 'psycopg2>=2.9.6', 'adbc-driver-postgresql>=0.10.0']
|
||||
mysql = ['SQLAlchemy>=2.0.0', 'pymysql>=1.0.2']
|
||||
sql-other = ['SQLAlchemy>=2.0.0', 'adbc-driver-postgresql>=0.10.0', 'adbc-driver-sqlite>=0.8.0']
|
||||
html = ['beautifulsoup4>=4.11.2', 'html5lib>=1.1', 'lxml>=4.9.2']
|
||||
xml = ['lxml>=4.9.2']
|
||||
plot = ['matplotlib>=3.6.3']
|
||||
output-formatting = ['jinja2>=3.1.2', 'tabulate>=0.9.0']
|
||||
clipboard = ['PyQt5>=5.15.9', 'qtpy>=2.3.0']
|
||||
compression = ['zstandard>=0.19.0']
|
||||
timezone = ['pytz>=2023.4']
|
||||
all = ['adbc-driver-postgresql>=0.10.0',
|
||||
'adbc-driver-sqlite>=0.8.0',
|
||||
'beautifulsoup4>=4.11.2',
|
||||
# blosc only available on conda (https://github.com/Blosc/python-blosc/issues/297)
|
||||
#'blosc>=1.21.3',
|
||||
'bottleneck>=1.3.6',
|
||||
'fastparquet>=2023.10.0',
|
||||
'fsspec>=2022.11.0',
|
||||
'gcsfs>=2022.11.0',
|
||||
'html5lib>=1.1',
|
||||
'hypothesis>=6.84.0',
|
||||
'jinja2>=3.1.2',
|
||||
'lxml>=4.9.2',
|
||||
'matplotlib>=3.6.3',
|
||||
'numba>=0.56.4',
|
||||
'numexpr>=2.8.4',
|
||||
'odfpy>=1.4.1',
|
||||
'openpyxl>=3.1.0',
|
||||
'psycopg2>=2.9.6',
|
||||
'pyarrow>=10.0.1',
|
||||
'pymysql>=1.0.2',
|
||||
'PyQt5>=5.15.9',
|
||||
'pyreadstat>=1.2.0',
|
||||
'pytest>=7.3.2',
|
||||
'pytest-xdist>=3.4.0',
|
||||
'python-calamine>=0.1.7',
|
||||
'pytz>=2023.4',
|
||||
'pyxlsb>=1.0.10',
|
||||
'qtpy>=2.3.0',
|
||||
'scipy>=1.10.0',
|
||||
's3fs>=2022.11.0',
|
||||
'SQLAlchemy>=2.0.0',
|
||||
'tables>=3.8.0',
|
||||
'tabulate>=0.9.0',
|
||||
'xarray>=2022.12.0',
|
||||
'xlrd>=2.0.1',
|
||||
'xlsxwriter>=3.0.5',
|
||||
'zstandard>=0.19.0']
|
||||
|
||||
# TODO: Remove after setuptools support is dropped.
|
||||
[tool.setuptools]
|
||||
include-package-data = true
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["pandas", "pandas.*"]
|
||||
namespaces = false
|
||||
|
||||
[tool.setuptools.exclude-package-data]
|
||||
"*" = ["*.c", "*.h"]
|
||||
|
||||
# See the docstring in versioneer.py for instructions. Note that you must
|
||||
# re-run 'versioneer.py setup' after changing this section, and commit the
|
||||
# resulting files.
|
||||
[tool.versioneer]
|
||||
VCS = "git"
|
||||
style = "pep440"
|
||||
versionfile_source = "pandas/_version.py"
|
||||
versionfile_build = "pandas/_version.py"
|
||||
tag_prefix = "v"
|
||||
parentdir_prefix = "pandas-"
|
||||
|
||||
[tool.meson-python.args]
|
||||
setup = ['--vsenv'] # For Windows
|
||||
|
||||
[tool.cibuildwheel]
|
||||
skip = "cp36-* cp37-* cp38-* cp39-* pp* *_i686 *_ppc64le *_s390x"
|
||||
build-verbosity = "3"
|
||||
environment = {LDFLAGS="-Wl,--strip-all"}
|
||||
test-requires = "hypothesis>=6.84.0 pytest>=7.3.2 pytest-xdist>=3.4.0"
|
||||
test-command = """
|
||||
PANDAS_CI='1' python -c 'import pandas as pd; \
|
||||
pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db", "-n 2", "--no-strict-data-files"]); \
|
||||
pd.test(extra_args=["-m not clipboard and single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
|
||||
"""
|
||||
free-threaded-support = true
|
||||
before-build = "bash {package}/scripts/cibw_before_build.sh"
|
||||
before-test = "bash {package}/scripts/cibw_before_test.sh"
|
||||
|
||||
[tool.cibuildwheel.windows]
|
||||
before-build = "pip install delvewheel && bash {package}/scripts/cibw_before_build.sh"
|
||||
repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}"
|
||||
|
||||
[[tool.cibuildwheel.overrides]]
|
||||
select = "*-musllinux*"
|
||||
before-test = "apk update && apk add musl-locales && bash {package}/scripts/cibw_before_test.sh"
|
||||
|
||||
[[tool.cibuildwheel.overrides]]
|
||||
select = "*-win*"
|
||||
# We test separately for Windows, since we use
|
||||
# the windowsservercore docker image to check if any dlls are
|
||||
# missing from the wheel
|
||||
test-command = ""
|
||||
|
||||
[[tool.cibuildwheel.overrides]]
|
||||
# Don't strip wheels on macOS.
|
||||
# macOS doesn't support stripping wheels with linker
|
||||
# https://github.com/MacPython/numpy-wheels/pull/87#issuecomment-624878264
|
||||
select = "*-macosx*"
|
||||
environment = {CFLAGS="-g0"}
|
||||
|
||||
[[tool.cibuildwheel.overrides]]
|
||||
select = "*pyodide*"
|
||||
test-requires = "pytest>=7.3.2 hypothesis>=6.84.0"
|
||||
# Pyodide repairs wheels on its own, using auditwheel-emscripten
|
||||
repair-wheel-command = ""
|
||||
test-command = """
|
||||
PANDAS_CI='1' python -c 'import pandas as pd; \
|
||||
pd.test(extra_args=["-m not clipboard and not single_cpu and not slow and not network and not db", "--no-strict-data-files"]);' \
|
||||
"""
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 88
|
||||
target-version = "py310"
|
||||
fix = true
|
||||
|
||||
[tool.ruff.lint]
|
||||
unfixable = []
|
||||
typing-modules = ["pandas._typing"]
|
||||
@ -1,72 +0,0 @@
|
||||
[kivy]
|
||||
cython_min=0.29.1
|
||||
cython_max=3.0.0
|
||||
cython_exclude=
|
||||
python_versions=3.8 - 3.12
|
||||
|
||||
[coverage:run]
|
||||
parallel = True
|
||||
branch = True
|
||||
omit =
|
||||
*/pyinstaller/*_widget/*
|
||||
plugins =
|
||||
kivy.tools.coverage
|
||||
concurrency = thread, multiprocessing
|
||||
|
||||
[options]
|
||||
python_requires = >=3.8
|
||||
install_requires =
|
||||
Kivy-Garden>=0.1.4
|
||||
docutils
|
||||
pygments
|
||||
requests
|
||||
filetype
|
||||
kivy_deps.angle~=0.4.0; sys_platform == "win32"
|
||||
kivy_deps.sdl2~=0.7.0; sys_platform == "win32"
|
||||
kivy_deps.glew~=0.3.1; sys_platform == "win32"
|
||||
pypiwin32; sys_platform == "win32"
|
||||
dependency_links = https://github.com/kivy-garden/garden/archive/master.zip
|
||||
|
||||
[options.extras_require]
|
||||
tuio = oscpy
|
||||
dev =
|
||||
pytest>=3.6
|
||||
pytest-cov
|
||||
pytest_asyncio!=0.11.0
|
||||
pytest-timeout
|
||||
pytest-benchmark
|
||||
pyinstaller
|
||||
sphinx~=6.2.1
|
||||
sphinxcontrib-jquery~=4.1
|
||||
kivy_deps.gstreamer_dev~=0.3.3; sys_platform == "win32"
|
||||
kivy_deps.sdl2_dev~=0.7.0; sys_platform == "win32"
|
||||
kivy_deps.glew_dev~=0.3.1; sys_platform == "win32"
|
||||
flake8
|
||||
pre-commit
|
||||
responses
|
||||
base =
|
||||
pillow>=9.5.0,<11
|
||||
media =
|
||||
kivy_deps.gstreamer~=0.3.3; sys_platform == "win32"
|
||||
ffpyplayer; sys_platform == "linux" or sys_platform == "darwin"
|
||||
full =
|
||||
pillow>=9.5.0,<11
|
||||
kivy_deps.gstreamer~=0.3.3; sys_platform == "win32"
|
||||
ffpyplayer; sys_platform == "linux" or sys_platform == "darwin"
|
||||
gstreamer =
|
||||
kivy_deps.gstreamer~=0.3.3; sys_platform == "win32"
|
||||
# don't use 0.4.0 because it was deleted
|
||||
angle =
|
||||
kivy_deps.angle~=0.4.0; sys_platform == "win32"
|
||||
sdl2 =
|
||||
kivy_deps.sdl2~=0.7.0; sys_platform == "win32"
|
||||
glew =
|
||||
kivy_deps.glew~=0.3.1; sys_platform == "win32"
|
||||
|
||||
[flake8]
|
||||
ignore = E125,E126,E127,E128,E402,E741,E731,W503,F401,W504,F841,E722
|
||||
max-line-length = 80
|
||||
exclude = __pycache__,.tox,.git/,doc/,build/,.eggs/,venv/
|
||||
statistics = true
|
||||
show-source = true
|
||||
count = true
|
||||
@ -1,62 +0,0 @@
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme:
|
||||
README = readme.read()
|
||||
|
||||
# allow setup.py to be run from any path
|
||||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
|
||||
|
||||
setup(
|
||||
name="wooey",
|
||||
version="0.13.3",
|
||||
packages=find_packages(),
|
||||
scripts=["scripts/wooify"],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"wooify = wooey.backend.command_line:bootstrap",
|
||||
]
|
||||
},
|
||||
python_requires=">3.5.0",
|
||||
install_requires=[
|
||||
"celery>=4,<6",
|
||||
"clinto>=0.5.1",
|
||||
"Django>=3,<5",
|
||||
"django-autoslug",
|
||||
"django-storages",
|
||||
'eventlet>=0.22.1 ;platform_system=="Windows"',
|
||||
'importlib-metadata<5.0 ;python_version<="3.7"',
|
||||
'pypiwin32 ;(platform_system=="Windows" and python_version>"3.4")',
|
||||
],
|
||||
extras_require={
|
||||
"dev": [
|
||||
"boto3",
|
||||
"coverage",
|
||||
"factory-boy < 3.0.0",
|
||||
"mock",
|
||||
"pytest",
|
||||
"pytest-cov",
|
||||
"sphinx",
|
||||
"watchdog[watchmedo]",
|
||||
]
|
||||
},
|
||||
include_package_data=True,
|
||||
description="A Django app which creates a web GUI and task interface for argparse scripts",
|
||||
url="http://www.github.com/wooey/wooey",
|
||||
author="Chris Mitchell <chris.mit7@gmail.com>, Martin Fitzpatrick <martin.fitzpatrick@gmail.com>",
|
||||
classifiers=[
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Django",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: BSD License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
||||
],
|
||||
)
|
||||
@ -1,51 +0,0 @@
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme:
|
||||
README = readme.read()
|
||||
|
||||
# allow setup.py to be run from any path
|
||||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
|
||||
|
||||
setup(
|
||||
name="wooey",
|
||||
version="0.13.3",
|
||||
packages=find_packages(),
|
||||
scripts=["scripts/wooify"],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"wooify = wooey.backend.command_line:bootstrap",
|
||||
]
|
||||
},
|
||||
python_requires=">3.5.0",
|
||||
install_requires=[
|
||||
"celery>=4,<6",
|
||||
"clinto>=0.5.1",
|
||||
"Django>=3,<5",
|
||||
"django-autoslug",
|
||||
"django-storages",
|
||||
'eventlet>=0.22.1 ;platform_system=="Windows"',
|
||||
'importlib-metadata<5.0 ;python_version<="3.7"',
|
||||
'pypiwin32 ;(platform_system=="Windows" and python_version>"3.4")',
|
||||
],
|
||||
EXTRAS_REQUIRE = {'distributed': distributed_env, 'test-win': win_testenv, 'test': linux_testenv, 'docs': docs_testenv, },
|
||||
include_package_data=True,
|
||||
description="A Django app which creates a web GUI and task interface for argparse scripts",
|
||||
url="http://www.github.com/wooey/wooey",
|
||||
author="Chris Mitchell <chris.mit7@gmail.com>, Martin Fitzpatrick <martin.fitzpatrick@gmail.com>",
|
||||
classifiers=[
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Django",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: BSD License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
||||
],
|
||||
)
|
||||
@ -1,50 +0,0 @@
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme:
|
||||
README = readme.read()
|
||||
|
||||
# allow setup.py to be run from any path
|
||||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
|
||||
|
||||
setup(
|
||||
name="wooey",
|
||||
version="0.13.3",
|
||||
packages=find_packages(),
|
||||
scripts=["scripts/wooify"],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
"wooify = wooey.backend.command_line:bootstrap",
|
||||
]
|
||||
},
|
||||
python_requires=">3.5.0",
|
||||
install_requires=[
|
||||
"celery>=4,<6",
|
||||
"clinto>=0.5.1",
|
||||
"Django>=3,<5",
|
||||
"django-autoslug",
|
||||
"django-storages",
|
||||
'eventlet>=0.22.1 ;platform_system=="Windows"',
|
||||
'importlib-metadata<5.0 ;python_version<="3.7"',
|
||||
'pypiwin32 ;(platform_system=="Windows" and python_version>"3.4")',
|
||||
],
|
||||
include_package_data=True,
|
||||
description="A Django app which creates a web GUI and task interface for argparse scripts",
|
||||
url="http://www.github.com/wooey/wooey",
|
||||
author="Chris Mitchell <chris.mit7@gmail.com>, Martin Fitzpatrick <martin.fitzpatrick@gmail.com>",
|
||||
classifiers=[
|
||||
"Environment :: Web Environment",
|
||||
"Framework :: Django",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: BSD License",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.7",
|
||||
"Programming Language :: Python :: 3.8",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
||||
],
|
||||
)
|
||||
@ -1,30 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-buildspec-rust</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-junit</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-cobertura</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-report-clippy</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.buildspec.rust.RustModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,25 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-executor-remotedocker</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-executor-serverdocker</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-executor-kubernetes</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.executor.remotedocker.RemoteDockerModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-executor-remoteshell</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin-executor-servershell</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.executor.remoteshell.RemoteShellModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-executor-serverdocker</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.executor.serverdocker.ServerDockerModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-executor-servershell</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.executor.servershell.ServerShellModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-import-bitbucketcloud</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.imports.bitbucketcloud.BitbucketModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-import-gitea</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.imports.gitea.GiteaModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-import-gitlab</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.imports.gitlab.GitLabModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-import-jiracloud</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.imports.jiracloud.JiraModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-import-url</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.imports.url.UrlModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>server-plugin-import-youtrack</artifactId>
|
||||
<parent>
|
||||
<groupId>io.onedev</groupId>
|
||||
<artifactId>server-plugin</artifactId>
|
||||
<version>13.0.7</version>
|
||||
</parent>
|
||||
<properties>
|
||||
<moduleClass>io.onedev.server.plugin.imports.youtrack.YouTrackModule</moduleClass>
|
||||
</properties>
|
||||
</project>
|
||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user